summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-27 14:39:05 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-27 14:39:05 +0200
commit57dfdf885c10a987d952c187874510dcbdcbdf9f (patch)
tree0ea1271fae45e8baaca81860bebb2dd8560ef0c7 /module
parent[CatShareNet] Plugin rewritten (diff)
downloadpyload-57dfdf885c10a987d952c187874510dcbdcbdf9f.tar.xz
[CatShareNet] Fix missing recaptcha
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/CatShareNet.py3
1 files changed, 2 insertions, 1 deletions
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},