summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UnibytesCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-10 14:36:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-10 14:36:59 +0200
commit1e6846b3c435b0d71be83670d09bd019a84823ec (patch)
treee7a93e2a5583e50a1a6a8bff4ac1b84e4a230782 /module/plugins/hoster/UnibytesCom.py
parent[SimpleHoster] Fix https://github.com/pyload/pyload/issues/1341 (diff)
downloadpyload-1e6846b3c435b0d71be83670d09bd019a84823ec.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/UnibytesCom.py')
-rw-r--r--module/plugins/hoster/UnibytesCom.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/UnibytesCom.py b/module/plugins/hoster/UnibytesCom.py
index 7753f1264..14447b0b0 100644
--- a/module/plugins/hoster/UnibytesCom.py
+++ b/module/plugins/hoster/UnibytesCom.py
@@ -42,7 +42,7 @@ class UnibytesCom(SimpleHoster):
m = re.search(r'location:\s*(\S+)', self.req.http.header, re.I)
if m:
- url = m.group(1)
+ self.link = m.group(1)
break
if '>Somebody else is already downloading using your IP-address<' in self.html:
@@ -52,7 +52,7 @@ class UnibytesCom(SimpleHoster):
if post_data['step'] == 'last':
m = re.search(self.LINK_FREE_PATTERN, self.html)
if m:
- url = m.group(1)
+ self.link = m.group(1)
self.correctCaptcha()
break
else:
@@ -73,7 +73,5 @@ class UnibytesCom(SimpleHoster):
self.req.http.c.setopt(FOLLOWLOCATION, 1)
- self.download(url)
-
getInfo = create_getInfo(UnibytesCom)