@sesamestrong/puppeteer-recaptcha-solver

1.0.0 • Public • Published

ATTENTION: This is a fork of danielgatis/puppeteer-recaptcha-solver

@sesamestrong/puppeteer-recatpcha-solver

How to use

First, signup for a free account on Wit. Get an API key.

  $ npm install @sesamestrong/puppeteer-recaptcha-solver
const puppeteer=require("puppeteer-extra");
const stealth=require("puppeteer-extra-plugin-stealth");
const solver=require("@sesamestrong/puppeteer-recaptcha-solver");
require("dotenv")();
const solve = solver.solve(process.env.WIT_API_KEY);

puppeteer.use(stealth());

(async ()=>{
  const browser=await puppeteer.launch();
  const page=await browser.newPage();
  await page.goto("https://www.google.com/recaptcha/api2/demo");
  await solve(page);
  await page.screenshot({path:"example.png"});
  await browser.close();
})();

Readme

Keywords

none

Package Sidebar

Install

npm i @sesamestrong/puppeteer-recaptcha-solver

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

7.28 kB

Total Files

4

Last publish

Collaborators

  • sesamestrong