CAPTCHAFORUM
Administrator
Installation:
npm i two-captcha
Usage:
Set up your api key:
Get the ID of your task:
Start a cycle that checks if your task is completed and get result:
Documentation https://www.npmjs.com/package/two-captcha
npm i two-captcha
Usage:
Set up your api key:
Code:
const TwoCaptcha = require('two-captcha')
const Captcha = new TwoCaptcha('your-api-key')
Get the ID of your task:
Code:
let id = Captcha.getId('method', 'googleKey', 'pageUrl')
Start a cycle that checks if your task is completed and get result:
let solve = Captcha.solve(id)
Documentation https://www.npmjs.com/package/two-captcha