summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-03-24 19:30:48 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-03-24 19:30:48 +0100
commit969b99f02f7db10103eb426e0a31e569998a82ae (patch)
tree94639db498437afcf85971b5b9848831c4bde211
parentMerge pull request #2395 from sodd/fix-ulozto-captcha (diff)
downloadpyload-969b99f02f7db10103eb426e0a31e569998a82ae.tar.xz
[Http] fix #2394
-rw-r--r--module/plugins/hoster/Http.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/module/plugins/hoster/Http.py b/module/plugins/hoster/Http.py
index 777806641..3309e8a32 100644
--- a/module/plugins/hoster/Http.py
+++ b/module/plugins/hoster/Http.py
@@ -29,13 +29,8 @@ class Http(Hoster):
url = re.sub(r'^(jd|py)', "http", pyfile.url)
netloc = urlparse.urlparse(url).netloc
- link = self.isresource(url)
-
- if not link:
- return
-
for _i in xrange(2):
- self.download(link, ref=False, disposition=True)
+ self.download(url, ref=False, disposition=True)
if self.req.code in (404, 410):
self.offline()