chore: remove netease api code from repo

This commit is contained in:
qier222 2021-01-26 11:56:03 +08:00
parent e1f1d18aa4
commit 4bce2c7071
228 changed files with 1 additions and 20219 deletions

View file

@ -1,20 +0,0 @@
// 收藏与取消收藏歌手
module.exports = (query, request) => {
query.t = query.t == 1 ? 'sub' : 'unsub';
const data = {
artistId: query.id,
artistIds: '[' + query.id + ']',
};
return request(
'POST',
`https://music.163.com/weapi/artist/${query.t}`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
);
};