diff options
author | 2015-04-14 01:49:49 +0200 | |
---|---|---|
committer | 2015-04-14 01:49:49 +0200 | |
commit | 20d88924fd6a3a5d15b521441a414aa3f8121e79 (patch) | |
tree | 2477c8c150048bdc580a6fe6000eb62d6db89b6f /module/plugins/hoster/UnibytesCom.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/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) |