search接口回滚

This commit is contained in:
binaryify 2022-12-14 09:45:11 +08:00
parent 61cdcdeee7
commit a85797665d

View File

@ -21,15 +21,10 @@ module.exports = (query, request) => {
limit: query.limit || 30, limit: query.limit || 30,
offset: query.offset || 0, offset: query.offset || 0,
} }
return request( return request('POST', `https://music.163.com/weapi/search/get`, data, {
'POST', crypto: 'weapi',
`https://music.163.com/weapi/cloudsearch/get/web`, cookie: query.cookie,
data, proxy: query.proxy,
{ realIP: query.realIP,
crypto: 'weapi', })
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
} }