[feat] 新增 云随机播放 API [undocumented]

This commit is contained in:
kengwang 2023-08-19 14:46:36 +08:00
parent 6b28f34b5b
commit 511837df3a
No known key found for this signature in database
GPG Key ID: 9ED4CB8A0CF42B18

View File

@ -0,0 +1,19 @@
// 云随机播放
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
ids: query.ids,
}
return request(
'POST',
`https://interface3.music.163.com/eapi/playmode/song/vector/get`,
data,
{
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
url: '/api/playmode/song/vector/get',
},
)
}