评论时间
结果示例图:
模板:
{"_id":"xiapi-comments","startUrl":["https://xiapi.xiapibuy.com/%E3%80%90%E7%8F%BE%E8%B2%A8%E3%80%91%E8%B6%85%E9%A1%AF%E7%98%A6%E8%A6%AA%E8%86%9A%E5%BD%88%E6%80%A7%E5%8C%85%E8%8A%AF%E7%B4%97%E4%BF%AE%E8%BA%AB%E4%B8%8A%E8%A1%A3%E3%80%90FZ880%E3%80%91-i.5212303.2861095859"],"selectors":[{"id":"info","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.shopee-product-rating","multiple":true,"delay":"2000","clickElementSelector":"button.shopee-icon-button--right","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueCSSSelector"},{"id":"style","type":"SelectorText","parentSelectors":["info"],"selector":"span","multiple":false,"regex":"","delay":0},{"id":"comments","type":"SelectorText","parentSelectors":
["info"],"selector":"div.shopee-product-rating__content","multiple":false,"regex":"","delay":0},{"id":"time","type":"SelectorText","parentSelectors":
["info"],"selector":"div.shopee-product-rating__time","multiple":false,"regex":"","delay":0}]}
模板套用步骤:
(1)进入需要抓取的商品评论页面,例如:https://xiapi.xiapibuy.com/%E3%80%90%E7%8F%BE%E8%B2%A8%E3%80%91%E8%B6%85%E9%A1%AF%E7%98%A6%E8%A6%AA%E8%86%9A%E5%BD%88%E6%80%A7%E5%8C%85%E8%8A%AF%E7%B4%97%E4%BF%AE%E8%BA%AB%E4%B8%8A%E8%A1%A3%E3%80%90FZ880%E3%80%91-i.5212303.2861095859
(2)导入模板
(3)替换 Start URL为要抓取的网页链接
(4)开始抓取
(5)弹出抓取窗口后,点击评论按钮,跳到评论区