抓取 csdn 作者文章列表

模板 tesths 3个月前 (11-30) 1749次浏览 0个评论

抓取 csdn 作者文章列表

 

1、 数据字段

  • 文章类型
  • 文章标题
  • 文章详情链接
  • 文章简介
  • 发布日期
  • 阅读数
  • 评论数

2、结果示例截图

抓取 csdn 作者文章列表

3、sitemap json

{"_id":"csdn","startUrl":["https://blog.csdn.net/zll_0405/article/list/[1-5]?"],"selectors":[{"id":"element","type":"SelectorElement","parentSelectors":["_root"],"selector":"div.article-item-box","multiple":true,"delay":0},{"id":"tag","type":"SelectorText","parentSelectors":["element"],"selector":"span.article-type","multiple":false,"regex":"","delay":0},{"id":"title","type":"SelectorLink","parentSelectors":["element"],"selector":"h4 a","multiple":false,"delay":0},{"id":"intro","type":"SelectorText","parentSelectors":["element"],"selector":".content a","multiple":false,"regex":"","delay":0},{"id":"date","type":"SelectorText","parentSelectors":["element"],"selector":"span.date","multiple":false,"regex":"","delay":0},{"id":"read","type":"SelectorText","parentSelectors":["element"],"selector":"p:nth-of-type(3) span.num","multiple":false,"regex":"","delay":0},{"id":"comment","type":"SelectorText","parentSelectors":["element"],"selector":"p:nth-of-type(5) span.num","multiple":false,"regex":"","delay":0}]}

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

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

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