From 305e8faae3609fc61cf7612fd080fa4c1dd90eca Mon Sep 17 00:00:00 2001 From: Andrei Date: Tue, 24 Oct 2017 14:23:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D1=81?= =?UTF-8?q?=D0=B8=D0=BD=D1=82=D0=B0=D0=BA=D1=81=D0=B8=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python3_anticaptcha/NoCaptchaTask.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/python3_anticaptcha/NoCaptchaTask.py b/python3_anticaptcha/NoCaptchaTask.py index cd9d792..7f30ba6 100644 --- a/python3_anticaptcha/NoCaptchaTask.py +++ b/python3_anticaptcha/NoCaptchaTask.py @@ -23,15 +23,16 @@ class NoCaptchaTask: #TODO заполнить пайлоад для решения рекапчи self.task_payload = {"clientKey": self.ANTIKAPTCHA_KEY, "task": - { - "type": "NoCaptchaTask", - "website_url": self.website_url, - "website_key": self.website_key, - "proxy_type": self.proxy_type, - "proxy_adress": "", - "proxy_login": "", - "proxy_password": "" - }} + { + "type": "NoCaptchaTask", + "website_url": self.website_url, + "website_key": self.website_key, + "proxy_type": self.proxy_type, + "proxy_adress": "", + "proxy_login": "", + "proxy_password": "" + } + } if kwargs: for key in kwargs: