Update resource-parser.js

This commit is contained in:
Shawn Wen
2025-12-30 17:57:54 +08:00
parent 57d9b2f03e
commit ef9303792a

View File

@@ -1,5 +1,5 @@
/** /**
☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2025-12-30 15:30⟧ ☑️ 资源解析器 ©𝐒𝐡𝐚𝐰𝐧 ⟦2025-12-30 18:00⟧
---------------------------------------------------------- ----------------------------------------------------------
🛠 发现 𝐁𝐔𝐆 请反馈: https://t.me/ShawnKOP_Parser_Bot 🛠 发现 𝐁𝐔𝐆 请反馈: https://t.me/ShawnKOP_Parser_Bot
⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API ⛳️ 关注 🆃🅶 相关频道: https://t.me/QuanX_API
@@ -2235,7 +2235,7 @@ function SS2QX(subs, Pudp, Ptfo) {
if (cntt.indexOf("@") != -1 && cntt.indexOf(":") != -1) { if (cntt.indexOf("@") != -1 && cntt.indexOf(":") != -1) {
ip = cnt.split("@")[1].split("#")[0].split("/")[0].split("?")[0]; ip = cnt.split("@")[1].split("#")[0].split("/")[0].split("?")[0];
if(cntt.indexOf("%")==-1 || cntt.split("@")[0].indexOf(":")==-1){ // 2025-05-16 if(cntt.indexOf("%")==-1 || cntt.split("@")[0].indexOf(":")==-1){ // 2025-05-16
pwdmtd = Base64.decode(cnt.split("@")[0].replace(/-/g, "+").replace(/_/g, "/")).split("\u0000")[0].split(":") pwdmtd = Base64.decode(cnt.split("@")[0].replace(/-/g, "+").replace(/_/g, "/").replace(/%3D/g,"")).split("\u0000")[0].split(":")
} else { } else {
pwdmtd = decodeURIComponent(cnt.split("@")[0]).split(":") pwdmtd = decodeURIComponent(cnt.split("@")[0]).split(":")
} }