diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 3c5cac78fa81400253ec43bb6b422fd9218322b6..9665773256361912dba8b4f85fa289801d834300 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 deeb0f195f4952b4b04f0fb2c9b306f38be4eb8a..95611d45a2a0ece9944190722b074ffd7098713a 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 faa6d554734d5ced0b021790ae2a1cf36d2b1c65..ed40daca1331361ce70498b56d23e146ef5111dc 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 d524a43c6ea47d0e0e5326c5fb1c08f4ae08c633..92613207aeec88d24e03d91d77ad38cfd47d7346 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 1dc23469434d1109347b4dd008f6395b61f0cf63..beb5e200a218b629cfca67a8620f79b5b1bfb421 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 bd31a6660da5874c6580cad42772b85f3915b3b1..68dd2a6e94b4378de7c0eccd5aeabd1ef2c19e42 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 2075ba5863380746b967877dff3c3f2c4ef9603e..da0c9bf6a7530a349716240a97cf0d47c16d8498 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 a226a7f4fdea4a758b9a166cd0af33db011537d1..44f85f7e68d0447bb2d53e1bd1d53283a57ce2a4 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 2e0b568302367dbab7496d2112d00588b4c6ca1d..4253860356d2822bcc2f74d6cf17efe1db60b063 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 fe57fbd29f6c8f00ea66caf24880a3c90933d197..7af7f12cec4c6d6fceeb4fb82c49c39ea2fe4622 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",