mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
feat: 播客列表详情
This commit is contained in:
parent
d7a64982f9
commit
4f4727e6bb
@ -4310,6 +4310,16 @@ ONLINE 已发布
|
||||
|
||||
`radioId`: 电台id, 可以通过 https://music.163.com/#/djradio?id=996517258 访问的djradioId, 不是voiceListId
|
||||
|
||||
### 播客列表详情
|
||||
|
||||
说明: 可以获取播客封面、分类、名称、简介等
|
||||
|
||||
**接口地址:** `/voicelist/detail`
|
||||
|
||||
**必选参数:**
|
||||
|
||||
`id`: 播客id,即voiceListId
|
||||
|
||||
### 播客上传声音
|
||||
说明: 可以上传声音到播客,例子在 `/public/voice_upload.html` 访问地址: <a href="/voice_upload.html" target="_blank">/voice_upload.html</a>
|
||||
|
||||
|
16
module/voicelist_detail.js
Normal file
16
module/voicelist_detail.js
Normal file
@ -0,0 +1,16 @@
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
id: query.id,
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`https://interface.music.163.com/weapi/voice/workbench/voicelist/detail`,
|
||||
data,
|
||||
{
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
realIP: query.realIP,
|
||||
},
|
||||
)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user