六客Chrome插件

谷歌浏览器爬虫插件Webscraper抓取腾讯体育社区列表的模板

[复制链接]
发表于 2020-12-15 21:37:15 | 显示全部楼层 |阅读模式
使用谷歌浏览器爬虫插件Webscraper抓取腾讯体育社区列表的模板。

1、 数据字段



标题
详情链接
作者
发布日期
回复数
浏览数
最后回复
最后回复时间

2、结果示例截图



w5.jpg

3、sitemap json



  1. {"_id":"sports","startUrl":["https://fans.sports.qq.com/#/f/69"],"selectors":[{"id":"element","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.tbody div.tr","multiple":true,"delay":"2000","clickElementSelector":"div.c-and-p:nth-of-type(3) a.btn-next","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"},{"id":"title","type":"SelectorLink","parentSelectors":["element"],"selector":".td-title a","multiple":false,"delay":0},{"id":"author","type":"SelectorText","parentSelectors":["element"],"selector":".td-author a","multiple":false,"regex":"","delay":0},{"id":"date","type":"SelectorText","parentSelectors":["element"],"selector":".td-author span","multiple":false,"regex":"","delay":0},{"id":"reply","type":"SelectorText","parentSelectors":["element"],"selector":"span.main","multiple":false,"regex":"","delay":0},{"id":"browers","type":"SelectorText","parentSelectors":["element"],"selector":".td-count span.sub","multiple":false,"regex":"","delay":0},{"id":"lastreply","type":"SelectorText","parentSelectors":["element"],"selector":".td-last a","multiple":false,"regex":"","delay":0},{"id":"lastreplytime","type":"SelectorText","parentSelectors":["element"],"selector":".td-last span","multiple":false,"regex":"","delay":0}]}
复制代码


作者:iWebscraper

六客插件 - 好用的插件

本站鼓励并倡导使用正版软件,并不做任何破解软件的工作内容。站内所有软件资源版权均属于原作者所有,资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

最近更新的插件

免责声明

六客插件所发布的一切软件应用的帖子仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。(如有侵犯了您权益的应用请点此处联系我们处理

Archiver|小黑屋|sitemap|, Processed in 0.083538 second(s), 9 queries , File On.   
快速回复 返回顶部 返回列表