capmonster-python 3.1.0__tar.gz → 3.2.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-3.1.0 → capmonster_python-3.2.0}/PKG-INFO +1 -1
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/__init__.py +1 -0
- capmonster_python-3.2.0/capmonster_python/aws_waf.py +22 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python.egg-info/PKG-INFO +1 -1
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python.egg-info/SOURCES.txt +1 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/setup.py +1 -1
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/LICENSE +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/README.md +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/capmonster.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/compleximage.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/datadome.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/fun_captcha.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/geetest.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/hcaptcha.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/image_to_text.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/recaptcha_v2.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/recaptcha_v2_enterprise.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/recaptcha_v3.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/tendi.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/turnstile.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python/utils.py +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python.egg-info/dependency_links.txt +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python.egg-info/requires.txt +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python.egg-info/top_level.txt +0 -0
- {capmonster_python-3.1.0 → capmonster_python-3.2.0}/setup.cfg +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from .capmonster import Capmonster
|
|
2
|
+
|
|
3
|
+
class AmazonWafTask(Capmonster):
|
|
4
|
+
def __init__(self, client_key):
|
|
5
|
+
super(AmazonWafTask, self).__init__(client_key)
|
|
6
|
+
|
|
7
|
+
def create_task(self, website_url: str, website_key: str, challenge_script: str, captcha_script: str,
|
|
8
|
+
context: str, iv: str, cookieSolution: bool = False):
|
|
9
|
+
data = {
|
|
10
|
+
"clientKey": self._client_key,
|
|
11
|
+
"task": {
|
|
12
|
+
"type": "AmazonTaskProxyless",
|
|
13
|
+
"websiteURL": website_url,
|
|
14
|
+
"websiteKey": website_key,
|
|
15
|
+
"challengeScript": challenge_script,
|
|
16
|
+
"captchaScript": captcha_script,
|
|
17
|
+
"context": context,
|
|
18
|
+
"iv": iv,
|
|
19
|
+
"cookieSolution": cookieSolution
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return self._make_request("createTask", data).get("taskId")
|
|
@@ -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="3.
|
|
10
|
+
version="3.2.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-3.1.0 → capmonster_python-3.2.0}/capmonster_python/recaptcha_v2_enterprise.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{capmonster_python-3.1.0 → capmonster_python-3.2.0}/capmonster_python.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|