summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/ReCaptcha.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-04 20:09:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-04 20:09:55 +0200
commitcf6531b2c87fea99fd03884636bac4c80d1b475d (patch)
treec39125695c85662d2279af57082b36e1718d574a /module/plugins/captcha/ReCaptcha.py
parentFixpack (2) (diff)
downloadpyload-cf6531b2c87fea99fd03884636bac4c80d1b475d.tar.xz
Fixpack (3)
Diffstat (limited to 'module/plugins/captcha/ReCaptcha.py')
-rw-r--r--module/plugins/captcha/ReCaptcha.py4
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):