mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-04 17:18:54 +08:00
[feat] CloudSearch接口使用eapi代替weapi以同时支持UnblockNeteaseMusic
This commit is contained in:
parent
985a054658
commit
6a8144f227
@ -8,10 +8,16 @@ module.exports = (query, request) => {
|
|||||||
offset: query.offset || 0,
|
offset: query.offset || 0,
|
||||||
total: true,
|
total: true,
|
||||||
}
|
}
|
||||||
return request('POST', `https://music.163.com/api/cloudsearch/pc`, data, {
|
return request(
|
||||||
crypto: 'weapi',
|
'POST',
|
||||||
cookie: query.cookie,
|
`https://interface.music.163.com/eapi/cloudsearch/pc`,
|
||||||
proxy: query.proxy,
|
data,
|
||||||
realIP: query.realIP,
|
{
|
||||||
})
|
crypto: 'eapi',
|
||||||
|
cookie: query.cookie,
|
||||||
|
proxy: query.proxy,
|
||||||
|
url: '/api/cloudsearch/pc',
|
||||||
|
realIP: query.realIP,
|
||||||
|
},
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user