summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FastshareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 13:29:12 +0200
commitc9b42f02f83a95d7741eee96247466d3b610b159 (patch)
treeba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/hoster/FastshareCz.py
parent[Dereferer] Don't preload (diff)
downloadpyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/FastshareCz.py')
-rw-r--r--module/plugins/hoster/FastshareCz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py
index b1aeb3a2f..be6219d78 100644
--- a/module/plugins/hoster/FastshareCz.py
+++ b/module/plugins/hoster/FastshareCz.py
@@ -36,11 +36,11 @@ class FastshareCz(SimpleHoster):
def check_errors(self):
- if self.SLOT_ERROR in self.html:
+ if self.SLOT_ERROR in self.data:
errmsg = self.info['error'] = _("No free slots")
self.retry(12, 60, errmsg)
- if self.CREDIT_ERROR in self.html:
+ if self.CREDIT_ERROR in self.data:
errmsg = self.info['error'] = _("Not enough traffic left")
self.log_warning(errmsg)
self.restart(premium=False)
@@ -49,7 +49,7 @@ class FastshareCz(SimpleHoster):
def handle_free(self, pyfile):
- m = re.search(self.FREE_URL_PATTERN, self.html)
+ m = re.search(self.FREE_URL_PATTERN, self.data)
if m is not None:
action, captcha_src = m.groups()
else: