diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-03-01 01:00:12 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-03-01 01:00:12 +0100 |
commit | fc8fc2267d6d4c3ed48e152304b6d27df787e680 (patch) | |
tree | 79f0d019613791744e49e30d6850c3ad32cab519 /module | |
parent | [misc] fix #2367 (diff) | |
download | pyload-fc8fc2267d6d4c3ed48e152304b6d27df787e680.tar.xz |
[ReCaptcha] Update
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/captcha/ReCaptcha.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/captcha/ReCaptcha.py b/module/plugins/captcha/ReCaptcha.py index 38ff09394..071f7f8b0 100644 --- a/module/plugins/captcha/ReCaptcha.py +++ b/module/plugins/captcha/ReCaptcha.py @@ -29,7 +29,7 @@ except ImportError: class ReCaptcha(CaptchaService): __name__ = 'ReCaptcha' __type__ = 'captcha' - __version__ = '0.25' + __version__ = '0.26' __status__ = 'testing' __description__ = 'ReCaptcha captcha service plugin' @@ -254,7 +254,7 @@ class ReCaptcha(CaptchaService): except (AttributeError, IndexError): self.fail(_("ReCaptcha challenge message not found")) - challenge_msg = re.sub(r'</?\w+?>', "", challenge_msg, 0 , re.I) + challenge_msg = re.sub(r'</?\w+?>', "", challenge_msg) image_url = urlparse.urljoin('http://www.google.com', re.search(r'"(/recaptcha/api2/payload[^"]+)', html).group(1)) |