更新 'SrcLive.js'

pull/1/head
src48597962 2 years ago
parent 6b36d5aaab
commit 2e44615956
  1. 14
      SrcLive.js

@ -43,12 +43,16 @@ function Live() {
} }
} }
if(JYlivedyurl!="juying"){ if(JYlivedyurl!="juying"){
showLoading('发现订阅源,正在初始化'); try{
let YChtml = fetchCache(JYlivedyurl,24,{timeout:3000}).replace(/TV-/g,'TV').replace(/\[.*\]/g,''); showLoading('发现订阅源,正在初始化');
if(YChtml.indexOf('#genre#')>-1){ let YChtml = fetchCache(JYlivedyurl,48,{timeout:3000}).replace(/TV-/g,'TV').replace(/\[.*\]/g,'');
JYlive = YChtml; if(YChtml.indexOf('#genre#')>-1){
JYlive = YChtml;
}
hideLoading();
}catch(e){
log(e.message);
} }
hideLoading();
} }
} }

Loading…
Cancel
Save