capmonstercloudclient 4.3.0__tar.gz → 4.3.1__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.
- {capmonstercloudclient-4.3.0/capmonstercloudclient.egg-info → capmonstercloudclient-4.3.1}/PKG-INFO +1 -1
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/TenDiCustomTaskRequest.py +9 -4
- capmonstercloudclient-4.3.1/capmonstercloud_client/version.txt +1 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1/capmonstercloudclient.egg-info}/PKG-INFO +1 -1
- capmonstercloudclient-4.3.0/capmonstercloud_client/version.txt +0 -1
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/LICENSE +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/MANIFEST.in +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/README.md +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/CapMonsterCloudClient.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/GetResultTimeouts.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/__init__.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/captchaResult.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/clientOptions.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/exceptions.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requestController.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/AlibabaCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/AltchaCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/AmazonWafRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/BasiliskCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/BinanceTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/CastleCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/ComplexImageTaskBase.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/CustomTaskRequestBase.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/DataDomeCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/FriendlyCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/FuncaptchaComplexImageTask.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/FuncaptchaRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/GeetestRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/HcaptchaComplexImageTask.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/HcaptchaRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/HuntCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/ImageToTextRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/ImpervaCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/MTCaptchaRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/ProsopoTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/RecaptchaComplexImageTask.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/RecaptchaV2EnterpiseRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/RecaptchaV2Request.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/RecaptchaV3EnterpriseRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/RecaptchaV3ProxylessRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/RecognitionComplexImageTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/TemuCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/TspdCustomTaskRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/TurnstileRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/YidunRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/__init__.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/baseRequest.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/baseRequestWithProxy.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/enums.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/proxy_info.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/utils.py +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloudclient.egg-info/SOURCES.txt +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloudclient.egg-info/dependency_links.txt +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloudclient.egg-info/requires.txt +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloudclient.egg-info/top_level.txt +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/pyproject.toml +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/requirements.txt +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/setup.cfg +0 -0
- {capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/setup.py +0 -0
|
@@ -13,20 +13,25 @@ class TenDiCustomTaskRequest(CustomTaskRequestBase):
|
|
|
13
13
|
websiteKey: The captchaAppId (the "aid" value, e.g. "189123456") for
|
|
14
14
|
the target website, found in the page HTML or network traffic.
|
|
15
15
|
metadata: Optional additional parameters for the task. Currently
|
|
16
|
-
supports the "captchaUrl" key
|
|
16
|
+
supports the "captchaUrl" key and the "aidEncrypted" key, whose
|
|
17
|
+
values must be strings. "aidEncrypted" is the single-use Aid value
|
|
18
|
+
obtained from the target website before creating the task; pass it
|
|
19
|
+
only if the website uses Aid.
|
|
17
20
|
"""
|
|
18
21
|
captchaClass: str = Field(default='TenDI', description='The identifier of the custom captcha class to solve.')
|
|
19
22
|
websiteKey: str = Field(description='The captchaAppId (the "aid" value, e.g. "189123456") for the target website, found in the page HTML or network traffic.')
|
|
20
|
-
metadata: Optional[Dict[str, str]] = Field(default=None, description='Optional additional parameters for the task; supports the "captchaUrl"
|
|
23
|
+
metadata: Optional[Dict[str, str]] = Field(default=None, description='Optional additional parameters for the task; supports the "captchaUrl" and "aidEncrypted" keys with string values.')
|
|
21
24
|
|
|
22
25
|
@field_validator('metadata')
|
|
23
26
|
@classmethod
|
|
24
27
|
def validate_metadata(cls, value):
|
|
25
28
|
if value is not None:
|
|
26
|
-
if not set(value.keys()).issubset(set(["captchaUrl"])):
|
|
27
|
-
raise TypeError(f'Allowed keys for metadata are "captchaUrl"')
|
|
29
|
+
if not set(value.keys()).issubset(set(["captchaUrl", "aidEncrypted"])):
|
|
30
|
+
raise TypeError(f'Allowed keys for metadata are "captchaUrl", "aidEncrypted"')
|
|
28
31
|
if value.get('captchaUrl') is not None and not isinstance(value.get('captchaUrl'), str):
|
|
29
32
|
raise TypeError(f'captchaUrl must be str.')
|
|
33
|
+
if value.get('aidEncrypted') is not None and not isinstance(value.get('aidEncrypted'), str):
|
|
34
|
+
raise TypeError(f'aidEncrypted must be str.')
|
|
30
35
|
return value
|
|
31
36
|
|
|
32
37
|
def getTaskDict(self) -> Dict[str, Union[str, int, bool]]:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4.3.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4.3.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/__init__.py
RENAMED
|
File without changes
|
{capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/captchaResult.py
RENAMED
|
File without changes
|
{capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/clientOptions.py
RENAMED
|
File without changes
|
{capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/exceptions.py
RENAMED
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capmonstercloudclient-4.3.0 → capmonstercloudclient-4.3.1}/capmonstercloud_client/requests/enums.py
RENAMED
|
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
|
|
File without changes
|