36-1 幕布精选首页文章信息 - 图2

抓取的结果信息包含:

  • 标题
  • 链接
  • 简介
  • 作者
  • 点赞数
  • 阅读数
  • 评论数

    结果示例图:

    36-1 幕布精选首页文章信息 - 图3

    模板:

    1. {"_id":"mubu-jingxuan","startUrl":["https://mubu.com/explore"],"selectors":[{"id":"info","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.main-list","multiple":true,"delay":"2000","clickElementSelector":".load-more a","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueCSSSelector"},{"id":"title","type":"SelectorLink","parentSelectors":["info"],"selector":"a","multiple":false,"delay":0},{"id":"intro","type":"SelectorText","parentSelectors":["info"],"selector":"p.summary","multiple":false,"regex":"","delay":0},{"id":"author","type":"SelectorText","parentSelectors":["info"],"selector":"p.name","multiple":false,"regex":"","delay":0},{"id":"likes","type":"SelectorText","parentSelectors":
    2. ["info"],"selector":".praiseCount span","multiple":false,"regex":"","delay":0},{"id":"reads","type":"SelectorText","parentSelectors":
    3. ["info"],"selector":"li:nth-of-type(2) span","multiple":false,"regex":"","delay":0},{"id":"comments","type":"SelectorText","parentSelectors":
    4. ["info"],"selector":"li:nth-of-type(3) span","multiple":false,"regex":"","delay":0}]}

    模板套用步骤:

    (1)进入需要抓取的幕布精选文章页面,例如:https://mubu.com/explore
    (2)导入模板
    (3)开始抓取

小提示:如果数据太多,需要停止抓取,可以断网