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
ClickCaptcha method returns coordinates of points on captcha image. Can be used if you need to click on particular points on the image.
431
+
432
+
Code example:
433
+
323
434
```js
324
435
constCaptcha=require("2captcha-ts")
325
436
constsolver=newCaptcha.Solver("<Your 2captcha api key>")
@@ -338,7 +449,11 @@ solver.coordinates({
338
449
```
339
450
340
451
### Bounding Box Method:
452
+
341
453
Bounding Box Method allows you to select objects specified in the image. To do this, you need to pass markup instructions. The instructions can be sent as text or as an image encoded in base64 format. It is mandatory to pass at least one instruction `imginstructions` or `textinstructions`.
454
+
455
+
Code example:
456
+
342
457
```js
343
458
constCaptcha=require("2captcha-ts")
344
459
constsolver=newCaptcha.Solver("<Your 2captcha api key>")
@@ -355,7 +470,10 @@ solver.boundingBox({
355
470
})
356
471
```
357
472
358
-
### Proxy:
473
+
### Proxy
474
+
475
+
Solving reCAPTCHA V2 whis a proxy, code example:
476
+
359
477
```js
360
478
constCaptcha=require("2captcha-ts")
361
479
constsolver=newCaptcha.Solver("<Your 2captcha api key>")
proxy:"login:password@1.2.3.4:8888", // The (Username : Password @ Address : Port) of our chosen proxy
367
-
proxytype:"http"// The 'Type' of proxy, http, https, socks, ect.
485
+
proxytype:"http"// The 'Type' of proxy, http, https, socks4, socks5.
368
486
})
369
487
.then((res) => {
370
488
console.log(res)
@@ -374,15 +492,13 @@ solver.recaptcha({
374
492
})
375
493
```
376
494
377
-
<!--## Commit Guidelines
495
+
## Other methods
378
496
379
-
The latest version of the code base will always be under the '**next**' branch!
497
+
### goodReport
498
+
### badReport
499
+
### balance
380
500
381
-
- All pull requiests must provide a valid reason for the change or implementation
382
-
- All **CORE CHANGES** require an issue with reasoning made before a PR will even be addressed.
383
-
- All PR's must follow the general structure of the code base
384
-
- If you have questions, feel free to make an issue and i'll get to it right away!
385
-
-->
501
+
Use this method to get your account's balance
386
502
387
503
## Useful articles
388
504
*[How to bypass Geetest v4 CAPTCHA](https://2captcha.com/blog/geetest-v4-support)
@@ -394,6 +510,5 @@ The latest version of the code base will always be under the '**next**' branch!
394
510
*[Solving reCAPTCHA using Puppeteer](https://github.com/dzmitry-duboyski/solving-recaptcha-using-puppeteer)
395
511
*[Solving Yandex Smart Captcha using Puppeteer](https://github.com/dzmitry-duboyski/solving-yandex-smart-captcha-using-puppeteer)
396
512
397
-
---
398
513
399
-
This project is a fork of this [package](https://www.npmjs.com/package/2captcha). In this version, new types of captchas have been added and the method of passing captcha parameters has been changed ({ using an object }) and etc. You can read more about the changes made [here](https://github.com/dzmitry-duboyski/2captcha-ts/releases).
514
+
<!--This project is a fork of this [package](https://www.npmjs.com/package/2captcha). In this version, new types of captchas have been added and the method of passing captcha parameters has been changed ({ using an object }) and etc. You can read more about the changes made [here](https://github.com/dzmitry-duboyski/2captcha-ts/releases).-->
0 commit comments