update SrcJyXunmi.js.

pull/1/head
src48597962 3 years ago committed by Gitee
parent bb49567bda
commit 9a37d5fb12
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 11
      SrcJyXunmi.js

@ -16,7 +16,13 @@ function xunmi(name,data) {
var datalist = []; var datalist = [];
} }
try{ try{
var dyhtml = fetchCache("http://home.jundie.top:81/666.json",48, { timeout:2000 }); var cfgfile = "hiker://files/rules/Src/Juying/config.json";
var Juyingcfg=fetch(cfgfile);
if(Juyingcfg != ""){
eval("var JYconfig=" + Juyingcfg+ ";");
}
if(JYconfig.TVBoxDY){
var dyhtml = fetchCache(JYconfig.TVBoxDY,48, { timeout:2000 });
var reg = /("([^\\\"]*(\\.)?)*")|('([^\\\']*(\\.)?)*')|(\/{2,}.*?(\r|\n|$))|(\/\*(\n|.)*?\*\/)/g; var reg = /("([^\\\"]*(\\.)?)*")|('([^\\\']*(\\.)?)*')|(\/{2,}.*?(\r|\n|$))|(\/\*(\n|.)*?\*\/)/g;
dyhtml = dyhtml.replace(reg, function(word) { dyhtml = dyhtml.replace(reg, function(word) {
return /^\/{2,}/.test(word) || /^\/\*/.test(word) ? "" : word; return /^\/{2,}/.test(word) || /^\/\*/.test(word) ? "" : word;
@ -72,7 +78,7 @@ function xunmi(name,data) {
} }
} }
} }
}
}catch(e){ }catch(e){
log(e.message) log(e.message)
} }
@ -328,6 +334,7 @@ function xunmi(name,data) {
let mark = ""; let mark = "";
list.push({"id":href,"name":title,"pic":img,"desc":mark}) list.push({"id":href,"name":title,"pic":img,"desc":mark})
} }
if(jsondata.sousuohouzhui=="/vod/"){jsondata.sousuohouzhui = "/index.php/vod/detail/id/"}
} }
var ssvodurl = `jsondata.url+jsondata.sousuohouzhui+list.id+'.html'`; var ssvodurl = `jsondata.url+jsondata.sousuohouzhui+list.id+'.html'`;
} }

Loading…
Cancel
Save