Update iptv流畅度检测.py
This commit is contained in:
+1
-1
@@ -1468,7 +1468,7 @@ import fileinput
|
|||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
# 合并自定义频道文件,优选源整理
|
# 合并自定义频道文件,优选源整理
|
||||||
file_contents = []
|
file_contents = []
|
||||||
file_paths = ["playlist/天津联通.txt", "playlist/四川电信.txt", "playlist/河北电信.txt", "playlist/河南电信.txt", "酒店源.txt", "综合源.txt"] # 替换为实际的文件路径列表
|
file_paths = ["playlist/天津联通.txt", "playlist/四川电信.txt", "playlist/河北电信.txt", "playlist/河南电信.txt", "酒店源.txt"] # 替换为实际的文件路径列表
|
||||||
for file_path in file_paths:
|
for file_path in file_paths:
|
||||||
if os.path.exists(file_path):
|
if os.path.exists(file_path):
|
||||||
with open(file_path, 'r', encoding="utf-8") as file:
|
with open(file_path, 'r', encoding="utf-8") as file:
|
||||||
|
|||||||
Reference in New Issue
Block a user