2.0.9 • Published 2 months ago

@vostersc/crawler v2.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

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);
2.0.9

2 months ago

2.0.8

2 months ago

2.0.7

2 months ago

2.0.6

2 months ago

2.0.3

2 months ago

2.0.2

2 months ago

2.0.5

2 months ago

2.0.4

2 months ago

2.0.1

2 months ago

2.0.0

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago