From 8059169307c526dd464d77458c78b8f7042390b9 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Wed, 6 May 2020 20:22:34 +0800 Subject: [PATCH] =?UTF-8?q?SS=E8=A7=A3=E6=9E=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/resource-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/resource-parser.js b/Scripts/resource-parser.js index 766083e..08a13fc 100644 --- a/Scripts/resource-parser.js +++ b/Scripts/resource-parser.js @@ -1,5 +1,5 @@ /** -# Quantumult X 资源解析器 (2020-05-06: 12:33) +# Quantumult X 资源解析器 (2020-05-06: 20:33) 本资源解析器作者: Shawn(请勿私聊问怎么用), 有bug请反馈: @Shawn_KOP_bot @@ -407,7 +407,7 @@ function SS2QX(subs,Pudp,Ptfo){ var cnt=list0[i].split("ss://")[1] if(cnt.split(":").length<=6) { //排除难搞的 ipv6 节点 type="shadowsocks="; - ip=cnt.split("@")[1].split("/")[0]; + ip=cnt.split("@")[1].split("#")[0].split("/")[0]; pwdmtd=$base64.decode(cnt.split("@")[0].replace(/-/g,"+").replace(/_/g,"/")).split("\u0000")[0].split(":") pwd="password="+pwdmtd[1]; mtd="method="+pwdmtd[0];