mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-02 19:12:09 +08:00
更新电台详情/电台节目详情接口 #977
This commit is contained in:
parent
6a77fba237
commit
ed2e5fa953
@ -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)
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "3.43.0",
|
||||
"version": "3.44.0",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user