Update sio_captcha_instrument.py
This commit is contained in:
parent
e48b9dc2d3
commit
54ea5dc232
|
@ -8,7 +8,6 @@ from urllib.parse import urljoin
|
||||||
import requests
|
import requests
|
||||||
from requests.adapters import HTTPAdapter
|
from requests.adapters import HTTPAdapter
|
||||||
|
|
||||||
from .base import CaptchaParams
|
|
||||||
from .enum import SaveFormatsEnm, ResponseStatusEnm
|
from .enum import SaveFormatsEnm, ResponseStatusEnm
|
||||||
from .const import RETRIES, BASE_REQUEST_URL, GET_RESULT_POSTFIX, CREATE_TASK_POSTFIX
|
from .const import RETRIES, BASE_REQUEST_URL, GET_RESULT_POSTFIX, CREATE_TASK_POSTFIX
|
||||||
from .utils import attempts_generator
|
from .utils import attempts_generator
|
||||||
|
@ -23,7 +22,7 @@ class SIOCaptchaInstrument(CaptchaInstrument):
|
||||||
Instrument for working with sync captcha
|
Instrument for working with sync captcha
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, captcha_params: CaptchaParams):
|
def __init__(self, captcha_params: "CaptchaParams"):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.captcha_params = captcha_params
|
self.captcha_params = captcha_params
|
||||||
# prepare session
|
# prepare session
|
||||||
|
|
Loading…
Reference in New Issue