summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()