Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
更新电台详情/电台节目详情接口 #977
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Oct 17, 2020
1 parent 6a77fba commit ed2e5fa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion module/dj_detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
17 changes: 6 additions & 11 deletions module/dj_program_detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "3.43.0",
"version": "3.44.0",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
Expand Down

1 comment on commit ed2e5fa

@vercel
Copy link

@vercel vercel bot commented on ed2e5fa Oct 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.