diff options
Diffstat (limited to 'module/plugins/ReCaptcha.py')
-rw-r--r-- | module/plugins/ReCaptcha.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/ReCaptcha.py b/module/plugins/ReCaptcha.py index 23e1064ce..d29530a64 100644 --- a/module/plugins/ReCaptcha.py +++ b/module/plugins/ReCaptcha.py @@ -6,9 +6,7 @@ class ReCaptcha(): def challenge(self, id): js = self.plugin.req.load("http://api.recaptcha.net/challenge", get={"k":id}, cookies=True) - print js - challenge = re.search("challenge : '(.*?)',", js).group(1) - server = re.search("server : '(.*?)',", js).group(1) + try: challenge = re.search("challenge : '(.*?)',", js).group(1) server = re.search("server : '(.*?)',", js).group(1) |