From 2fdeae384c17baafb7d08ad13bdc29da889c034e Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Tue, 13 Aug 2024 19:37:22 +0800 Subject: [PATCH] =?UTF-8?q?Update=20iptv=E6=B5=81=E7=95=85=E5=BA=A6?= =?UTF-8?q?=E6=A3=80=E6=B5=8B.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/iptv流畅度检测.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/py/iptv流畅度检测.py b/py/iptv流畅度检测.py index 89e3439..cd8cde6 100644 --- a/py/iptv流畅度检测.py +++ b/py/iptv流畅度检测.py @@ -521,14 +521,6 @@ for url in urls: channels = [] for result in results: line = result.strip() - #if result: - #channel_name, channel_url = result.split(',') - #channels.append((channel_name, channel_url)) -#with open("iptv.txt", 'a', encoding='utf-8') as file: #打开文本以追加的形式写入行到ZHGX文件 - #for result in results: - #file.write(result + "\n") - #print(result) - try: # 尝试分割字符串,如果格式不正确则引发 ValueError channel_name, channel_url = line.split(',', 1) # 使用逗号分割一次