Socket
Socket
Sign inDemoInstall

@vostersc/crawler

Package Overview
Dependencies
140
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.4 to 2.0.5

15

index.js

@@ -1,5 +0,7 @@

const p = require('puppeteer');
// const p = require('puppeteer');
const proxyUrls = require('./proxyUrls.json');
const userAgents = require('./userAgents.json');
const viewPorts = require('./viewPorts.json');
const p = require('puppeteer-extra');
const RecaptchaPlugin = require('puppeteer-extra-plugin-recaptcha');

@@ -107,2 +109,13 @@ class Crawler {

};
p.use(
RecaptchaPlugin({
provider: {
id: '2captcha',
token: 'XXXXXXX' // REPLACE THIS WITH YOUR OWN 2CAPTCHA API KEY ⚡
},
visualFeedback: true // colorize reCAPTCHAs (violet = detected, green = solved)
})
);
this.browser = await p.launch(opts);

@@ -109,0 +122,0 @@ }

9

package.json
{
"name": "@vostersc/crawler",
"version": "2.0.4",
"version": "2.0.5",
"description": "This package is a wrapper around Puppeteer. The package provides faster out of the box use by taking care of things like proxy urls, ips, user agents, and others.",

@@ -21,5 +21,6 @@ "main": "index.js",

"dependencies": {
"puppeteer": "^22.1.0"
},
"devDependencies": {}
"puppeteer": "^22.1.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-recaptcha": "^3.6.8"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc