diff options
author | ryuslash | 2010-02-12 00:34:36 +0100 |
---|---|---|
committer | ryuslash | 2010-02-12 00:34:36 +0100 |
commit | 9ed19eae00538b2ec4f24dd298737e27139d8b2a (patch) | |
tree | e582a623d89347424a05b8307318b98426ce4e74 /4grab.py | |
parent | d41ab5335e9bc1cc9a7a0c1ec805f3b88b273bbf (diff) | |
download | 4grab-9ed19eae00538b2ec4f24dd298737e27139d8b2a.tar.gz 4grab-9ed19eae00538b2ec4f24dd298737e27139d8b2a.zip |
Who knows what the hell I did this time
Diffstat (limited to '4grab.py')
-rwxr-xr-x | 4grab.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,6 +29,7 @@ base_url = "http://boards.4chan.org/" parser = optparse.OptionParser() 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 @@ -46,12 +47,14 @@ def walk_with_wizard(baseurl): else: thread = inp inp = raw_input("Which category is this thread in? ") + print wzrd_msg t = download.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 = download.get_thread_links(baseurl) t = download.get_image_links(baseurl, t) (skipped, failed, downloaded, total) = download.get_images(t) |