From 7bb48bace093d45b2cb953cd8388f65f9a132e5e Mon Sep 17 00:00:00 2001 From: binaryify Date: Mon, 5 Oct 2020 13:13:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=AD=8C=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ module/playlist_detail.js | 17 ++++++----------- package.json | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 6e67c23..80701de 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,7 @@ # 更新日志 +### 3.42.2 | 2020.10.05 +- 更新歌单详情接口 + ### 3.42.1 | 2020.10.04 - 新增`用户绑定信息`,`用户绑定手机`,`新版评论`,`点赞过的视频`,`收藏视频到视频歌单`,`删除视频歌单里的视频`,`最近播放的视频`,`音乐日历`等接口 diff --git a/module/playlist_detail.js b/module/playlist_detail.js index f4bda3d..ad139e0 100644 --- a/module/playlist_detail.js +++ b/module/playlist_detail.js @@ -6,15 +6,10 @@ module.exports = (query, request) => { n: 100000, s: query.s || 8, } - return request( - 'POST', - `https://music.163.com/weapi/v3/playlist/detail`, - data, - { - crypto: 'linuxapi', - cookie: query.cookie, - proxy: query.proxy, - realIP: query.realIP, - }, - ) + return request('POST', `https://music.163.com/api/v6/playlist/detail`, data, { + crypto: 'linuxapi', + cookie: query.cookie, + proxy: query.proxy, + realIP: query.realIP, + }) } diff --git a/package.json b/package.json index b74c984..76aa090 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "3.42.1", + "version": "3.42.2", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js",