bug fixed

This commit is contained in:
Shawn
2021-03-27 00:15:25 +08:00
parent 8c77cc815b
commit a59b2dedbb

View File

@@ -1,5 +1,5 @@
/** /**
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2021-03-26 22:59⟧ ☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2021-03-27 00:19⟧
---------------------------------------------------------- ----------------------------------------------------------
🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot 🛠 发现 𝐁𝐔𝐆 请反馈: @Shawn_KOP_bot
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API ⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
@@ -228,14 +228,14 @@ function ResourceParse() {
total = SGMD2QX(content0) // 转换 total = SGMD2QX(content0) // 转换
total = Rewrite_Filter(total, Pin0, Pout0,Preg); // 筛选过滤 total = Rewrite_Filter(total, Pin0, Pout0,Preg); // 筛选过滤
if (Preplace) { total = ReplaceReg(total, Preplace) } if (Preplace) { total = ReplaceReg(total, Preplace) }
if (Pcdn) {total = CDN(total)} if (Pcdn) {total = CDN(total)
//total = total.join("\n") } else { total = total.join("\n")}
} else if (type0 == "rewrite") { // rewrite 类型 } else if (type0 == "rewrite") { // rewrite 类型
flag = 2; flag = 2;
total = Rewrite_Filter(isQuanXRewrite(content0.split("\n")), Pin0, Pout0,Preg); total = Rewrite_Filter(isQuanXRewrite(content0.split("\n")), Pin0, Pout0,Preg);
if (Preplace) { total = ReplaceReg(total, Preplace) } if (Preplace) { total = ReplaceReg(total, Preplace) }
if (Pcdn) {total = CDN(total)} if (Pcdn) {total = CDN(total)
//total = total.join("\n") } else {total = total.join("\n")}
} else if (type0 == "Rule") { // rule 类型, 已处理完毕 } else if (type0 == "Rule") { // rule 类型, 已处理完毕
flag = 3; flag = 3;
total = Rule_Handle(content0.split("\n"), Pout0, Pin0).filter(Boolean); total = Rule_Handle(content0.split("\n"), Pout0, Pin0).filter(Boolean);