You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {string} pageurl URL of the page where the captcha is located
92
-
* @property {string} sitekey The `sitekey` value you found on the captcha page
93
-
* @property {string} pingback
94
-
* @property {string} proxy Format: `login:password@123.123.123.123:3128`. You can find more info about proxies [here](https://2captcha.com/2captcha-api#proxies).
95
-
* @property {string} proxytype Type of your proxy: `HTTP`, `HTTPS`, `SOCKS4`, `SOCKS5`.
96
-
* @property {string} userAgent Your `userAgent` that will be passed to our worker and used to solve the captcha.
* @property {string} pageurl Required parameter. URL of the page where the captcha is located
113
-
* @property {string} captcha_id Required parameter. Value of `captcha_id` parameter you found on target website.
114
-
* @property {string} pingback An optional param. [More info here](https://2captcha.com/2captcha-api#pingback).
115
-
* @property {string} proxy An optional param. Format: `login:password@123.123.123.123:3128`
116
-
* @property {string} proxytype An optional param. Type of your proxy: `HTTP`, `HTTPS`, `SOCKS4`, `SOCKS5`.
117
-
* @property {string} userAgent An optional param. Your `userAgent` that will be passed to our worker and used to solve the captcha.
118
-
*
119
-
*/
120
95
exportinterfaceparamsGeeTestV4{
121
96
pageurl: string,
122
97
captcha_id: string,
@@ -237,8 +212,8 @@ export interface paramsGrid {
237
212
canvas?: number,
238
213
rows?: number,
239
214
cols?: number,
240
-
minСlicks?: number,
241
-
maxСlicks?: number,
215
+
minClicks?: number,
216
+
maxClicks?: number,
242
217
previousId?: string,
243
218
imgType?: string,
244
219
textinstructions?: string,
@@ -960,7 +935,7 @@ export class Solver {
960
935
*
961
936
* [Read more about Cloudflare Turnstile captcha](https://2captcha.com/2captcha-api#turnstile).
962
937
*
963
-
* @param {{ pageurl, sitekey, action, data, pingback, proxy, proxytype}} params The `сloudflareTurnstile` method takes arguments as an object. Thus, the `pageurl`, `sitekey` fields in the passed object are mandatory.
938
+
* @param {{ pageurl, sitekey, action, data, pingback, proxy, proxytype}} params The `cloudflareTurnstile` method takes arguments as an object. Thus, the `pageurl`, `sitekey` fields in the passed object are mandatory.
964
939
* @param {string} params.pageurl Full `URL` of the page where you see the captcha.
965
940
* @param {string} params.sitekey Is a value of `sitekey` parameter in the page source.
966
941
* @param {string} params.action Value of optional `action` parameter you found on page.
@@ -1009,7 +984,7 @@ export class Solver {
1009
984
/**
1010
985
* ### Solves a Coordinates captcha.
1011
986
*
1012
-
* @param {{ body, imginstructions, textinstructions, language, lang, pingback }} params parameters Сoordinates Captcha as an object.
987
+
* @param {{ body, imginstructions, textinstructions, language, lang, pingback }} params parameters Coordinates Captcha as an object.
* @param {string} params.imginstructions Base64-encoded image with instruction for solving captcha.
1015
990
* @param {string} params.textinstructions Text will be shown to worker to help him to solve the captcha correctly. For example: click on all objects in red color.
@@ -1266,35 +1241,35 @@ public async mtCaptcha(params: paramsMTCaptcha): Promise<CaptchaAnswer> {
1266
1241
}
1267
1242
1268
1243
/**
1269
-
* ### Solves a Cutcaptcha.
1270
-
*
1271
-
* Use this method to solve Cutcaptcha. Returns the response in JSON.
1272
-
* [Read more about Cutcaptcha](https://2captcha.com/2captcha-api#Cutcaptcha).
1273
-
*
1274
-
* @param {{ pageurl, miseryKey, apiKey, pingback, proxy, proxytype }} params Parameters for solving Cutcaptcha as an object.
1275
-
* @param {string} params.pageurl The URL where the captcha is located.
1276
-
* @param {string} params.miseryKey The value of `CUTCAPTCHA_MISERY_KEY` variable defined on page.
1277
-
* @param {string} params.apiKey The value of `data-apikey` attribute of iframe's body. Also the name of javascript file included on the page
1278
-
* @param {string} [params.pingback] Optional param. URL for pingback (callback) response when captcha is solved.
1279
-
* @param {string} [params.proxy] Optional param. Proxy to use while solving the captcha. Format: `login:password@123.123.123.123:3128`.
1280
-
* @param {string} [params.proxytype] Optional param. Type of your proxy: `HTTP`, `HTTPS`, `SOCKS4`, `SOCKS5`.
1281
-
*
1282
-
* @returns {Promise<CaptchaAnswer>} The result from the solve.
* @param {string} params.textinstructions Text will be shown to worker to help him to select object on the image correctly. For example: "*Select cars in the image*". **Optional parameter**, if the instruction already exists in the form of the `imginstructions`.
1438
1413
* @param {string} params.imginstructions Image with instruction for worker to help him to select object on the image correctly. The image must be encoded in `Base64` format. **Optional parameter**, if the instruction already exists in the form of the `textinstructions`.
1439
1414
* @param {number} params.rows Number of rows in grid captcha.
1440
1415
* @param {number} params.cols Number of columns in grid captcdha.
1441
-
* @param {number} params.minСlicks The minimum number of tiles that must be selected. Can't be more than `rows` * `cols`.
1442
-
* @param {number} params.maxСlicks The maximum number of tiles that can be selected on the image.
1416
+
* @param {number} params.minClicks The minimum number of tiles that must be selected. Can't be more than `rows` * `cols`.
1417
+
* @param {number} params.maxClicks The maximum number of tiles that can be selected on the image.
1443
1418
* @param {string} params.imgType The image will be recognized using Computer Vision. Supported value options: `recaptcha`, `hcaptcha`, `funcaptcha`, `funcaptcha_compare`. [More info here](https://2captcha.com/2captcha-api#grid).
1444
1419
* @param {string} params.previousId Id of your previous request with the same captcha challenge.
1445
1420
* @param {number} params.canSkip Set the value to `1` only if it's possible that there's no images matching to the instruction. We'll provide a button "No matching images" to worker and you will receive `No_matching_images` as answer.
@@ -1497,6 +1472,7 @@ public async grid(params: paramsGrid): Promise<CaptchaAnswer> {
1497
1472
* ### Text Captcha method
1498
1473
*
1499
1474
* Text Captcha is a type of captcha that is represented as text and doesn't contain images. Usually you have to answer a question to pass the verification. For example: "If tomorrow is Saturday, what day is today?".
1475
+
* [Read more about Text Captcha Method](https://2captcha.com/2captcha-api#text-captcha).
1500
1476
*
1501
1477
* @param {{ textcaptcha, lang, pingback}} params Parameters Text Captcha Method as an object.
1502
1478
* @param {string} params.textcaptcha Text Captcha is a type of captcha that is represented as text and doesn't contain images. Usually you have to answer a question to pass the verification.
@@ -1551,6 +1527,7 @@ public async text(params: paramsTextcaptcha): Promise<CaptchaAnswer> {
1551
1527
* ### Canvas method
1552
1528
*
1553
1529
* This method can be used to bypass tasks in which you need to circle an object or line in an image.
1530
+
* [Read more about Canvas Method](https://2captcha.com/2captcha-api#canvas).
1554
1531
*
1555
1532
* @param {{ body, textinstructions, imginstructions, canSkip, lang, pingback}} params Parameters Canvas as an object.
@@ -1612,6 +1589,7 @@ public async canvas(params: paramsGrid): Promise<CaptchaAnswer> {
1612
1589
* ### Rotate method
1613
1590
*
1614
1591
* This method can be used to solve a captcha that asks to rotate an object. It is mostly used to bypass FunCaptcha. Returns the rotation angle.
1592
+
* [Read more about Rotate Method](https://2captcha.com/2captcha-api#solving_rotatecaptcha).
1615
1593
*
1616
1594
* @param {{ body, angle, pingback, lang, textinstructions, imginstructions }} params Parameters for solving Rotate Captcha as an object.
1617
1595
* @param {string} params.body Base64-encoded image of the captcha that needs to be rotated.
@@ -1673,7 +1651,7 @@ public async rotate(params: paramsRotateCaptcha): Promise<CaptchaAnswer> {
1673
1651
* ### Solves a KeyCaptcha.
1674
1652
*
1675
1653
* This method can be used to solve a KeyCaptcha. It is mostly used to bypass captchas that use KeyCaptcha technology.
1676
-
* [Read more about KeyCaptcha](https://2captcha.com/2captcha-api#solving_keycaptcha).
1654
+
* [Read more about KeyCaptcha Method](https://2captcha.com/2captcha-api#solving_keycaptcha).
1677
1655
*
1678
1656
* @param {{ pageurl, userId, sessionId, webServerSign, webServerSign2, pingback, proxy, proxytype }} params Parameters for solving KeyCaptcha as an object.
1679
1657
* @param {string} params.pageurl The URL where the captcha is located.
@@ -1739,7 +1717,7 @@ public async keyCaptcha(params: paramsKeyCaptcha): Promise<CaptchaAnswer> {
1739
1717
* ### Solves a Tencent.
1740
1718
*
1741
1719
* Use this method to solve Tencent captcha. Returns a token.
1742
-
* [Read more about Tencent](https://2captcha.com/2captcha-api#tencent).
1720
+
* [Read more about Tencent Method](https://2captcha.com/2captcha-api#tencent).
1743
1721
*
1744
1722
* @param {{ pageurl, appId, pingback, proxy, proxytype }} params Parameters for solving Tencent as an object.
1745
1723
* @param {string} params.pageurl The URL where the captcha is located.
@@ -1799,7 +1777,7 @@ public async tencent(params: paramsTencent): Promise<CaptchaAnswer> {
1799
1777
* ### Solves a atbCAPTCHA.
1800
1778
*
1801
1779
* Use this method to solve atbCAPTCHA captcha. Returns a token.
1802
-
* [Read more about atbCAPTCHA](https://2captcha.com/2captcha-api#atb-captcha).
1780
+
* [Read more about atbCAPTCHA Method](https://2captcha.com/2captcha-api#atb-captcha).
1803
1781
*
1804
1782
* @param {{ pageurl, appId, apiServer, pingback, proxy, proxytype }} params Parameters for solving atbCAPTCHA as an object.
1805
1783
* @param {string} params.pageurl The URL where the captcha is located.
@@ -1862,7 +1840,7 @@ public async atbCaptcha(params: paramsAtbCaptcha): Promise<CaptchaAnswer> {
1862
1840
* ### Method for solving Audio captcha.
1863
1841
*
1864
1842
* Use the following method to bypass an audio captcha (`mp3` formats only). You must provide the language as `lang = 'en'`. Supported languages are "en", "ru", "de", "el", "pt", "fr".
1865
-
* [Read more about audio captcha parameters](https://2captcha.com/2captcha-api#audio).
1843
+
* [Read more about Audio recognition Method](https://2captcha.com/2captcha-api#audio-recognition).
1866
1844
*
1867
1845
* @param {{ body, lang, pingback }} params Object containing parameters for the audio captcha.
1868
1846
* @param {string} params.body Base64 encoded audio file in `mp3` format. Max file size: 1 MB.
0 commit comments