@0y0/scraper 中文文档教程
@0y0/scraper ·
@0y0/scraper
是一个网络抓取工具,可以从网络中提取任何数据。
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
@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
}
}
)
License
更多
你可能也喜欢
- @0x4447/hotpepper 中文文档教程
- @2bitlab/router 中文文档教程
- @4c/react-carousel 中文文档教程
- @4ch3los/ckeditor5-build-gomme 中文文档教程
- @aaron_sipser/create-react-skeleton 中文文档教程
- @abdulghani/routerhelper 中文文档教程
- @abh78989/fast-weather 中文文档教程
- @abhijithvijayan/eslint-config 中文文档教程
- @abizzle/react-scripts 中文文档教程
- @accodeing/prettier-config 中文文档教程