capmonster-python 2.6.2__tar.gz → 3.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/PKG-INFO +1 -1
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/__init__.py +1 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/turnstile.py +3 -2
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python.egg-info/PKG-INFO +1 -1
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/setup.py +1 -1
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/LICENSE +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/README.md +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/capmonster.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/compleximage.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/datadome.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/fun_captcha.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/geetest.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/hcaptcha.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/image_to_text.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/recaptcha_v2.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/recaptcha_v2_enterprise.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/recaptcha_v3.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/utils.py +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python.egg-info/SOURCES.txt +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python.egg-info/dependency_links.txt +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python.egg-info/requires.txt +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python.egg-info/top_level.txt +0 -0
- {capmonster_python-2.6.2 → capmonster_python-3.0.0}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from .capmonster import Proxy
|
|
1
|
+
from .capmonster import Proxy, UserAgent
|
|
2
2
|
from typing import Union
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class TurnstileTask(Proxy):
|
|
5
|
+
class TurnstileTask(UserAgent, Proxy):
|
|
6
6
|
def __init__(self, client_key):
|
|
7
7
|
super(TurnstileTask, self).__init__(client_key)
|
|
8
8
|
|
|
@@ -16,6 +16,7 @@ class TurnstileTask(Proxy):
|
|
|
16
16
|
"websiteKey": website_key
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
data, is_user_agent = self._add_user_agent(data)
|
|
19
20
|
data, is_proxy = self._is_proxy_task(data)
|
|
20
21
|
if no_cache:
|
|
21
22
|
data["task"]["nocache"] = no_cache
|
|
@@ -7,7 +7,7 @@ with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
|
|
|
7
7
|
|
|
8
8
|
setup(
|
|
9
9
|
name="capmonster_python",
|
|
10
|
-
version="
|
|
10
|
+
version="3.0.0",
|
|
11
11
|
packages=["capmonster_python"],
|
|
12
12
|
url="https://github.com/alperensert/capmonster_python",
|
|
13
13
|
long_description=long_description,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python/recaptcha_v2_enterprise.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{capmonster_python-2.6.2 → capmonster_python-3.0.0}/capmonster_python.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|