课程简介·
结果示例图:
模板:
{"_id":"lizhi","startUrl":["https://m.lizhiweike.com/indexpage/more-channel?keyword=%E8%B5%9A%E9%92%B1"],"selectors":[{"id":"info","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"a.f9pvta5","multiple":true,"delay":"2000"},{"id":"name","type":"SelectorLink","parentSelectors":["info"],"selector":"_parent_","multiple":false,"delay":0},{"id":"redu","type":"SelectorText","parentSelectors":["info"],"selector":"div.fotijcr","multiple":false,"regex":"","delay":0},{"id":"class","type":"SelectorText","parentSelectors":
["info"],"selector":".currency-item-right-bottom_left-count-time span","multiple":false,"regex":"","delay":0},{"id":"price","type":"SelectorText","parentSelectors":["info"],"selector":"div.f1ee5g1b","multiple":false,"regex":"","delay":0},{"id":"intro","type":"SelectorText","parentSelectors":["name"],"selector":"div.f1bqhtpi","multiple":false,"regex":"","delay":0}]}
模板套用步骤:
(1)进入需要抓取的专栏搜索结果页面,例如:https://m.lizhiweike.com/indexpage/more-channel?keyword=%E8%B5%9A%E9%92%B1
(2)导入模板
(3)替换 Start URL为要抓取的网页链接
(4)开始抓取