diff options
author | ryuslash | 2010-03-07 00:31:40 +0100 |
---|---|---|
committer | ryuslash | 2010-03-07 00:31:40 +0100 |
commit | a77b9c9d09fc022beaf140fb0d71443fe3cef501 (patch) | |
tree | b4da8c8fa0c782146006a9b1e2c921fe3225b08c /4grab.py | |
parent | ba6b659fb80e843c1e7062c116a856873e14ad6a (diff) | |
parent | 9ed19eae00538b2ec4f24dd298737e27139d8b2a (diff) | |
download | 4grab-a77b9c9d09fc022beaf140fb0d71443fe3cef501.tar.gz 4grab-a77b9c9d09fc022beaf140fb0d71443fe3cef501.zip |
Merged
Diffstat (limited to '4grab.py')
-rwxr-xr-x | 4grab.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,7 @@ parser = optparse.OptionParser() downloader = download.Downloader(progressbar.Progress) def walk_with_wizard(baseurl): + wzrd_msg = "Pilates! *SHAZAM* Here they come!" print "Alright, let me put on my robe and wizard hat." # Single or all @@ -48,12 +49,14 @@ def walk_with_wizard(baseurl): else: thread = inp inp = raw_input("Which category is this thread in? ") + print wzrd_msg t = downloader.get_image_links("%s%s/res/" % (baseurl, inp), [thread]) else: inp = raw_input("Which category would you like to download? ") config.Configuration().set_category(inp) baseurl = "%s%s/" % (baseurl, config.Configuration().get_category()) + print wzrd_msg t = downloader.get_thread_links(baseurl) t = downloader.get_image_links(baseurl, t) (skipped, failed, downloaded, total) = downloader.get_images(t) |