summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-10 23:16:26 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-10 23:16:26 +0100
commit7c50993e16a6adaa4bdb5f615c9e6cf279c16316 (patch)
tree3f247b49435bc383c24f649f1d34a0ad98096ece /module/network
parentbetter uploaded pattern (diff)
downloadpyload-7c50993e16a6adaa4bdb5f615c9e6cf279c16316.tar.xz
fixed regex for uploaded.to
Diffstat (limited to 'module/network')
-rwxr-xr-xmodule/network/Request.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 6799563ac..ce07d9c90 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -114,12 +114,10 @@ class Request:
if get:
get = urllib.urlencode(get)
+ url = "%s?%s" % (url, get)
else:
get = ""
- url = "%s?%s" % (url, get)
-
-
if self.curl:
self.pycurl.setopt(pycurl.URL, url)
@@ -219,11 +217,10 @@ class Request:
if get:
get = urllib.urlencode(get)
+ url = "%s?%s" % (url, get)
else:
get = ""
- url = "%s?%s" % (url, get)
-
if self.curl:
file_temp = file_name + ".part"