From 0e76c18acd235bc0e65084da91ee52b2f339d316 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 5 Sep 2024 17:40:13 +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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/SrcLive.js b/SrcLive.js index 2b6c8c5f..0508d1da 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -131,10 +131,10 @@ function Live() { group = JYlives[i].split(',')[0]; } else if (JYlives[i].indexOf(',') > -1) { let one = JYlives[i].split(','); - datalist.push({ group: group, name: one[0].trim(), url: one[1].trim() }); + datalist.push({ group: group, name: one[0].trim() });//, url: one[1].trim() } } else if (JYlives[i].indexOf('group-title') > -1) { - datalist.push({ group: JYlives[i].match(/group-title="(.*?)"/)[1], name: JYlives[i].match(/",(.*?)\n/)[1], url: JYlives[i].split("\n")[1] }); + datalist.push({ group: JYlives[i].match(/group-title="(.*?)"/)[1], name: JYlives[i].match(/",(.*?)\n/)[1] });//, url: JYlives[i].split("\n")[1] } } catch (e) { //log(e.message); @@ -147,8 +147,7 @@ function Live() { obj[next.name] ? "" : (obj[next.name] = true && newArr.push(next)); return newArr; }, []); - log(datalist.length); - log(datalist[0]); + storage0.putMyVar('JYlive_datalist', datalist); }