An open API service indexing awesome lists of open source software.

https://github.com/tim9liu9/python_github_collect_star

收集github上项目的star数、fork数、watch数
https://github.com/tim9liu9/python_github_collect_star

Last synced: 12 months ago
JSON representation

收集github上项目的star数、fork数、watch数

Awesome Lists containing this project

README

          

# python_github_collect_star
读取data_files文件夹里面的md格式项目[https://github.com/Tim9Liu9/TimLiu-iOS](https://github.com/Tim9Liu9/TimLiu-iOS),收集里面github上项目的star数、fork数、watch数,并且写回md文件里面去,同时检测github上的项目是否已经不存在,如果项目不存在,项目url写入:logs/stars_url_error.log 文件中。
技术栈:python3.x、requests的网络请求、BeautifulSoup4的css解析、logging的error保存到日志文件里面、threading多线程执行任务、re有点点复杂的正则表达式、txt文件的按行读取与写入。