Skip to content

Commit ed7f256

Browse files
committed
add the risk_type parameter to the documentation for the geetest v4 method
1 parent 994e288 commit ed7f256

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/structs/2captcha.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export interface yandexSmart {
9595
export interface paramsGeeTestV4 {
9696
pageurl: string,
9797
captcha_id: string,
98+
risk_type?: string,
9899
pingback?: string,
99100
proxy?: string,
100101
proxytype?: string,
@@ -620,9 +621,10 @@ export class Solver {
620621
* This method accepts an object with the following fields: `pageurl`, `captcha_id`, `pingback`, `proxy`, `proxytype`, `userAgent`.
621622
* The `pageurl` and `captcha_id` fields are required.
622623
*
623-
* @param {{pageurl, captcha_id, pingback, proxy, proxytype, userAgent}} params The method geetestV4 takes arguments as an object.
624+
* @param {{pageurl, captcha_id, risk_type, pingback, proxy, proxytype, userAgent}} params The method geetestV4 takes arguments as an object.
624625
* @param {string} params.pageurl Full URL of the page where you see Geetest V4 captcha.
625626
* @param {string} params.captcha_id Required parameter. Value of `captcha_id` parameter you found on target website.
627+
* @param {string} params.risk_type An optional param. Value of `risk_type` parameter is contained in the captcha loading request.
626628
* @param {string} params.pingback An optional param. [More info here](https://2captcha.com/2captcha-api#pingback).
627629
* @param {string} params.proxy An optional param. Format: `login:password@123.123.123.123:3128`. You can find more info about proxies [here](https://2captcha.com/2captcha-api#proxies).
628630
* @param {string} params.proxytype An optional param. Type of your proxy: `HTTP`, `HTTPS`, `SOCKS4`, `SOCKS5`.

0 commit comments

Comments
 (0)