NodeJS implementation of multiple captcha solving services in one wrapper.
- Made in Typescript
- Uses got as
httpclient, making all functions asynchronous - Currently supports 2Captcha and Cap Monster
- Supports all ReCaptcha V2
Examples of how to use the captcha wrapper
To install with npm:
npm install node-nocap
or with yarn:
yarn add node-nocap
2Captcha can be replaced with CapMonster, just assign the correct key.
importNoCapfrom"node-nocap";constapiKey="";constclient=newNoCap("2Captcha",apiKey);Using the previous client,
(async()=>{constgooglekey="6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd";constpageURL="https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high";consttoken=awaitclient.reCaptchaV2(googleKey,pageURL);console.log(token);})();- Create a Firefox extension that spoofs page URL so manual solving is possible. Work has been started here.
- Add support for hcaptcha and manual image recognition.