更新 'SrcLive.js'

pull/1/head
src48597962 2 years ago
parent 21f8638900
commit e40f0d22c5
  1. 4
      SrcLive.js

@ -319,14 +319,16 @@ function LivePlay(name) {
let urls = [];
for(let i = 0;i<JYlives.length;i++){
try{
if(JYlives[i].indexOf(',')>-1&&JYlives[i].split(',')[0].replace(/TV-/g,'TV').replace(/\[.*\]/g,'').trim()==name){
if(JYlives[i].indexOf(',')>-1&&JYlives[i].indexOf('#genre#')==-1&&JYlives[i].split(',')[0].replace(/TV-/g,'TV').replace(/\[.*\]/g,'').trim()==name){
let url = JYlives[i].split(',')[1].trim();
let urll = url.split('#');
urll.forEach(item => {
if(/\\r^/.test(item)){
item = item.slice(0, item.length - 2);
}
if(item){
urls.push(item + '#isVideo=true#');
}
})
}
}catch(e){}

Loading…
Cancel
Save