注意:这篇文章上次更新于1088天前,文章内容可能已经过时。
This article was last updated1088 days ago, the content may be outdated.
想当年 jsdelivr 在国内还能用的时候, GitHub 就是免费小网盘。
现在虽然国内访问不那么流畅了,但是用来存一些小的琐碎的日志文件还是不错的。
为了实现自动化,使用 Python 参考 GitHub API 文档 封装了一些常用功能。
Back when jsdelivr was still usable in China, GitHub was a free little online drive.
Although access from China is not as smooth now, it is still good for storing small, trivial log files.
To achieve automation, I used Python and referred to the GitHub API documentation to wrap some commonly used functions.
垃圾代码,还是使用 PyGithub 吧
1 | import requests |
Garbage code, just use PyGithub instead
1 | import requests |


