diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-04-14 01:49:49 +0200 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-04-14 01:49:49 +0200 |
commit | 20d88924fd6a3a5d15b521441a414aa3f8121e79 (patch) | |
tree | 2477c8c150048bdc580a6fe6000eb62d6db89b6f /module/plugins/hoster/UploadingCom.py | |
parent | Update DepositfilesCom.py (diff) | |
parent | [UnSkipOnFail] Typo (diff) | |
download | pyload-20d88924fd6a3a5d15b521441a414aa3f8121e79.tar.xz |
Merge pull request #1 from pyload/stable
Sync
Diffstat (limited to 'module/plugins/hoster/UploadingCom.py')
-rw-r--r-- | module/plugins/hoster/UploadingCom.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/UploadingCom.py b/module/plugins/hoster/UploadingCom.py index 164b7b243..d0e0b1fd7 100644 --- a/module/plugins/hoster/UploadingCom.py +++ b/module/plugins/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,7 +92,7 @@ class UploadingCom(SimpleHoster): else: self.error(_("No URL")) - self.download(url) + self.link = url getInfo = create_getInfo(UploadingCom) |