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

    @vostersc/crawler

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.


Version published
Weekly downloads
1
decreased by-94.44%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Crawler

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.

Quick Start

const C = new Crawler();

const config = [
    {selector: C.exampleActionFunction, urls: ['http://shop.harmonsgrocery.com/search?search_term=peach']},
    {selector: C.exampleActionFunction, urls: ['http://shop.harmonsgrocery.com/search?search_term=avocado']},
    {selector: C.exampleActionFunction, urls: ['http://shop.harmonsgrocery.com/search?search_term=steak']}
];
const anon = false;
const logger = false;
const keepOpen = true;

C.performAction(config, anon, logger, keepOpen); //ignore the await

setTimeout(() => {
    console.log('status', C.getStatus());
}, 30000);

FAQs

Last updated on 08 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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