From abba859bdf9433f7352f04a96b7b8c344b89d6fc Mon Sep 17 00:00:00 2001 From: binaryify Date: Thu, 22 Nov 2018 14:35:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AD=8C=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=88=97=E8=A1=A8,=E6=8E=92=E8=A1=8C=E6=A6=9C,?= =?UTF-8?q?=E6=89=80=E6=9C=89=E6=A6=9C=E5=8D=95=E5=A4=B1=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98,=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3=20#380?= =?UTF-8?q?=20#381?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 4 ++-- README.MD | 17 +++++++++-------- docs/README.md | 24 ++++++++++++++++-------- module/top_list.js | 2 +- module/toplist.js | 2 +- package.json | 2 +- 6 files changed, 30 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 18c535f..09d5a63 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,6 +1,6 @@ # 更新日志 -### 3.0.6 | 2018.11.21 -- 修复歌单详情列表失效的问题 #380 #381 +### 3.0.7 | 2018.11.21 +- 修复歌单详情列表,排行榜,所有榜单失效的问题,更新文档 #380 #381 ### 3.0.4 | 2018.11.15 - 修复 `/song/url` 接口无法返回多个音乐数据的问题 diff --git a/README.MD b/README.MD index 6e3ef05..deeb0f1 100644 --- a/README.MD +++ b/README.MD @@ -99,14 +99,15 @@ 77. 热门评论 78. 视频评论 79. 退出登录 -80. 所有榜单内容摘要 -81. 收藏视频 -82. 收藏 MV -83. 视频详情 -84. 相关视频 -85. 关注用户 -86. 新歌速递 -87. 喜欢音乐列表(无序) +80. 所有榜单 +81. 所有榜单内容摘要 +82. 收藏视频 +83. 收藏 MV +84. 视频详情 +85. 相关视频 +86. 关注用户 +87. 新歌速递 +88. 喜欢音乐列表(无序) ## 环境要求 diff --git a/docs/README.md b/docs/README.md index 4ec68bf..6dd5fe2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -95,14 +95,15 @@ 77. 热门评论 78. 视频评论 79. 退出登录 -80. 所有榜单内容摘要 -81. 收藏视频 -82. 收藏 MV -83. 视频详情 -84. 相关视频 -85. 关注用户 -86. 新歌速递 -87. 喜欢音乐列表(无序) +80. 所有榜单 +81. 所有榜单内容摘要 +82. 收藏视频 +83. 收藏 MV +84. 视频详情 +85. 相关视频 +86. 关注用户 +87. 新歌速递 +88. 喜欢音乐列表(无序) ## 安装 @@ -1519,6 +1520,13 @@ MV 数据 , 数据包含 mv 名字 , 歌手 , 发布时间 , mv 视频地址等 ![排行榜](https://raw.githubusercontent.com/Binaryify/NeteaseCloudMusicApi/master/static/top_list.png) +### 所有榜单 + +说明 : 调用此接口,可获取所有榜单 +**接口地址 :** `/toplist` + +**调用例子 :** `/toplist` + ### 所有榜单内容摘要 说明 : 调用此接口,可获取所有榜单内容摘要 diff --git a/module/top_list.js b/module/top_list.js index b20879c..edbc40f 100644 --- a/module/top_list.js +++ b/module/top_list.js @@ -34,6 +34,6 @@ module.exports = (query, request) => { } return request( 'POST', `https://music.163.com/weapi/v3/playlist/detail`, data, - {crypto: 'weapi', cookie: query.cookie, proxy: query.proxy} + {crypto: 'linuxapi', cookie: query.cookie, proxy: query.proxy} ) } \ No newline at end of file diff --git a/module/toplist.js b/module/toplist.js index f4ae112..62c5b5d 100644 --- a/module/toplist.js +++ b/module/toplist.js @@ -3,6 +3,6 @@ module.exports = (query, request) => { return request( 'POST', `https://music.163.com/weapi/toplist`, {}, - {crypto: 'weapi', cookie: query.cookie, proxy: query.proxy} + {crypto: 'linuxapi', cookie: query.cookie, proxy: query.proxy} ) } \ No newline at end of file diff --git a/package.json b/package.json index fd29e57..48554d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "3.0.6", + "version": "3.0.7", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js", -- GitLab