summaryrefslogtreecommitdiffstats
path: root/4grab.py
diff options
context:
space:
mode:
Diffstat (limited to '4grab.py')
-rwxr-xr-x4grab.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/4grab.py b/4grab.py
index 7240f16..72d9449 100755
--- a/4grab.py
+++ b/4grab.py
@@ -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)