Python爬虫技术,如何快速对比多个库的数据

时间:2022-01-26 15:23:48
【文件属性】:

文件名称:Python爬虫技术,如何快速对比多个库的数据

文件大小:176.08MB

文件格式:RAR

更新时间:2022-01-26 15:23:48

爬虫 python 开发语言 后端

def check_repos(names): repo_api = 'https://api.github.com/search/repositories?q=' ecosys_api = 'https://api.github.com/search/repositories?q=topic:' for name in names: repo_info = requests.get(repo_api+name).json()['items'][0] # 1/json --2/dict -- 3/dict['items'] -- list[0] -- django {name:django,star:123} stars = repo_info['stargazers_count'] forks = repo_info['forks_count'] ecosys_info = requests.get(ecosys_api+name).json()['total_count']


【文件预览】:
如何快速对比多个库的数值
----界面.png(417KB)
----2. 如何快速对比多个库的数值.mp4(187.42MB)
----代码.docx(12KB)
----Python 小项目.docx(16KB)
----Python 小项目.png(61KB)

网友评论