@0y0/scraper
v1.0.0
Published
A web scraping tool that extracts any data from the web.
Downloads
20
Maintainers
Readme
@0y0/scraper ·
@0y0/scraper
is a web scraping tool that extracts any data from the web.
Installation
npm install --save @0y0/scraper
Usage
const runScraper = require('@0y0/scraper')
runScraper(
// (object|array) Scraper options
{
// (string?) Cron time expression
cronTime,
// (bool?) Run cron after initialization
// (Default: false)
runCronOnInit,
// (object) Input options
in: {
// (string) Input plugin name
type,
...inputPluginOptions
},
// (object) Output options
out: {
// (string) Whether to skip the output
skip,
// (string) Output plugin name
type,
...outputPluginOptions
}
}
)