diff options
| -rw-r--r-- | module/plugins/internal/CaptchaService.py | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py index 187170660..9d8fd85f2 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.09" +    __version__ = "0.10"      __description__ = """Base captcha service plugin"""      __license__ = "GPLv3" @@ -52,15 +52,15 @@ class CaptchaService:  class ReCaptcha(CaptchaService):      __name__ = "ReCaptcha" -    __version__ = "0.02" +    __version__ = "0.03"      __description__ = """ReCaptcha captcha service plugin"""      __license__ = "GPLv3"      __authors__ = [("pyLoad Team", "admin@pyload.org")] -    KEY_PATTERN = r"https?://(?:www\.)?google\.com/recaptcha/api/challenge\?k=(?P<KEY>\w+?)" -    KEY_AJAX_PATTERN = r"Recaptcha\.create\s*\(\s*[\"'](?P<KEY>\w+)[\"']\s*," +    KEY_PATTERN = r"https?://(?:www\.)?google\.com/recaptcha/api/challenge\?k=(?P<KEY>\w+)" +    KEY_AJAX_PATTERN = r"Recaptcha\.create\s*\(\s*[\"'](?P<KEY>\w+)"      def detect_key(self, html=None): | 
