Skip to content

🧠 GeeTest#

capmonster_python.GeeTestV3Task #

Bases: TaskPayload, UserAgentPayload

Represents a payload for solving GeeTest V3 captcha.

Attributes:

Name Type Description
websiteURL str

Address of the page on which the captcha is being solved.

gt str

The GeeTest identifier key 'gt' corresponding to the domain.

challenge str

A dynamic key that must be fresh on each request. Reusing a non-fresh challenge value will result in an ERROR_TOKEN_EXPIRED.

geetestApiServerSubdomain Optional[str]

Optional API subdomain server for Geetest that must be different from api.geetest.com.

geetestGetLib Optional[str]

Optional path to the captcha script. This must be provided as a JSON string.

proxy Optional[ProxyPayload]

Optional proxy settings to be used while solving the captcha.

capmonster_python.GeeTestV4Task #

Bases: TaskPayload, UserAgentPayload

Represents a GeeTest V4 task payload.

Attributes:

Name Type Description
type str

Indicates the type of the task, defaulted and frozen as "GeeTestTask".

websiteURL str

Address of the page on which the captcha is solved.

gt str

The GeeTest identifier key gt for the domain.

version int

Version of the GeeTest task, defaulted and frozen as 4.

initParameters Optional[object]

Extra parameters for v4, used with 'riskType' or challenge details.

geetestApiServerSubdomain Optional[str]

Geetest API subdomain server (must differ from api.geetest.com).

geetestGetLib Optional[str]

Path to a captcha script. Must be passed as a JSON string.

proxy Optional[ProxyPayload]

Proxy settings to be used for the task.