From aa6e9a25714fe429cffc02f44b0f73a673ed85f8 Mon Sep 17 00:00:00 2001 From: GammaC0de Date: Mon, 4 Jan 2016 00:18:01 +0200 Subject: [Captcha] parameter decode= is meaningless here --- module/plugins/internal/Captcha.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins') 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) -- cgit v1.2.3