搜索接口更新

This commit is contained in:
binaryify 2022-09-13 14:16:03 +08:00
parent ae032b72a4
commit 06dec2e79b

View File

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