抓取 nfu 玩家社区资讯

模板 tesths 2周前 (10-06) 970次浏览 0个评论

抓取 nfu 玩家社区资讯

 

1、 数据字段

  • 类型
  • 标题
  • 阅读数
  • 详情链接
  • 日期
  • 内容

2、结果示例截图

抓取 nfu 玩家社区资讯

3、sitemap json

{"_id":"nfuwow","startUrl":["http://www.nfuwow.com/simple/lists/p/[1-5].html"],"selectors":[{"id":"element","type":"SelectorElement","parentSelectors":["_root"],"selector":".atclistbox a","multiple":true,"delay":0},{"id":"type","type":"SelectorHTML","parentSelectors":["element"],"selector":"_parent_","multiple":false,"regex":"(?<=(<i>))(.*)(?=(</i>))","delay":0},{"id":"title","type":"SelectorHTML","parentSelectors":["element"],"selector":"_parent_","multiple":false,"regex":"(?<=(;))(.*)(?=(<em>))","delay":0},{"id":"readnumber","type":"SelectorHTML","parentSelectors":["element"],"selector":"_parent_","multiple":false,"regex":"(?<=(<em>))(.*)(?=(</em>))","delay":0},{"id":"link","type":"SelectorLink","parentSelectors":["element"],"selector":"_parent_","multiple":false,"delay":0},{"id":"date","type":"SelectorHTML","parentSelectors":["link"],"selector":"p.postzuozhe","multiple":false,"regex":"(?<=(发布时间:))(.*)(?=(&nbsp;&nbsp;&nbsp;&nbsp;))","delay":0},{"id":"content","type":"SelectorText","parentSelectors":["link"],"selector":"div.postcontent","multiple":false,"regex":"","delay":0}]}

喜欢 (6)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址