summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/UploadingCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/UploadingCom.py')
-rw-r--r--pyload/plugin/hoster/UploadingCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/UploadingCom.py b/pyload/plugin/hoster/UploadingCom.py
index 461b0113a..da096eb1f 100644
--- a/pyload/plugin/hoster/UploadingCom.py
+++ b/pyload/plugin/hoster/UploadingCom.py
@@ -53,8 +53,7 @@ class UploadingCom(SimpleHoster):
self.html = self.load('http://uploading.com/files/get/?JsHttpRequest=%d-xml' % timestamp(), post=postData)
url = re.search(r'"link"\s*:\s*"(.*?)"', self.html)
if url:
- url = url.group(1).replace("\\/", "/")
- self.download(url)
+ self.link = url.group(1).replace("\\/", "/")
raise Exception("Plugin defect")
@@ -93,4 +92,4 @@ class UploadingCom(SimpleHoster):
else:
self.error(_("No URL"))
- self.download(url)
+ self.link = url