更新 'SrcLive.js'

pull/1/head
src48597962 2 years ago
parent 0e4a1f3f39
commit a97ea04df7
  1. 10
      SrcLive.js

@ -236,8 +236,10 @@ function LiveSet() {
col_type: 'text_center_1',
url: $('#noLoading#').lazyRule(() => {
let urls = [];
let JYlivefile=fetch("hiker://files/rules/Src/Juying/live.txt");
let JYlives = JYlivefile.split('\n');
let JYlivefile="hiker://files/rules/Src/Juying/live.txt";
let JYlive = fetch(JYlivefile);
if(JYlive!=""){
let JYlives = JYlive.split('\n');
for(let i = 0; i < JYlives.length; i++){
try{
if(JYlives[i].indexOf(',')>-1&&JYlives[i].indexOf('#genre#')==-1){
@ -258,6 +260,7 @@ function LiveSet() {
}
return 1;
}
log(urls.length)
let urlscheck = urls.map((list)=>{
return {
func: task,
@ -282,6 +285,9 @@ function LiveSet() {
}
writeFile(JYlivefile, JYlives.join('\n'));
return "toast://删除疑似失效源"+fails.length+"条";
}else{
return "toast://无直播数据源";
}
})
});
setHomeResult(d);

Loading…
Cancel
Save