summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/CrockoCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/CrockoCom.py')
-rw-r--r--module/plugins/hoster/CrockoCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/CrockoCom.py b/module/plugins/hoster/CrockoCom.py
index 59543e6c0..2205759e8 100644
--- a/module/plugins/hoster/CrockoCom.py
+++ b/module/plugins/hoster/CrockoCom.py
@@ -56,10 +56,10 @@ class CrockoCom(SimpleHoster):
action, form = m.groups()
inputs = dict(re.findall(self.FORM_INPUT_PATTERN, form))
- recaptcha = ReCaptcha(pyfile)
+ self.captcha = ReCaptcha(pyfile)
- inputs['recaptcha_response_field'], inputs['recaptcha_challenge_field'] = recaptcha.challenge()
+ inputs['recaptcha_response_field'], inputs['recaptcha_challenge_field'] = self.captcha.challenge()
self.download(action, post=inputs)
- if self.scan_download({'captcha': recaptcha.KEY_AJAX_PATTERN}):
+ if self.scan_download({'captcha': self.captcha.KEY_AJAX_PATTERN}):
self.retry_captcha()