🧠reCAPTCHA#
capmonster_python.RecaptchaV2Task #
Bases: TaskPayload
, UserAgentPayload
Represents a payload structure for solving reCAPTCHA v2 challenges.
Attributes:
Name | Type | Description |
---|---|---|
type |
str
|
The constant string value identifying the task type as "RecaptchaV2Task". |
websiteURL |
str
|
The URL of the webpage containing the reCAPTCHA challenge. |
websiteKey |
str
|
The site key associated with the reCAPTCHA on the webpage. |
recaptchaDataSValue |
Optional[str]
|
A one-time token specific to certain custom implementations of reCAPTCHA v2. If applicable, this parameter needs to be retrieved for each challenge-solving attempt. |
isInvisible |
Optional[bool]
|
When set to True, specifies that the challenge being solved is an invisible reCAPTCHA. |
proxy |
Optional[ProxyPayload]
|
Proxy settings to route the request through a specified proxy server. |
capmonster_python.RecaptchaV2EnterpriseTask #
Bases: TaskPayload
, UserAgentPayload
Represents a task payload for solving Google reCAPTCHA V2 Enterprise challenges.
Attributes:
Name | Type | Description |
---|---|---|
websiteURL |
str
|
The address of a webpage with Google reCAPTCHA Enterprise. |
websiteKey |
str
|
The reCAPTCHA website key. |
enterprisePayload |
Optional[str]
|
An optional parameter containing additional values passed to the 'grecaptcha.enterprise.render' method along with the sitekey. |
apiDomain |
Optional[str]
|
An optional domain address from which to load reCAPTCHA Enterprise. This parameter should only be set if explicitly needed. |
cookies |
Optional[str]
|
Optional cookies to be sent with the request. |
proxy |
Optional[ProxyPayload]
|
Optional proxy settings for handling the task. |
capmonster_python.RecaptchaV3Task #
Bases: TaskPayload
Represents a task for solving Google reCAPTCHA v3 without using a proxy.
Attributes:
Name | Type | Description |
---|---|---|
websiteURL |
str
|
Address of the webpage that contains the reCAPTCHA to be solved. |
websiteKey |
str
|
The specific site key corresponding to the reCAPTCHA on the target website. |
minScore |
Optional[float]
|
Defines the minimum acceptable score required for the captcha result, ranging between 0.1 and 0.9. Setting this helps filter the quality of the solution response. |
pageAction |
Optional[str]
|
Specifies the widget action value, typically indicating what the user action represents on the page. This value is set by the website owner. |