diff options
author | 2015-04-10 14:36:59 +0200 | |
---|---|---|
committer | 2015-04-10 14:36:59 +0200 | |
commit | 1e6846b3c435b0d71be83670d09bd019a84823ec (patch) | |
tree | e7a93e2a5583e50a1a6a8bff4ac1b84e4a230782 /module/plugins/hoster/UnibytesCom.py | |
parent | [SimpleHoster] Fix https://github.com/pyload/pyload/issues/1341 (diff) | |
download | pyload-1e6846b3c435b0d71be83670d09bd019a84823ec.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/UnibytesCom.py')
-rw-r--r-- | module/plugins/hoster/UnibytesCom.py | 6 |
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) |