修复部分歌曲无法获得播放链接的问题 #531

This commit is contained in:
binaryify
2019-07-14 11:03:25 +08:00
parent cfa939bb84
commit 07c4ae8736
3 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@ const crypto = require('crypto')
module.exports = (query, request) => {
if(!('MUSIC_U' in query.cookie)) query.cookie._ntes_nuid = crypto.randomBytes(16).toString("hex")
query.cookie.os = 'pc'
const data = {
ids: '[' + query.id + ']',
br: parseInt(query.br || 999000)