We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 006d2ad commit 09bfdf1Copy full SHA for 09bfdf1
download.py
@@ -131,7 +131,8 @@ def download_github_raw_content(
131
"""
132
# 先加入比较快的几个镜像
133
urls = [
134
- f"https://github.do/https://raw.githubusercontent.com/{owner}/{repo_name}/{branch_name}/{filepath_in_repo}",
+ # 下面这个似乎会缓存很久,不会及时更新,先注释掉
135
+ # f"https://github.do/https://raw.githubusercontent.com/{owner}/{repo_name}/{branch_name}/{filepath_in_repo}",
136
f"https://hk1.monika.love/{owner}/{repo_name}/{branch_name}/{filepath_in_repo}",
137
]
138
@@ -166,4 +167,4 @@ def download_github_raw_content(
166
167
168
if __name__ == "__main__":
169
# download_latest_github_release()
- download_github_raw_content("CHANGELOG.MD")
170
+ download_github_raw_content("config.cloud.toml")
0 commit comments