diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2016-01-03 23:18:01 +0100 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2016-01-03 23:18:01 +0100 |
commit | aa6e9a25714fe429cffc02f44b0f73a673ed85f8 (patch) | |
tree | f3770a058785e91e11992d4a994f650541742df6 | |
parent | [ExternalScripts] fix #2259 (diff) | |
download | pyload-aa6e9a25714fe429cffc02f44b0f73a673ed85f8.tar.xz |
[Captcha] parameter decode= is meaningless here
-rw-r--r-- | module/plugins/internal/Captcha.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/Captcha.py b/module/plugins/internal/Captcha.py index 8f96d3fc2..0c25e5650 100644 --- a/module/plugins/internal/Captcha.py +++ b/module/plugins/internal/Captcha.py @@ -12,7 +12,7 @@ from module.plugins.internal.misc import encode class Captcha(Plugin): __name__ = "Captcha" __type__ = "captcha" - __version__ = "0.51" + __version__ = "0.52" __status__ = "stable" __description__ = """Base anti-captcha plugin""" @@ -41,9 +41,9 @@ class Captcha(Plugin): pass - def decrypt(self, url, get={}, post={}, ref=False, cookies=True, decode=False, req=None, + def decrypt(self, url, get={}, post={}, ref=False, cookies=True, req=None, input_type='jpg', output_type='textual', ocr=True, timeout=120): - img = self.load(url, get=get, post=post, ref=ref, cookies=cookies, decode=decode, req=req or self.pyfile.plugin.req) + img = self.load(url, get=get, post=post, ref=ref, cookies=cookies, decode=False, req=req or self.pyfile.plugin.req) return self.decrypt_image(img, input_type, output_type, ocr, timeout) |