diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-04 20:09:55 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-04 20:09:55 +0200 |
commit | cf6531b2c87fea99fd03884636bac4c80d1b475d (patch) | |
tree | c39125695c85662d2279af57082b36e1718d574a /module/plugins/captcha/ReCaptcha.py | |
parent | Fixpack (2) (diff) | |
download | pyload-cf6531b2c87fea99fd03884636bac4c80d1b475d.tar.xz |
Fixpack (3)
Diffstat (limited to 'module/plugins/captcha/ReCaptcha.py')
-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 a3ac52cb1..379956be6 100644 --- a/module/plugins/captcha/ReCaptcha.py +++ b/module/plugins/captcha/ReCaptcha.py @@ -23,8 +23,8 @@ class ReCaptcha(CaptchaService): ("zapp-brannigan", "fuerst.reinje@web.de")] - KEY_V1_PATTERN = r'(?:recaptcha(?:/api|\.net)/(?:challenge|noscript)\?k=|Recaptcha\.create\s*\(\s*["\'])([\w-]+)' - KEY_V2_PATTERN = r'(?:data-sitekey=["\']|["\']sitekey["\']:\s*["\'])([\w-]+)' + KEY_V1_PATTERN = r'(?:recaptcha(?:/api|\.net)/(?:challenge|noscript)\?k=|Recaptcha\.create\s*\(\s*["\'])([\w\-]+)' + KEY_V2_PATTERN = r'(?:data-sitekey=["\']|["\']sitekey["\']:\s*["\'])([\w\-]+)' def detect_key(self, data=None): |