hSolve
A library for solving HCaptcha.
Installation
$ npm install hsolve
Usage
const hsolve = ; // Typescript: import hsolve from 'hsolve'; /* RANDOM SOLUTIONS */ const token = await ; // => P0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNza2V... /* AWS */ const token = await ; // => P0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNza2V... /* AZURE */ const token = await ; // => P0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNza2V... /* CUSTOM */ const token = await ; // => P0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNza2V....
For custom solving solution code makes a GET request to the API url with imageurl parameter and expects a json response. Example json response from your api:
Maintainer
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Heavily inspired by https://github.com/JimmyLaurent/hcaptcha-solver