This package has some examples of how to run Puppeteer on Lambda in stealth mode (so stealthy) and also solving both reCaptcha and simple image captchas.
Clone the repository and run npm i
.
I have a neat script in the package.json that allows you to easily push to Lambda. You'll need to create and rename the s3 bucket and rename the lambda function name to match your own.
Then...just comment in the function you want to use and run it!
- Video: Setting up Puppeteer Stealth on Lambda
- Video: How to Solve reCaptchas with Puppeteer
- Video: How to Solve Simple Captchas with Puppeteer
Tested on Node v14.17.5 and NPM v6.14.14.
After installing NodeJS you should be able to just run the following in the terminal.
npm i
- NodeJS - NodeJS
- 2Captcha - 2Captcha
- puppeteer - Headless browser
- puppeteer-extra - Amazing package for extra puppeteer plugins
- chrome-aws-lambda - Allows you to run Puppeteer on lambda
- @infosimples/node_two_captcha - Easy way to interface with 2Captcha
- Jordan Hansen - Initial work - Jordan Hansen
This project is licensed under the ISC License