YesPlayMusic/netease_api/module/program_recommend.js
2021-03-06 22:07:16 +08:00

21 lines
382 B
JavaScript

// 推荐节目
module.exports = (query, request) => {
const data = {
cateId: query.type,
limit: query.limit || 10,
offset: query.offset || 0,
}
return request(
'POST',
`https://music.163.com/weapi/program/recommend/v1`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}