x-crawler

0.0.10 • Public • Published
// 配置文件
module.exports= {
  domain: '',
  dom: {
    pagesLink: '.lone_t',
    pagesHref: 'a',
    pagesLinkTitle: 'a',
  },
  text: {
    toggle: true,
    dom: '.n_show p'
  },
  images: {
    toggle: true,
    dom: '.n_show img',
    attr: 'src',
  },
  pagesUrlArray: [
    {
      urlStart: 'https://www.ali213.net/news/game/index_',
      urlEnd: '.html',
      pageStart: 1,
      pageEnd: 5
    },
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i x-crawler

Weekly Downloads

1

Version

0.0.10

License

ISC

Unpacked Size

66.9 kB

Total Files

8

Last publish

Collaborators

  • codexu