被反爬虫了
zhujinle opened this issue · comments
全部返回{"code":-460,"msg":"Cheating"}
被网易云识别为爬虫
2018-11-9 16:41:33:已经修复。
以下是另外可用接口:
Request URL: https://music.163.com/weapi/song/enhance/player/url
Request Method: POST
Status Code: 200 OK
Remote Address: 59.111.160.195:443
Referrer Policy: no-referrer-when-downgrade
Referer: https://music.163.com/m/song?id=1321382242
Form Data:
params和encSecKey,JS本地化解一下
Response:
{"data":[{"id":562598081,"url":"http://m10.music.126.net/20181109155347/0e7ec7b930450d721edf061731b949c5/ymusic/bd7f/4fd0/8d2e/9c0931164d5275c01346ac32431f4084.mp3","br":128000,"size":3871599,"md5":"9c0931164d5275c01346ac32431f4084","code":200,"expi":1200,"type":"mp3","gain":0.005,"fee":8,"uf":null,"payed":0,"flag":256,"canExtend":false,"freeTrialInfo":null}],"code":200}
NetEasy,你大爷。。。。