|
|
|
@ -708,12 +708,12 @@ function SRCSet() { |
|
|
|
|
let jxnum = 0; |
|
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJySet.js'); |
|
|
|
|
let jiexis = fetch(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'jiexi.txt',{timeout:2000}); |
|
|
|
|
log(jiexis) |
|
|
|
|
|
|
|
|
|
if(jiexis){ |
|
|
|
|
let jiexi = jiexis.split('\n'); |
|
|
|
|
let urls = []; |
|
|
|
|
for (let i=0;i<jiexi.length;i++) { |
|
|
|
|
if(/^http/.test(jiexi[i].split(',')[0])){ |
|
|
|
|
if(/^http/.test(jiexi[i].split(',')[1])){ |
|
|
|
|
let arr = { "name":jiexi[i].split(',')[0], "parse":jiexi[i].split(',')[1], "stopfrom":[], "priorfrom":[], "sort":1, "web":1 }; |
|
|
|
|
urls.push(arr); |
|
|
|
|
} |
|
|
|
|