mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
chore: remove netease api code from repo
This commit is contained in:
parent
e1f1d18aa4
commit
4bce2c7071
228 changed files with 1 additions and 20219 deletions
|
|
@ -1,19 +0,0 @@
|
|||
// 批量请求接口
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
e_r: true,
|
||||
};
|
||||
Object.keys(query).forEach((i) => {
|
||||
if (/^\/api\//.test(i)) {
|
||||
data[i] = query[i];
|
||||
}
|
||||
});
|
||||
return request('POST', `https://music.163.com/eapi/batch`, data, {
|
||||
crypto: 'eapi',
|
||||
proxy: query.proxy,
|
||||
url: '/api/batch',
|
||||
cookie: query.cookie,
|
||||
realIP: query.realIP,
|
||||
});
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue