Serializer¶
To import this module:
from python3_capsolver.core import serializer
- pydantic model python3_capsolver.core.serializer.CaptchaOptionsSer¶
Show JSON schema
{ "title": "CaptchaOptionsSer", "type": "object", "properties": { "api_key": { "title": "Api Key", "type": "string" }, "sleep_time": { "default": 5, "minimum": 5, "title": "Sleep Time", "type": "integer" } }, "required": [ "api_key" ] }
- Fields:
- field api_key: str [Required]¶
- field sleep_time: Annotated[int, None, Interval(gt=None, ge=5, lt=None, le=None), None] = 5¶
- Constraints:
ge = 5
- pydantic model python3_capsolver.core.serializer.WebsiteDataOptionsSer¶
Show JSON schema
{ "title": "WebsiteDataOptionsSer", "type": "object", "properties": { "captcha_type": { "description": "Task type name", "title": "Captcha Type", "type": "string" }, "websiteURL": { "description": "Address of a webpage with Captcha", "title": "Websiteurl", "type": "string" }, "websiteKey": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Website key", "title": "Websitekey" } }, "required": [ "captcha_type", "websiteURL" ] }
- field websiteKey: str | None = None¶
Website key
- field websiteURL: str [Required]¶
Address of a webpage with Captcha
- pydantic model python3_capsolver.core.serializer.CyberSiAraSer¶
Show JSON schema
{ "title": "CyberSiAraSer", "type": "object", "properties": { "captcha_type": { "description": "Task type name", "title": "Captcha Type", "type": "string" }, "websiteURL": { "description": "Address of a webpage with Captcha", "title": "Websiteurl", "type": "string" }, "websiteKey": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Website key", "title": "Websitekey" }, "SlideMasterUrlId": { "description": "You can get MasterUrlId param form `api/CyberSiara/GetCyberSiara` endpoint request", "title": "Slidemasterurlid", "type": "string" }, "UserAgent": { "description": "Browser userAgent, you need submit your userAgent", "title": "Useragent", "type": "string" } }, "required": [ "captcha_type", "websiteURL", "SlideMasterUrlId", "UserAgent" ] }
- field SlideMasterUrlId: str [Required]¶
You can get MasterUrlId param form api/CyberSiara/GetCyberSiara endpoint request
- field UserAgent: str [Required]¶
Browser userAgent, you need submit your userAgent
- pydantic model python3_capsolver.core.serializer.AntiAkamaiBMPTaskSer¶
Show JSON schema
{ "title": "AntiAkamaiBMPTaskSer", "type": "object", "properties": { "captcha_type": { "description": "Task type name", "title": "Captcha Type", "type": "string" }, "packageName": { "default": "de.zalando.iphone", "description": "Package name of AkamaiBMP mobile APP", "title": "Packagename", "type": "string" }, "version": { "default": "3.2.6", "description": "AKAMAI BMP Version number", "title": "Version", "type": "string" }, "country": { "default": "US", "description": "AKAMAI BMP country", "title": "Country", "type": "string" } }, "required": [ "captcha_type" ] }
- field country: str = 'US'¶
AKAMAI BMP country
- field packageName: str = 'de.zalando.iphone'¶
Package name of AkamaiBMP mobile APP
- field version: str = '3.2.6'¶
AKAMAI BMP Version number
- pydantic model python3_capsolver.core.serializer.AntiAkamaiWebTaskSer¶
Show JSON schema
{ "title": "AntiAkamaiWebTaskSer", "type": "object", "properties": { "captcha_type": { "description": "Task type name", "title": "Captcha Type", "type": "string" }, "url": { "description": "Browser url address", "title": "Url", "type": "string" } }, "required": [ "captcha_type", "url" ] }
- Fields:
- field url: str [Required]¶
Browser url address
- pydantic model python3_capsolver.core.serializer.AntiImpervaTaskSer¶
Show JSON schema
{ "title": "AntiImpervaTaskSer", "type": "object", "properties": { "captcha_type": { "description": "Task type name", "title": "Captcha Type", "type": "string" }, "websiteUrl": { "description": "The website url", "title": "Websiteurl", "type": "string" }, "userAgent": { "description": "Browser userAgent", "title": "Useragent", "type": "string" }, "utmvc": { "default": true, "description": "If cookie contains `incap_see_xxx`, `nlbi_xxx`, `visid_inap_xxx`, mean is true", "title": "Utmvc", "type": "boolean" }, "reese84": { "default": true, "description": "if cookie conains `reese84`, set it true", "title": "Reese84", "type": "boolean" } }, "required": [ "captcha_type", "websiteUrl", "userAgent" ] }
- field reese84: bool = True¶
if cookie conains reese84, set it true
- field userAgent: str [Required]¶
Browser userAgent
- field utmvc: bool = True¶
If cookie contains incap_see_xxx, nlbi_xxx, visid_inap_xxx, mean is true
- field websiteUrl: str [Required]¶
The website url
- pydantic model python3_capsolver.core.serializer.BinanceCaptchaTaskSer¶
Show JSON schema
{ "title": "BinanceCaptchaTaskSer", "type": "object", "properties": { "captcha_type": { "description": "Task type name", "title": "Captcha Type", "type": "string" }, "websiteURL": { "description": "Address of a webpage with Binance captcha", "title": "Websiteurl", "type": "string" }, "websiteKey": { "default": "login", "description": "`bizId` always be `login`", "title": "Websitekey", "type": "string" }, "validateId": { "description": "`validateId` bncaptcha validateId field", "title": "Validateid", "type": "string" } }, "required": [ "captcha_type", "websiteURL", "validateId" ] }
- field validateId: str [Required]¶
validateId bncaptcha validateId field
- field websiteKey: str = 'login'¶
bizId always be login
- field websiteURL: str [Required]¶
Address of a webpage with Binance captcha