summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/CatShareNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/CatShareNet.py')
-rw-r--r--module/plugins/hoster/CatShareNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/CatShareNet.py b/module/plugins/hoster/CatShareNet.py
index 37b194054..0efe0717c 100644
--- a/module/plugins/hoster/CatShareNet.py
+++ b/module/plugins/hoster/CatShareNet.py
@@ -42,9 +42,9 @@ class CatShareNet(SimpleHoster):
def handle_free(self, pyfile):
- recaptcha = ReCaptcha(pyfile)
+ self.captcha = ReCaptcha(pyfile)
- response, challenge = recaptcha.challenge()
+ response, challenge = self.captcha.challenge()
self.data = self.load(pyfile.url,
post={'recaptcha_challenge_field': challenge,
'recaptcha_response_field' : response})