diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 13:29:12 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 13:29:12 +0200 |
commit | c9b42f02f83a95d7741eee96247466d3b610b159 (patch) | |
tree | ba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/hoster/UnibytesCom.py | |
parent | [Dereferer] Don't preload (diff) | |
download | pyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz |
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/UnibytesCom.py')
-rw-r--r-- | module/plugins/hoster/UnibytesCom.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/UnibytesCom.py b/module/plugins/hoster/UnibytesCom.py index dcb616ec2..f06b10010 100644 --- a/module/plugins/hoster/UnibytesCom.py +++ b/module/plugins/hoster/UnibytesCom.py @@ -36,7 +36,7 @@ class UnibytesCom(SimpleHoster): for _i in xrange(3): self.log_debug(action, post_data) - self.html = self.load(urlparse.urljoin(domain, action), + self.data = self.load(urlparse.urljoin(domain, action), post=post_data, redirect=False) @@ -45,12 +45,12 @@ class UnibytesCom(SimpleHoster): self.link = m.group(1) break - if '>Somebody else is already downloading using your IP-address<' in self.html: + if '>Somebody else is already downloading using your IP-address<' in self.data: self.wait(10 * 60, True) self.restart() if post_data['step'] == "last": - m = re.search(self.LINK_FREE_PATTERN, self.html) + m = re.search(self.LINK_FREE_PATTERN, self.data) if m is not None: self.captcha.correct() self.link = m.group(1) @@ -62,7 +62,7 @@ class UnibytesCom(SimpleHoster): action, post_data = self.parse_html_form('id="stepForm"') if last_step == "timer": - m = re.search(self.WAIT_PATTERN, self.html) + m = re.search(self.WAIT_PATTERN, self.data) self.wait(m.group(1) if m else 60, False) elif last_step in ("captcha", "last"): |