抓取 Github 搜索结果

模板 tesths 2个月前 (07-28) 480次浏览 0个评论

抓取 Github 搜索结果

 

1、 数据字段

  • 题目
  • 链接
  • 简介
  • 地点
  • 作者
  • 查看数
  • 顶数

2、结果示例截图

抓取 Github 搜索结果

3、sitemap json

{"_id":"github","startUrl":["https://github.com/search?l=&p=[1-5]&q=stars%3A%3E2000&ref=advsearch&type=Repositories&utf8=%E2%9C%93"],"selectors":[{"id":"element","type":"SelectorElement","parentSelectors":["_root"],"selector":"li.repo-list-item","multiple":true,"delay":0},{"id":"name","type":"SelectorLink","parentSelectors":["element"],"selector":"a.v-align-middle","multiple":false,"delay":0},{"id":"intro","type":"SelectorText","parentSelectors":["element"],"selector":"p.col-12","multiple":false,"regex":"","delay":0},{"id":"tag","type":"SelectorText","parentSelectors":["element"],"selector":"div.topics-row-container","multiple":false,"regex":"","delay":0},{"id":"license","type":"SelectorText","parentSelectors":["element"],"selector":"p.f6:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"update","type":"SelectorText","parentSelectors":["element"],"selector":"p:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"language","type":"SelectorText","parentSelectors":["element"],"selector":"span[itemprop='programmingLanguage']","multiple":false,"regex":"","delay":0},{"id":"star","type":"SelectorText","parentSelectors":["element"],"selector":".pl-2 a","multiple":false,"regex":"","delay":0}]}

喜欢 (2)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址