From e896629f575170c53e76174908a296f1a1d23f2c Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 2 Apr 2023 09:04:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuman.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuman.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SrcJuman.js b/SrcJuman.js index 39a2fa38..74d3035b 100644 --- a/SrcJuman.js +++ b/SrcJuman.js @@ -158,8 +158,9 @@ function erji(name) { } }); - let erjisource = storage0.getMyVar('erjisource'+name); + let erjisource = config.erjisource || storage0.getMyVar('erjisource'+name); if(erjisource){ + initConfig({erjisource:erjisource}); try{ let parse = config.parse; if(!config.parse){ @@ -180,7 +181,7 @@ function erji(name) { initConfig({parse:parse}); log('111') } - + log(config) let html = request(erjisource.url); MY_HOME = parse['链接']; let 详情 = parse['详情'];