YesPlayMusic/netease_api/module/artist_album.js

21 lines
386 B
JavaScript
Raw Normal View History

2021-03-06 22:04:18 +08:00
// 歌手专辑列表
module.exports = (query, request) => {
const data = {
limit: query.limit || 30,
offset: query.offset || 0,
total: true,
}
return request(
'POST',
`https://music.163.com/weapi/artist/albums/${query.id}`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}