Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.6 KB

README.md

File metadata and controls

28 lines (16 loc) · 1.6 KB

English | Русский

Usage of 2captcha-solver extension in puppeteer

Description

This demo project shows how to use the 2captcha-solver extension with Puppeteer to solve captchas at https://2captcha.com/demo/recaptcha-v2. The example uses Puppeteer, puppeteer-extra and puppeteer-extra-plugin-stealth. puppeteer-extra is a lightweight wrapper around Puppeteer and puppeteer-extra-plugin-stealth is an add-on to puppeteer-extra designed to hide the traces of automation.

A detailed described of how this example works is described in our article How to use the 2Captcha solver extension in Puppeteer for bypass reCAPTCHA, hCaptcha and others captchas.

Download the extension

Download the latest extension release and extract it to 2captcha-solver folder

Install the dependencies

npm i

Setting

Write your api key in the file './2captcha-solver/common/config.js '. You can view your API key on the page https://2captcha.com/setting.

Example:

apiKey: "7894561d1234ddd00b7894561dd0d00d"

Usage

npm run start