From c9b42f02f83a95d7741eee96247466d3b610b159 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 23 Oct 2015 13:29:12 +0200 Subject: self.html -> self.data --- module/plugins/hoster/CloudzillaTo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'module/plugins/hoster/CloudzillaTo.py') diff --git a/module/plugins/hoster/CloudzillaTo.py b/module/plugins/hoster/CloudzillaTo.py index 6f6242eec..cf276e6dd 100644 --- a/module/plugins/hoster/CloudzillaTo.py +++ b/module/plugins/hoster/CloudzillaTo.py @@ -27,24 +27,24 @@ class CloudzillaTo(SimpleHoster): def check_errors(self): - if re.search(self.PASSWORD_PATTERN, self.html): + if re.search(self.PASSWORD_PATTERN, self.data): pw = self.get_password() if pw: - self.html = self.load(self.pyfile.url, get={'key': pw}) + self.data = self.load(self.pyfile.url, get={'key': pw}) else: self.fail(_("Missing password")) - if re.search(self.PASSWORD_PATTERN, self.html): + if re.search(self.PASSWORD_PATTERN, self.data): self.retry(msg="Wrong password") else: return super(CloudzillaTo, self).check_errors() def handle_free(self, pyfile): - self.html = self.load("http://www.cloudzilla.to/generateticket/", + self.data = self.load("http://www.cloudzilla.to/generateticket/", post={'file_id': self.info['pattern']['ID'], 'key': self.get_password()}) - ticket = dict(re.findall(r'<(.+?)>([^<>]+?)([^<>]+?)