diff --git a/module/lyric.js b/module/lyric.js index c3e872149f7..b9bec0ae99a 100644 --- a/module/lyric.js +++ b/module/lyric.js @@ -1,17 +1,24 @@ // 歌词 module.exports = (query, request) => { - query.cookie.os = 'pc' + query.cookie.os = 'ios' + const data = { id: query.id, + tv: -1, lv: -1, + rv: -1, kv: -1, - tv: -1, } - return request('POST', `https://music.163.com/api/song/lyric`, data, { - crypto: 'api', - cookie: query.cookie, - proxy: query.proxy, - realIP: query.realIP, - }) + return request( + 'POST', + `https://music.163.com/api/song/lyric?_nmclfl=1`, + data, + { + crypto: 'api', + cookie: query.cookie, + proxy: query.proxy, + realIP: query.realIP, + }, + ) }