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",