回答数
结果示例图:

模板:
{"_id":"zhihu-unanswer","startUrl":["https://www.zhihu.com/topic/19555550/unanswered"],"selectors":[{"id":"aaa","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"div.List-item","multiple":true,"delay":"2000"},{"id":"title","type":"SelectorLink","parentSelectors":
["aaa"],"selector":".QuestionItem-title a","multiple":false,"delay":0},{"id":"comments","type":"SelectorText","parentSelectors":["aaa"],"selector":"button.ContentItem-action","multiple":false,"regex":"","delay":0},{"id":"answers","type":"SelectorText","parentSelectors":
["aaa"],"selector":"a.Button--plain","multiple":false,"regex":"","delay":0}]}
模板套用步骤:
(1)进入需要抓取的待回答问题页面,例如:https://www.zhihu.com/topic/19555550/unanswered
(2)导入模板
(3)替换 Start URL为要抓取的网页链接
(4)开始抓取