@0y0/scraper

1.0.0 • Public • Published

@0y0/scraper · GitHub license npm

@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
    }
  }
)

License

MIT

Package Sidebar

Install

npm i @0y0/scraper

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

4.97 kB

Total Files

6

Last publish

Collaborators

  • shiningjason