MakcRe / KuGouMusicApi

酷狗音乐 Node.js API service
https://kugoumusicapi-docs.4everland.app
MIT License
150 stars 96 forks source link

获取音乐的URL地址返回status:2 是什么意思 #35

Open iAJue opened 3 hours ago

iAJue commented 3 hours ago

{"priv_status":0,"hash_offset":{"start_byte":0,"end_ms":60000,"end_byte":960157,"file_type":0,"start_ms":0,"offset_hash":"A139C9CA1AFDAA59BFF3B81574677E6E"},"trans_param":{"classmap":{"attr0":234881032},"display":0,"display_rate":0},"status":2,"fail_process":["pkg","buy"]}

http://127.0.0.1:3000/song/url?hash=37BC37EC561D11DFF8FDAF04AE26187E

iAJue commented 3 hours ago

为什么会获取失败?已经登录了账号,并且也是VIP

MakcRe commented 3 hours ago

如果已经登陆账号了,并且也是VIP,可以确认一下 token 是否传过去了

MakcRe commented 3 hours ago

http://127.0.0.1:3000/song/url?hash=37BC37EC561D11DFF8FDAF04AE26187E&cookie=token=xxx;userid=xxx 你也可以尝试这样获取看能否成功,把上面链接的xxx换成你的token和userid