Package Exports
- @0y0/scraper
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@0y0/scraper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@0y0/scraper ·  
 
@0y0/scraper is a web scraping tool that extracts any data from the web.
Installation
npm install --save @0y0/scraperUsage
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
    }
  }
)