pub struct AlibabaMetadata {
pub scene_id: String,
pub prefix: String,
pub user_id: Option<String>,
pub user_user_id: Option<String>,
pub verify_type: Option<String>,
pub region: Option<String>,
pub user_certify_id: Option<String>,
pub api_get_lib: Option<String>,
pub punish_url: Option<String>,
pub cookie_required: Option<bool>,
}Expand description
Alibaba captcha parameters. Only scene_id and prefix are always required; set the other
ones only if the target website uses them.
Fields§
§scene_id: StringCaptcha scenario identifier, e.g. "1ww7426c".
prefix: StringCaptcha initialization parameter: the subdomain of the request URL that loads the task,
e.g. dlw3kug for https://dlw3kug.captcha-open.example.aliyuncs.com/.
user_id: Option<String>Unique user/session identifier on the website side.
user_user_id: Option<String>Additional (secondary) user identifier.
verify_type: Option<String>Version/type of the verification mechanism, e.g. "1.0".
region: Option<String>Server region, e.g. "sgp". Affects the token type (cn gives WEB#, sgp gives SG_WEB#).
user_certify_id: Option<String>Verification ID of the current captcha session.
api_get_lib: Option<String>Link to the captcha JS library used by the website (may change on every page render).
punish_url: Option<String>Full URL (with query) of the verification page, for websites where Alibaba returns a
separate /punish URL.
Return cookies together with the solution (use true for Alibaba WAF sites).