From 7a63614c2f1fe2b21c0d211f16361e4e5706d128 Mon Sep 17 00:00:00 2001 From: binaryify Date: Sun, 6 Jan 2019 17:54:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E`=E5=B7=B2=E6=94=B6=E8=97=8FM?= =?UTF-8?q?V`=E6=8E=A5=E5=8F=A3,=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=84=E8=AE=BA=E6=8E=A5=E5=8F=A3=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=20460=20Cheating=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 5 +++++ README.MD | 1 + docs/README.md | 9 +++++++++ module/comment_album.js | 1 + module/comment_dj.js | 1 + module/comment_music.js | 1 + module/comment_mv.js | 1 + module/comment_playlist.js | 1 + module/comment_video.js | 1 + package.json | 2 +- 10 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 3c5cac7..9665773 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,9 @@ # 更新日志 +### 3.1.0 | 2019.01.06 +- 修复评论接口返回 460 Cheating 的问题 + +- 新增`已收藏MV`接口,更新文档 + ### 3.0.9 | 2018.12.15 - 修复关注异常的问题 #399 diff --git a/README.MD b/README.MD index deeb0f1..95611d4 100644 --- a/README.MD +++ b/README.MD @@ -108,6 +108,7 @@ 86. 关注用户 87. 新歌速递 88. 喜欢音乐列表(无序) +89. 收藏的 MV 列表 ## 环境要求 diff --git a/docs/README.md b/docs/README.md index faa6d55..ed40dac 100644 --- a/docs/README.md +++ b/docs/README.md @@ -104,6 +104,7 @@ 86. 关注用户 87. 新歌速递 88. 喜欢音乐列表(无序) +89. 收藏的 MV 列表 ## 安装 @@ -566,6 +567,14 @@ category Code 取值: **调用例子 :** `/mv/sub` +### 收藏的 MV 列表 + +说明 : 调用此接口,可获取收藏的 MV 列表 + +**接口地址 :** `/mv/sublist` + +**调用例子 :** `/mv/sublist` + ### 歌单分类 说明 : 调用此接口,可获取歌单分类,包含 category 信息 diff --git a/module/comment_album.js b/module/comment_album.js index d524a43..9261320 100644 --- a/module/comment_album.js +++ b/module/comment_album.js @@ -1,6 +1,7 @@ // 专辑评论 module.exports = (query, request) => { + query.cookie.os = 'pc' const data = { rid: query.id, limit: query.limit || 20, diff --git a/module/comment_dj.js b/module/comment_dj.js index 1dc2346..beb5e20 100644 --- a/module/comment_dj.js +++ b/module/comment_dj.js @@ -1,6 +1,7 @@ // 电台评论 module.exports = (query, request) => { + query.cookie.os = 'pc' const data = { rid: query.id, limit: query.limit || 20, diff --git a/module/comment_music.js b/module/comment_music.js index bd31a66..68dd2a6 100644 --- a/module/comment_music.js +++ b/module/comment_music.js @@ -1,6 +1,7 @@ // 歌曲评论 module.exports = (query, request) => { + query.cookie.os = 'pc' const data = { rid: query.id, limit: query.limit || 20, diff --git a/module/comment_mv.js b/module/comment_mv.js index 2075ba5..da0c9bf 100644 --- a/module/comment_mv.js +++ b/module/comment_mv.js @@ -1,6 +1,7 @@ // MV评论 module.exports = (query, request) => { + query.cookie.os = 'pc' const data = { rid: query.id, limit: query.limit || 20, diff --git a/module/comment_playlist.js b/module/comment_playlist.js index a226a7f..44f85f7 100644 --- a/module/comment_playlist.js +++ b/module/comment_playlist.js @@ -1,6 +1,7 @@ // 歌单评论 module.exports = (query, request) => { + query.cookie.os = 'pc' const data = { rid: query.id, limit: query.limit || 20, diff --git a/module/comment_video.js b/module/comment_video.js index 2e0b568..4253860 100644 --- a/module/comment_video.js +++ b/module/comment_video.js @@ -1,6 +1,7 @@ // 视频评论 module.exports = (query, request) => { + query.cookie.os = 'pc' const data = { rid: query.id, limit: query.limit || 20, diff --git a/package.json b/package.json index fe57fbd..7af7f12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "3.0.9", + "version": "3.1.0", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js",