Skip to content

Commit 2110674

Browse files
committed
Update aws_waf.py
1 parent 6b5302c commit 2110674

1 file changed

Lines changed: 0 additions & 30 deletions

File tree

src/python3_capsolver/aws_waf.py

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
from .core.base import CaptchaParams
44
from .core.enum import AntiAwsWafTaskTypeEnm
5-
from .core.aio_captcha_instrument import AIOCaptchaInstrument
6-
from .core.sio_captcha_instrument import SIOCaptchaInstrument
75

86

97
class AwsWaf(CaptchaParams):
@@ -94,31 +92,3 @@ def __init__(
9492
f"""Invalid `captcha_type` parameter set for `{self.__class__.__name__}`,
9593
available - {AntiAwsWafTaskTypeEnm.list_values()}"""
9694
)
97-
98-
def captcha_handler(self) -> dict:
99-
"""
100-
Sync solving method
101-
102-
Returns:
103-
Dict with full service response
104-
105-
Notes:
106-
Check class docstring for more info
107-
"""
108-
self.create_task_payload.task = {**self.task_params}
109-
self._captcha_handling_instrument = SIOCaptchaInstrument(captcha_params=self)
110-
return self._captcha_handling_instrument.processing_captcha()
111-
112-
async def aio_captcha_handler(self) -> dict:
113-
"""
114-
Async method for captcha solving
115-
116-
Returns:
117-
Dict with full service response
118-
119-
Notes:
120-
Check class docstring for more info
121-
"""
122-
self.create_task_payload.task = {**self.task_params}
123-
self._captcha_handling_instrument = AIOCaptchaInstrument(captcha_params=self)
124-
return await self._captcha_handling_instrument._aio_processing_captcha()

0 commit comments

Comments
 (0)