diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-21 22:53:37 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-21 22:53:37 +0200 |
commit | 027cb529d79558de19c47da88a782b31745a65c9 (patch) | |
tree | 18ab9a8568cee2d07e6fc0dc8f9c03202245c594 /module/plugins/hoster/ExtabitCom.py | |
parent | New __status__ magic key (diff) | |
download | pyload-027cb529d79558de19c47da88a782b31745a65c9.tar.xz |
New Captcha skeleton
Diffstat (limited to 'module/plugins/hoster/ExtabitCom.py')
-rw-r--r-- | module/plugins/hoster/ExtabitCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ExtabitCom.py b/module/plugins/hoster/ExtabitCom.py index 73633fd50..3b0367467 100644 --- a/module/plugins/hoster/ExtabitCom.py +++ b/module/plugins/hoster/ExtabitCom.py @@ -55,10 +55,10 @@ class ExtabitCom(SimpleHoster): get_data['capture'], get_data['challenge'] = recaptcha.challenge(captcha_key) res = json_loads(self.load("http://extabit.com/file/%s/" % fileID, get=get_data)) if "ok" in res: - self.correct_captcha() + self.captcha.correct() break else: - self.invalid_captcha() + self.captcha.invalid() else: self.fail(_("Invalid captcha")) else: |