YesPlayMusic/napi/module/simi_user.js

21 lines
381 B
JavaScript
Raw Normal View History

2020-10-27 23:08:38 +08:00
// 相似用户
module.exports = (query, request) => {
const data = {
songid: query.id,
limit: query.limit || 50,
offset: query.offset || 0,
};
return request(
'POST',
`https://music.163.com/weapi/discovery/simiUser`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
);
};