mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-26 02:09:51 +08:00
20 lines
363 B
JavaScript
20 lines
363 B
JavaScript
// 视频链接
|
|
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
ids: '["' + query.id + '"]',
|
|
resolution: query.res || 1080,
|
|
}
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/weapi/cloudvideo/playurl`,
|
|
data,
|
|
{
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
},
|
|
)
|
|
}
|