Skip to content

Commit 87636af

Browse files
authored
Merge pull request #192 from AndreiDrang/main
Update fun_captcha.py
2 parents 8a98d5c + 7ce79cb commit 87636af

File tree

8 files changed

+317
-171
lines changed

8 files changed

+317
-171
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
for x in os.walk("src/python3_anticaptcha/"):
1313
sys.path.insert(0, x[0])
1414

15-
from python3_anticaptcha import core, control, turnstile, fun_captcha, image_captcha
15+
from python3_anticaptcha import core, control, gee_test, turnstile, fun_captcha, image_captcha
1616
from python3_anticaptcha.__version__ import __version__
1717

1818
# -- Project information -----------------------------------------------------

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Check our other projects here - `RedPandaDev group <https://red-panda-dev.xyz/bl
2828
modules/turnstile/example.rst
2929
modules/image/example.rst
3030
modules/fun-captcha/example.rst
31+
modules/gee-test/example.rst
3132

3233
.. toctree::
3334
:maxdepth: 2

docs/modules/gee-test/example.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
GeeTest
2+
=======
3+
4+
To import this module:
5+
6+
.. code-block:: python
7+
8+
from python3_anticaptcha.gee_test import GeeTest
9+
10+
11+
.. autoclass:: python3_anticaptcha.gee_test.GeeTest
12+
:members:

src/python3_anticaptcha/GeeTestTask.py

Lines changed: 0 additions & 169 deletions
This file was deleted.

src/python3_anticaptcha/core/base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ def __init__(self, api_key: str, sleep_time: int = 15, *args, **kwargs):
3030

3131
self._captcha_handling_instrument = CaptchaHandler()
3232

33+
@classmethod
34+
def captcha_handler(cls):
35+
pass
36+
37+
@classmethod
38+
def aio_captcha_handler(cls):
39+
pass
40+
3341

3442
class CaptchaHandler:
3543
NO_CAPTCHA_ERR = "You did not send any file, local link or URL."

src/python3_anticaptcha/fun_captcha.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(
3939
proxyPort: Proxy port.
4040
proxyLogin: Proxy login.
4141
proxyPassword: Proxy password.
42-
userAgent: Proxy port.
42+
userAgent: Browser UserAgent.
4343
sleep_time: The waiting time between requests to get the result of the Captcha
4444
4545
Examples:

0 commit comments

Comments
 (0)