From 6e7763bd3505b9558a76afc96403beaf0a4cfc88 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:19:19 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/py/IPTV搜索引擎采集.py b/py/IPTV搜索引擎采集.py index f033e28..9b82e19 100644 --- a/py/IPTV搜索引擎采集.py +++ b/py/IPTV搜索引擎采集.py @@ -410,6 +410,7 @@ simplified_text = converter.convert(traditional_text) with open('综合源.txt', 'w', encoding='utf-8') as file: file.write(simplified_text) #TXT转M3U# +import datetime def txt_to_m3u(input_file, output_file): # 读取txt文件内容 with open(input_file, 'r', encoding='utf-8') as f: