diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/DlFreeFr.py | 2 | ||||
-rw-r--r-- | module/plugins/internal/CaptchaService.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/DlFreeFr.py b/module/plugins/hoster/DlFreeFr.py index 5bbf48e9a..68ffd7619 100644 --- a/module/plugins/hoster/DlFreeFr.py +++ b/module/plugins/hoster/DlFreeFr.py @@ -29,7 +29,7 @@ class CustomBrowser(Browser): return Browser.load(self, *args, **kwargs) -class AdYouLike(): +class AdYouLike: """ Class to support adyoulike captcha service """ diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py index c2c66ed31..b2f73e4ea 100644 --- a/module/plugins/internal/CaptchaService.py +++ b/module/plugins/internal/CaptchaService.py @@ -4,7 +4,7 @@ import re from random import random -class CaptchaService(): +class CaptchaService: __name__ = "CaptchaService" __version__ = "0.05" @@ -17,7 +17,7 @@ class CaptchaService(): self.plugin = plugin -class ReCaptcha(): +class ReCaptcha: RECAPTCHA_KEY_PATTERN = r"https?://(?:www\.)?google\.com/recaptcha/api/challenge\?k=(?P<key>\w+)" RECAPTCHA_KEY_AJAX_PATTERN = r"Recaptcha\.create\s*\(\s*[\"'](?P<key>\w+)[\"']\s*," |