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

download netease-music-cloud时候出现403错误,详见报错 #3

Open
StarkChristmas opened this issue Mar 3, 2020 · 1 comment

Comments

@StarkChristmas
Copy link

StarkChristmas commented Mar 3, 2020

download netease-music-cloud时候出现403错误

➜  makepkg -si                                                                 ✔  23:24:43
==> Making package: netease-cloud-music 1.2.1-1 (Tue 03 Mar 2020 11:24:49 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading netease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403 Forbidden
==> ERROR: Failure while downloading https://d1.music.126.net/dmusic/netease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb
    Aborting...
@StarkChristmas
Copy link
Author

经过这几天的折腾,发现了解决办法:
我尝试

curl -O https://d1.music.126.net/dmusic/netease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb

md5sum之后:

aeadfdd3b2153e468a505bcd28268824  netease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb

ls -alth看了一下大小原来只有235,这一看就不对啊

-rw-r--r--  1 hacker users  235  3月 22 22:20 netease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb

我直接从chrome上下载在校验

1f47c7dc3d9ce46da8099e539ee8a74d  netease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb

这回就对上了,再次makepkg 就没问题了

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

1 participant