From 8f015a1e9f38e3570f477cad3ae57c92e0f358b4 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 6 Aug 2023 19:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuSet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuSet.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SrcJuSet.js b/SrcJuSet.js index e5dc5d63..179492a9 100644 --- a/SrcJuSet.js +++ b/SrcJuSet.js @@ -618,7 +618,12 @@ function JYimport(input) { if (inputname == "聚阅接口") { showLoading("正在导入,请稍后..."); let parseurl = aesDecode('SrcJu', input.split('¥')[1]); - let content = parsePaste(parseurl); + let content; + if(/^http/.test(parseurl)){ + content = parsePaste(parseurl); + }else{ + content = parseurl; + } let datalist2 = JSON.parse(aesDecode('SrcJu', content)); let num = 0; datalist.reverse();