From 803fe8b0bc4b6ed75b05fadae1cfdc62e5396727 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 30 Oct 2024 08:20:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcLive.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcLive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SrcLive.js b/SrcLive.js index 4fa1ffd2..9cab87b0 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -863,7 +863,7 @@ function LiveSet() { for (let i = 0; i < urls.length; i++) { if (!livedata.some(item => item.url == urls[i].url)) { let YChtml = request(urls[i].url, { timeout: 5000 }).replace(/TV-/g, 'TV'); - if (YChtml.indexOf('#genre#') > -1) { + if (YChtml.indexOf('#genre#') > -1 || YChtml.indexOf('#EXTINF:-1') > -1) { livedata.push(urls[i]); livenum++; }