summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/CaptchaService.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 21:14:50 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-22 21:14:50 +0200
commit85ba09f7bd27461ab5900487fd9da705cc7ff3a4 (patch)
tree563c09edc60042074335c538a38b6ce8544b13ad /module/plugins/internal/CaptchaService.py
parentTwo space before function declaration (diff)
downloadpyload-85ba09f7bd27461ab5900487fd9da705cc7ff3a4.tar.xz
[CaptchaService] Update ReCaptcha KEY_PATTERN
Diffstat (limited to 'module/plugins/internal/CaptchaService.py')
-rw-r--r--module/plugins/internal/CaptchaService.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py
index 6d3fc0feb..11b34755b 100644
--- a/module/plugins/internal/CaptchaService.py
+++ b/module/plugins/internal/CaptchaService.py
@@ -7,7 +7,7 @@ from random import random
class CaptchaService:
__name__ = "CaptchaService"
- __version__ = "0.13"
+ __version__ = "0.14"
__description__ = """Base captcha service plugin"""
__license__ = "GPLv3"
@@ -52,14 +52,14 @@ class CaptchaService:
class ReCaptcha(CaptchaService):
__name__ = "ReCaptcha"
- __version__ = "0.06"
+ __version__ = "0.07"
__description__ = """ReCaptcha captcha service plugin"""
__license__ = "GPLv3"
__authors__ = [("pyLoad Team", "admin@pyload.org")]
- KEY_PATTERN = r'recaptcha/api/challenge\?k=(?P<KEY>[\w-]+)'
+ KEY_PATTERN = r'recaptcha(/api|\.net)/(challenge|noscript)\?k=(?P<KEY>[\w-]+)'
KEY_AJAX_PATTERN = r'Recaptcha\.create\s*\(\s*["\'](?P<KEY>[\w-]+)'