You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
432 B

12 months ago
// 获取客户端歌曲下载链接
module.exports = (query, request) => {
const data = {
id: query.id,
br: parseInt(query.br || 999000),
}
return request(
'POST',
`https://interface.music.163.com/eapi/song/enhance/download/url`,
data,
{
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
url: '/api/song/enhance/download/url',
},
)
}