recaptchevade

1.0.3 • Public • Published

Recaptchevade

node module to solve Google Recaptchas with 2captcha

Sample usage

const puppeteer = require("puppeteer-core")
const config = require("./Config.json")
const solveCaptcha = require("recaptchevade")(config.TWO_CAPTCHA_KEY)
const browserOptions = {
  headless: false,
}(async () => {
  const browser = await puppeteer.launch(browserOptions)
  const page = await browser.newPage()
  await page.goto("https://www.google.com/recaptcha/api2/demo")
  await solveCaptcha(page, null, async (response) => {
    document.querySelectore("#recaptcha-demo-submit").click()
  })
})()

Package Sidebar

Install

npm i recaptchevade

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

2.29 kB

Total Files

3

Last publish

Collaborators

  • jleelove