parent
7b5755de8a
commit
a1ba60791f
@ -0,0 +1,23 @@ |
||||
let cfgfile = "hiker://files/rules/Src/Juman/config.json"; |
||||
let Jumancfg=fetch(cfgfile); |
||||
if(Jumancfg != ""){ |
||||
eval("var JMconfig=" + Jumancfg+ ";"); |
||||
}else{ |
||||
var JMconfig= {}; |
||||
} |
||||
let yijisource = JMconfig['yijisource'] || "神漫画"; |
||||
|
||||
let sourcefile = "hiker://files/rules/Src/Juman/jiekou.json"; |
||||
let sourcedata = fetch(sourcefile); |
||||
if(sourcedata != ""){ |
||||
eval("var datalist=" + sourcedata+ ";"); |
||||
}else{ |
||||
var datalist = []; |
||||
} |
||||
|
||||
let yidatalist = datalist.filter(it=>{ |
||||
return it.parse; |
||||
}); |
||||
let erdatalist = datalist.filter(it=>{ |
||||
return it.erparse; |
||||
}); |
Loading…
Reference in new issue