抓取 oschina 综合资讯列表

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

抓取 oschina 综合资讯列表

 

1、 数据字段

  • 标题
  • 详情链接
  • 简介
  • 来源
  • 发布时间
  • 评论数

2、结果示例截图

抓取 oschina 综合资讯列表

3、sitemap json

{"_id":"oschina","startUrl":["https://www.oschina.net/news/industry"],"selectors":[{"id":"scroll","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":".active div.content","multiple":false,"delay":"3000"},{"id":"element","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.news-item div.content","multiple":true,"delay":"3000","clickElementSelector":".active a.fluid","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"},{"id":"title","type":"SelectorLink","parentSelectors":["element"],"selector":"h3.header a","multiple":false,"delay":0},{"id":"intro","type":"SelectorText","parentSelectors":["element"],"selector":"div.description","multiple":false,"regex":"","delay":0},{"id":"source","type":"SelectorText","parentSelectors":["element"],"selector":"div.extra div.item","multiple":false,"regex":"","delay":0},{"id":"time","type":"SelectorText","parentSelectors":["element"],"selector":"div.extra div.item:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"comment","type":"SelectorText","parentSelectors":["element"],"selector":"div.extra div.item:nth-of-type(3)","multiple":false,"regex":"","delay":0}]}

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

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

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