x-crawler
v0.0.10
Published
```javascript // 配置文件 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
Downloads
3
Readme
// 配置文件
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
},
]
}