From 8da18c8f580b1dbba82cd026fc582722bbe02501 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 16 Oct 2022 18:38:47 +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, 6 insertions(+), 1 deletion(-) diff --git a/SrcLive.js b/SrcLive.js index ae750e0c..4f1b6336 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -230,6 +230,9 @@ function LiveSet() { return "hiker://empty"; }) }); + d.push({ + col_type: 'line' + }); d.push({ title: '删除失效的直播源地址', desc: '此功能为实验性的,可能存在误删,谨慎操作!\n通过判断地址是否可以访问来甄别有效性', @@ -260,7 +263,7 @@ function LiveSet() { } return 1; } - log(urls.length) + let urlscheck = urls.map((list)=>{ return { func: task, @@ -270,6 +273,7 @@ function LiveSet() { }); log(urlscheck.length) + showLoading('多线程检测中'); be(urlscheck, { func: function(obj, id, error, taskResult) { }, @@ -284,6 +288,7 @@ function LiveSet() { } } writeFile(JYlivefile, JYlives.join('\n')); + hideLoading(); return "toast://删除疑似失效源"+fails.length+"条"; }else{ return "toast://无直播数据源";