From 57dfdf885c10a987d952c187874510dcbdcbdf9f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 27 Sep 2014 14:39:05 +0200 Subject: [CatShareNet] Fix missing recaptcha --- module/plugins/hoster/CatShareNet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module') diff --git a/module/plugins/hoster/CatShareNet.py b/module/plugins/hoster/CatShareNet.py index 2bcd261b7..f148a878e 100644 --- a/module/plugins/hoster/CatShareNet.py +++ b/module/plugins/hoster/CatShareNet.py @@ -11,7 +11,7 @@ from module.plugins.internal.CaptchaService import ReCaptcha class CatShareNet(SimpleHoster): __name__ = "CatShareNet" __type__ = "hoster" - __version__ = "0.02" + __version__ = "0.03" __pattern__ = r'http://(?:www\.)?catshare\.net/\w+' @@ -36,6 +36,7 @@ class CatShareNet(SimpleHoster): self.wait(seconds + 1) # solve captcha and send solution + recaptcha = ReCaptcha(self) challenge, code = recaptcha.challenge(self.RECAPTCHA_KEY) self.html = self.load(self.pyfile.url, post={'recaptcha_challenge_field': challenge, 'recaptcha_response_field': code}, -- cgit v1.2.3