mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-23 03:11:16 +08:00
22 lines
591 B
JavaScript
22 lines
591 B
JavaScript
// 精品歌单
|
|
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
cat: query.cat || '全部', // 全部,华语,欧美,韩语,日语,粤语,小语种,运动,ACG,影视原声,流行,摇滚,后摇,古风,民谣,轻音乐,电子,器乐,说唱,古典,爵士
|
|
limit: query.limit || 50,
|
|
lasttime: query.before || 0, // 歌单updateTime
|
|
total: true,
|
|
}
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/api/playlist/highquality/list`,
|
|
data,
|
|
{
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
},
|
|
)
|
|
}
|