diff options
author | 2015-07-21 22:53:37 +0200 | |
---|---|---|
committer | 2015-07-21 22:53:37 +0200 | |
commit | 027cb529d79558de19c47da88a782b31745a65c9 (patch) | |
tree | 18ab9a8568cee2d07e6fc0dc8f9c03202245c594 /module/plugins/hoster/FileboomMe.py | |
parent | New __status__ magic key (diff) | |
download | pyload-027cb529d79558de19c47da88a782b31745a65c9.tar.xz |
New Captcha skeleton
Diffstat (limited to 'module/plugins/hoster/FileboomMe.py')
-rw-r--r-- | module/plugins/hoster/FileboomMe.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/FileboomMe.py b/module/plugins/hoster/FileboomMe.py index 97414cbf1..8d0f5d89c 100644 --- a/module/plugins/hoster/FileboomMe.py +++ b/module/plugins/hoster/FileboomMe.py @@ -56,7 +56,7 @@ class FileboomMe(SimpleHoster): m = re.search(self.CAPTCHA_PATTERN, self.html) if m: - captcha = self.decrypt_captcha(urljoin(pyfile.url, m.group(1))) + captcha = self.captcha.decrypt_image(urljoin(pyfile.url, m.group(1))) self.html = self.load(post_url, post={'CaptchaForm[code]' : captcha, @@ -65,7 +65,7 @@ class FileboomMe(SimpleHoster): 'uniqueId' : uniqueId}) if 'The verification code is incorrect' in self.html: - self.invalid_captcha() + self.captcha.invalid() else: self.check_errors() @@ -79,7 +79,7 @@ class FileboomMe(SimpleHoster): self.link = urljoin(pyfile.url, m.group(0)) else: - self.invalid_captcha() + self.captcha.invalid() break |