diff options
author | ryuslash | 2010-02-09 02:10:17 +0100 |
---|---|---|
committer | ryuslash | 2010-02-09 02:10:17 +0100 |
commit | 1b09267876e51c0456c062e10ab70c0f7eba6c34 (patch) | |
tree | 8afb37f35b3563165aa7a41d32f2120620b5b811 /download.py | |
parent | 91e0b5dc665679e30cfd2114a68adce9af04a3e9 (diff) | |
download | 4grab-1b09267876e51c0456c062e10ab70c0f7eba6c34.tar.gz 4grab-1b09267876e51c0456c062e10ab70c0f7eba6c34.zip |
configuration settings and startfile
Configuration Settings can now be changed with the -e command line argument
execution of 4grab has been moved to 4grab.py, but should also still work with download.py
Diffstat (limited to 'download.py')
-rw-r--r-- | download.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/download.py b/download.py index 003e718..7ab1a43 100644 --- a/download.py +++ b/download.py @@ -19,7 +19,7 @@ def get_thread_links(baseurl): for pagenum in t: progress.show_progress(i) - url = base_url + pagenum + url = baseurl + pagenum tries = 10 while tries > 0: try: @@ -49,7 +49,7 @@ def get_image_links(baseurl, t = []): for link in t: progress.show_progress(i) - img_url = base_url + link + img_url = baseurl + link tries = 10 while tries > 0: try: |