summaryrefslogtreecommitdiffstats
path: root/download.py
diff options
context:
space:
mode:
authorGravatar ryuslash2010-02-09 02:10:17 +0100
committerGravatar ryuslash2010-02-09 02:10:17 +0100
commit1b09267876e51c0456c062e10ab70c0f7eba6c34 (patch)
tree8afb37f35b3563165aa7a41d32f2120620b5b811 /download.py
parent91e0b5dc665679e30cfd2114a68adce9af04a3e9 (diff)
download4grab-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.py4
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: