diff options
author | 2014-10-07 18:57:59 +0200 | |
---|---|---|
committer | 2014-10-07 18:57:59 +0200 | |
commit | b0868ae6446078bacf1635dde5e4ab316b4a94cb (patch) | |
tree | 1f5eb9bf4dfd413b954b2ea87749cd10da19de0e /module/plugins/internal/CaptchaService.py | |
parent | [SimpleCrypter][SimpleHoster] Better exception handling (diff) | |
download | pyload-b0868ae6446078bacf1635dde5e4ab316b4a94cb.tar.xz |
New __authors__ key replaces __author_name__ and __author_mail__ + Whitespaces and EOF fixup
Diffstat (limited to 'module/plugins/internal/CaptchaService.py')
-rw-r--r-- | module/plugins/internal/CaptchaService.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py index b2fba0652..dad537bec 100644 --- a/module/plugins/internal/CaptchaService.py +++ b/module/plugins/internal/CaptchaService.py @@ -10,8 +10,8 @@ class CaptchaService: __version__ = "0.09" __description__ = """Base captcha service plugin""" - __author_name__ = "pyLoad Team" - __author_mail__ = "admin@pyload.org" + __authors__ = [("pyLoad Team", "admin@pyload.org")] + KEY_PATTERN = None @@ -54,8 +54,7 @@ class ReCaptcha(CaptchaService): __version__ = "0.02" __description__ = """ReCaptcha captcha service plugin""" - __author_name__ = "pyLoad Team" - __author_mail__ = "admin@pyload.org" + __authors__ = [("pyLoad Team", "admin@pyload.org")] KEY_PATTERN = r"https?://(?:www\.)?google\.com/recaptcha/api/challenge\?k=(?P<KEY>\w+?)" @@ -115,8 +114,7 @@ class AdsCaptcha(CaptchaService): __version__ = "0.02" __description__ = """AdsCaptcha captcha service plugin""" - __author_name__ = "pyLoad Team" - __author_mail__ = "admin@pyload.org" + __authors__ = [("pyLoad Team", "admin@pyload.org")] ID_PATTERN = r'http://api\.adscaptcha\.com/Get\.aspx\?[^"\']*CaptchaId=(?P<ID>\d+)' @@ -177,8 +175,7 @@ class SolveMedia(CaptchaService): __version__ = "0.02" __description__ = """SolveMedia captcha service plugin""" - __author_name__ = "pyLoad Team" - __author_mail__ = "admin@pyload.org" + __authors__ = [("pyLoad Team", "admin@pyload.org")] KEY_PATTERN = r'http://api\.solvemedia\.com/papi/challenge\.(no)?script\?k=(?P<KEY>.+?)"' |