Closed hujy23 closed 6 years ago
Same here
hans@VUbuntu:~/source/netease-cloud-music-dl$ ncm -a 2586490
1: The Sign
Return {'code': -460, 'msg': 'Cheating'} when try to post {'ids': [27114570], 'csrf_token': '', 'br': 320000} => http://music.163.com/weapi/song/enhance/player/url?csrf_token=
Traceback (most recent call last):
File "/usr/local/bin/ncm", line 11, in
网易 更新了?
对的,最近网易君的api接口有更新,做了反爬虫处理。最终发现是对Cookie
里面的_ntes_nuid
做了校验,目前采用随机生成_ntes_nuid
的方式可以解决,参考了以下项目的方案~
赞 ( ̄3 ̄)
无法下载音乐,提示Cheating