bug fixed

This commit is contained in:
Shawn
2020-12-27 13:32:41 +08:00
committed by GitHub
parent 8fb459d84d
commit 44acbe0f2e

View File

@@ -1,5 +1,5 @@
/** /**
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2020-12-26 18:49⟧ ☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2020-12-27 13:49⟧
---------------------------------------------------------- ----------------------------------------------------------
🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot 🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API ⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
@@ -491,6 +491,7 @@ function SCP2QX(subs) {
type = subs[i].replace(/\s+/g," ").split(" ")[0] type = subs[i].replace(/\s+/g," ").split(" ")[0]
js = subs[i].split("script-path")[1].split("=")[1].split(",")[0] js = subs[i].split("script-path")[1].split("=")[1].split(",")[0]
ptn = subs[i].replace(/\s+/g," ").split(" ")[1] ptn = subs[i].replace(/\s+/g," ").split(" ")[1]
subsi = subs[i].replace(/ /g,"").replace(/\=true/g,"=1")
if (type == "http-response" && subsi.indexOf("requires-body=1") != -1) { if (type == "http-response" && subsi.indexOf("requires-body=1") != -1) {
type = "script-response-body " type = "script-response-body "
} else if (type == "http-response" && subsi.indexOf("requires-body=1") == -1) { } else if (type == "http-response" && subsi.indexOf("requires-body=1") == -1) {