dzmitry-duboyski / 2captcha-ts

JavaScript package for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
https://www.npmjs.com/package/2captcha-ts
MIT License
17 stars 3 forks source link

Add support Coordinates captcha and Capy Puzzle captcha #3

Closed dzmitry-duboyski closed 1 year ago

dzmitry-duboyski commented 1 year ago

Done:

What changed:

The method of passing parameters for image captcha has changed. Now all parameters for Image captcha are passed as an one object.

If you have old code using the imageCaptcha method, then you need to rewrite it, as it will stop working and return an error.

Please correct your code according to this example:

solver.imageCaptcha({
    body: imageBase64
})

Previously it was like this (now this code will throw an error):

solver.imageCaptcha(imageBase64)

Screenshot: image