scrape-query-processor

1.0.3 • Public • Published

Scraping query processor

allows to scrape child urls from the site of the vendor with specified concurrency

data can be returned as an array of pages or saved as a bunch of files saveFiles flag

class accepts object parameters with following keys

- `dirPath` folder where all the files will be saved 

- `vendor`  will be used as a sub folder         
- `homeUrl` url of the main site, i.e `https://www.yamaha-motor.eu`

- `saveFiles` flag which allows saving of scraped pages

- `concurrency` amount of pages queried in parallel, default = 2

new QueryProcessor({vendor: 'yamaha`, homeUrl: 'https://www.yamaha-motor.eu', saveFiles: true, concurrency:5}

Readme

Keywords

none

Package Sidebar

Install

npm i scrape-query-processor

Weekly Downloads

0

Version

1.0.3

License

ISC

Last publish

Collaborators

  • pauca-verba