抓取四川在线四川滚动新闻

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

抓取四川在线四川滚动新闻

 

1、 数据字段

  • 标题
  • 详情链接
  • 发布日期
  • 来源
  • 编辑
  • 内容

2、结果示例截图

抓取四川在线四川滚动新闻

3、sitemap json

{"_id":"sichuan","startUrl":["https://sichuan.scol.com.cn/ggxw/index_[2-5].html"],"selectors":[{"id":"element","type":"SelectorElement","parentSelectors":["_root"],"selector":".page_left li","multiple":true,"delay":0},{"id":"title","type":"SelectorLink","parentSelectors":["element"],"selector":"a","multiple":false,"delay":0},{"id":"date","type":"SelectorText","parentSelectors":["title"],"selector":"span.w_pubtime","multiple":false,"regex":"","delay":0},{"id":"source","type":"SelectorText","parentSelectors":["title"],"selector":".w_source a","multiple":false,"regex":"","delay":0},{"id":"author","type":"SelectorText","parentSelectors":["title"],"selector":"span.w_editor","multiple":false,"regex":"","delay":0},{"id":"content","type":"SelectorText","parentSelectors":["title"],"selector":"div.con_text","multiple":false,"regex":"","delay":0}]}

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

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

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