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

网易云音乐接口变动,望更新下。 #119

Open
ajbone opened this issue Jun 7, 2017 · 3 comments
Open

网易云音乐接口变动,望更新下。 #119

ajbone opened this issue Jun 7, 2017 · 3 comments

Comments

@ajbone
Copy link

ajbone commented Jun 7, 2017

122行,使用durl = u'http://p1.music.126.net/%s/%s.mp3',报错如下:
python music.163.com.py http://music.163.com/#/song?id=432780721

-- 正在分析歌曲信息 ...

1 首歌曲将要下载.

正在下载: #1/1# 1.Summer Air - ItaloBrothers.mp3
mp3_quality: High
http://p1.music.126.net/hmZoNQaqzZALvVp0rE7faA==/0.mp3:
2017-06-07 11:34:29 ERROR 404: Not Found.

----### ERROR ==> 2048 (Server issued an error response.) ###---

===> wget -c -nv -U "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36" -O "/Users/lazybone/vobile/iScript/1.Summer Air - ItaloBrothers.mp3.tmp" http://p1.music.126.net/hmZoNQaqzZALvVp0rE7faA==/0.mp3
——————————————————————————————————————————————

122行,使用durl = u'http://m2.music.126.net/%s/%s.mp3',报错如下:

-- 正在分析歌曲信息 ...

1 首歌曲将要下载.

正在下载: #1/1# 1.Summer Air - ItaloBrothers.mp3
mp3_quality: High
http://m2.music.126.net/hmZoNQaqzZALvVp0rE7faA==/0.mp3:
2017-06-07 11:30:16 ERROR 404: Not Found.

----### ERROR ==> 2048 (Server issued an error response.) ###---

===> wget -c -nv -U "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36" -O "/Users/lazybone/vobile/iScript/1.Summer Air - ItaloBrothers.mp3.tmp" http://m2.music.126.net/hmZoNQaqzZALvVp0rE7faA==/0.mp3

现在网页不提供下载,我手机安装APP,然后下载抓包看了下,下载地址变成了,http://m8.music.126.net。
实际下载的路径跟以前组合的不一致,变成如下URL:
http://m8.music.126.net/20170607121126/1486cc25e19a0d2040514f6316fefe82/ymusic/10d9/e02a/7dfb/415556f7f4df531b0a073ce1aa6f5866.mp3

@Coioidea
Copy link

所以好像API变了,导致以前的脚本都不可用。声援一下,希望尽快更新。

@athrunsun
Copy link

日期后面那些参数是什么,有线索吗?

@sherry255
Copy link

dfsId.
不过有些通过接口获取的 dfsId 成了0...

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

4 participants