From b5eb3dca547b1b8fcaf414cce36e706f48b395b8 Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 30 Oct 2017 00:04:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B0=D1=8F=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python3_anticaptcha/NoCaptchaTask.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python3_anticaptcha/NoCaptchaTask.py b/python3_anticaptcha/NoCaptchaTask.py index b659074..2c63f65 100644 --- a/python3_anticaptcha/NoCaptchaTask.py +++ b/python3_anticaptcha/NoCaptchaTask.py @@ -1,5 +1,6 @@ import requests import time + from .config import create_task_url, get_result_url, app_key, user_agent_data @@ -30,6 +31,9 @@ class NoCaptchaTask: }, } + # пайлоад для получения ответа сервиса + self.result_payload = {"clientKey": anticaptcha_key} + # заполнить пайлоад остальными аргументами if kwargs: for key in kwargs: self.task_payload['task'].update({key: kwargs[key]})