Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对于 github.com 域名下的 raw 目录的文件访问会报 403 禁止访问的错误 #106

Open
MMMMMoris opened this issue Nov 13, 2023 · 1 comment

Comments

@MMMMMoris
Copy link

复现

可以试一下用代理下载这个链接对应的文件 [proxyURL]https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf

git clone [proxyURL]https://github.com/romkatv/powerlevel10k-media.git 不会报错,但是用 wget 获取其中一个特定文件会报 403

wget [proxyURL]https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf

只能将 github.com 域名修改为 raw.githubusercontent.com 来使用,例如 wget [proxyURL]https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/MesloLGS%20NF%20Bold%20Italic.ttf

这样才不会报错

希望修复一下

@benzBrake
Copy link

我试了一下 python 和 woker 版都没问题,是不是网络问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants