Skip to content

Commit efe479d

Browse files
committed
docs updated
1 parent 991e41a commit efe479d

13 files changed

Lines changed: 35 additions & 25 deletions

File tree

docs/modules/aws-waf/example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.aws_waf.AwsWaf
12-
:members:
12+
:members:
13+
:inherited-members:

docs/modules/cloudflare/example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.cloudflare.Cloudflare
12-
:members:
12+
:members:
13+
:inherited-members:

docs/modules/datadome/example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.datadome_slider.DatadomeSlider
12-
:members:
12+
:members:
13+
:inherited-members:

docs/modules/friendly/example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.friendly_captcha.FriendlyCaptcha
12-
:members:
12+
:members:
13+
:inherited-members:

docs/modules/gee-test/example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.gee_test.GeeTest
12-
:members:
12+
:members:
13+
:inherited-members:
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ImageToText
2-
=============
2+
===========
33

44
To import this module:
55

@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.image_to_text.ImageToText
12-
:members:
12+
:members:
13+
:inherited-members:

docs/modules/mt-captcha/example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.mt_captcha.MtCaptcha
12-
:members:
12+
:members:
13+
:inherited-members:

docs/modules/re-captcha/example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.recaptcha.ReCaptcha
12-
:members:
12+
:members:
13+
:inherited-members:

docs/modules/yandex/example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ To import this module:
99
1010
1111
.. autoclass:: python3_capsolver.yandex.YandexCaptcha
12-
:members:
12+
:members:
13+
:inherited-members:

src/python3_capsolver/core/base.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Dict
1+
from typing import Any, Dict
22

33
from python3_capsolver.core.enum import CaptchaTypeEnm
44
from python3_capsolver.core.serializer import TaskSer
@@ -41,15 +41,15 @@ def __init__(
4141
self._captcha_handling_instrument = CaptchaInstrument()
4242
self.sleep_time = sleep_time
4343

44-
def captcha_handler(self, task_payload: Dict) -> Dict[str, str]:
44+
def captcha_handler(self, task_payload: Dict) -> Dict[str, Any]:
4545
"""
4646
Synchronous method for captcha solving
4747
4848
Args:
4949
task_payload: Some additional parameters that will be used in creating the task
50-
and will be passed to the payload under ``task`` key.
51-
Like ``proxyLogin``, ``proxyPassword`` and etc. - more info in service docs
52-
50+
and will be passed to the payload under ``task`` key.
51+
Like ``websiteURL``, ``image``, ``proxyPassword``, ``websiteKey`` and etc.
52+
more info in service docs
5353
5454
Returns:
5555
Dict with full server response
@@ -61,14 +61,15 @@ def captcha_handler(self, task_payload: Dict) -> Dict[str, str]:
6161
self._captcha_handling_instrument = SIOCaptchaInstrument(captcha_params=self)
6262
return self._captcha_handling_instrument.processing_captcha()
6363

64-
async def aio_captcha_handler(self, task_payload: Dict) -> Dict[str, str]:
64+
async def aio_captcha_handler(self, task_payload: Dict) -> Dict[str, Any]:
6565
"""
6666
Asynchronous method for captcha solving
6767
6868
Args:
6969
task_payload: Some additional parameters that will be used in creating the task
70-
and will be passed to the payload under ``task`` key.
71-
Like ``proxyLogin``, ``proxyPassword`` and etc. - more info in service docs
70+
and will be passed to the payload under ``task`` key.
71+
Like ``websiteURL``, ``image``, ``proxyPassword``, ``websiteKey`` and etc.
72+
more info in service docs
7273
7374
Returns:
7475
Dict with full server response

0 commit comments

Comments
 (0)