mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-clawer.git
synced 2026-03-21 09:53:10 +00:00
fix: 更新抓包不全
This commit is contained in:
parent
bd0d1b436c
commit
3dea10d82f
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "api-clawer",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "网易云音乐客户端抓包工具",
|
||||
"main": "src/server/app.js",
|
||||
"scripts": {
|
||||
|
||||
@ -271,6 +271,7 @@ hook.request.after = (ctx) => {
|
||||
proxyRes.statusCode === 200
|
||||
)
|
||||
proxyRes.statusCode = 206;
|
||||
if (netease) {
|
||||
return request
|
||||
.read(proxyRes, true)
|
||||
.then((buffer) =>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user