diff --git a/CHANGELOG.MD b/CHANGELOG.MD index eca085810f1..8ca84d1192a 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,10 @@ # 更新日志 +### 3.44.0 | 2020.10.17 +- 更新`电台详情`,`电台节目详情`接口 [#977](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/977) + +#### Breaking change +- `电台详情`接口更新后数据结构有变化 + ### 3.43.0 | 2020.10.16 - 新增`电台订阅者列表`接口 [#971](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/971) diff --git a/module/dj_detail.js b/module/dj_detail.js index 5b680c87ca4..941024b0e9d 100644 --- a/module/dj_detail.js +++ b/module/dj_detail.js @@ -4,7 +4,7 @@ module.exports = (query, request) => { const data = { id: query.rid, } - return request('POST', `https://music.163.com/weapi/djradio/get`, data, { + return request('POST', `https://music.163.com/api/djradio/v2/get`, data, { crypto: 'weapi', cookie: query.cookie, proxy: query.proxy, diff --git a/module/dj_program_detail.js b/module/dj_program_detail.js index 1181951c976..70f3d2e3c5d 100644 --- a/module/dj_program_detail.js +++ b/module/dj_program_detail.js @@ -4,15 +4,10 @@ module.exports = (query, request) => { const data = { id: query.id, } - return request( - 'POST', - `https://music.163.com/weapi/dj/program/detail`, - data, - { - crypto: 'weapi', - cookie: query.cookie, - proxy: query.proxy, - realIP: query.realIP, - }, - ) + return request('POST', `https://music.163.com/api/dj/program/detail`, data, { + crypto: 'weapi', + cookie: query.cookie, + proxy: query.proxy, + realIP: query.realIP, + }) } diff --git a/package.json b/package.json index 6414810cbb3..82699a7402c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "3.43.0", + "version": "3.44.0", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js",