From 44b273d0b8cb2774a89b83ac22b80fde1aa3846c Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Thu, 12 Sep 2024 17:39:27 +0800 Subject: [PATCH] =?UTF-8?q?Update=20IPTV=E6=90=9C=E7=B4=A2=E5=BC=95?= =?UTF-8?q?=E6=93=8E=E9=87=87=E9=9B=86.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/IPTV搜索引擎采集.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/IPTV搜索引擎采集.py b/py/IPTV搜索引擎采集.py index a0c66a5..2e4ba9e 100644 --- a/py/IPTV搜索引擎采集.py +++ b/py/IPTV搜索引擎采集.py @@ -417,7 +417,7 @@ def txt_to_m3u(input_file, output_file): now = datetime.now() current_time = now.strftime("%H:%M:%S") with open(output_file, 'w', encoding='utf-8') as f: - f.write(f'#EXTINF:-1 ,更新时间{current_time}\n') + f.write(f'#EXTINF:-1 group-title="更新时间{current_time}",请您欣赏\n') f.write(f'https://vd2.bdstatic.com/mda-mi1dd05gmhwejdwn/sc/cae_h264/1630576203346678103/mda-mi1dd05gmhwejdwn.mp4\n') f.write('#EXTM3U x-tvg-url="https://live.fanmingming.com/e.xml" catchup="append" catchup-source="?playseek=${(b)yyyyMMddHHmmss}-${(e)yyyyMMddHHmmss}"\n') # 初始化genre变量