Update iptv流畅度检测.py

This commit is contained in:
frxz751113
2024-08-13 00:41:24 +08:00
committed by GitHub
parent ea8f4b3650
commit fe3eae5854
+1 -1
View File
@@ -1430,7 +1430,7 @@ def txt_to_m3u(input_file, output_file):
# 遍历txt文件内容 # 遍历txt文件内容
for line in lines: for line in lines:
line = line.strip() line = line.strip()
if "," in line: # 防止文件里面缺失,”号报错 if "," in line: # 防止文件里面缺失",”号报错
# if line: # if line:
# 检查是否是genre行 # 检查是否是genre行
channel_name, channel_url = line.split(',', 1) channel_name, channel_url = line.split(',', 1)