From a260e3b352fb9793b01a1415d677224b66a2abfd Mon Sep 17 00:00:00 2001 From: binaryify Date: Wed, 24 Apr 2019 19:29:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AD=8C=E8=AF=8D=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=87=BA=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ module/lyric.js | 7 +++++-- package.json | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index e72ca8a..80d59ac 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,7 @@ # 更新日志 +### 3.8.1 | 2019.04.24 +- 修复歌词接口出错问题 + ### 3.8.0 | 2019.04.14 - 增加注册,发送验证码,校验验证码接口 via:[https://github.com/Binaryify/NeteaseCloudMusicApi/pull/460](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/460) @[KongValley](https://github.com/KongValley) diff --git a/module/lyric.js b/module/lyric.js index ec4b5ca..7680b50 100644 --- a/module/lyric.js +++ b/module/lyric.js @@ -1,8 +1,11 @@ // 歌词 module.exports = (query, request) => { + const data={ + id:query.id + } return request( - 'POST', `https://music.163.com/weapi/song/lyric?os=osx&id=${query.id}&lv=-1&kv=-1&tv=-1`, {}, - {crypto: 'weapi', cookie: query.cookie, proxy: query.proxy} + 'POST', `https://music.163.com/weapi/song/lyric?lv=-1&kv=-1&tv=-1`, data, + {crypto: 'linuxapi', cookie: query.cookie, proxy: query.proxy} ) } \ No newline at end of file diff --git a/package.json b/package.json index 92c1860..f530710 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "3.8.0", + "version": "3.8.1", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js", -- GitLab