summaryrefslogtreecommitdiffstats
path: root/download.py
diff options
context:
space:
mode:
Diffstat (limited to 'download.py')
-rw-r--r--download.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/download.py b/download.py
index d892608..63040c9 100644
--- a/download.py
+++ b/download.py
@@ -58,6 +58,8 @@ def get_thread_links(baseurl):
else:
"\rOpening of", url, "did not succeed, trying next one..."
i += 1
+
+ progress.complete()
return myparser.get_hyperlinks()
def get_image_links(baseurl, t = []):
@@ -87,6 +89,7 @@ def get_image_links(baseurl, t = []):
print "\rOpening of", img_url, "did not succeed, trying next one..."
i += 1
+ progress.complete()
return mysubparser.get_hyperlinks()
def get_images(t = []):
@@ -108,6 +111,8 @@ def get_images(t = []):
else:
print "\rNot downloading", link, "already downloaded"
i += 1
+
+ progress.complete()
if __name__ == "__main__":
# Get a file-like object for the 4chan.org w/imgboard