Update iptv流畅度检测.py

This commit is contained in:
frxz751113
2024-08-18 12:32:59 +08:00
committed by GitHub
parent eac33aef55
commit b00394c149
+1 -1
View File
@@ -600,7 +600,7 @@ check_and_write_file('2.txt', 'p.txt', keywords="陕西频道, 陕西")
############################################################################################################################################################################################################################### ###############################################################################################################################################################################################################################
##############################################################对生成的文件进行合并 ##############################################################对生成的文件进行合并
file_contents = [] file_contents = []
file_paths = ["a0.txt", "a.txt", "a1.txt", "b.txt", "c.txt", "d.txt", "j0.txt", "j.txt", "e.txt", "f.txt", "g.txt", "h.txt", "i.txt", "k.txt", "l.txt", "m.txt", "n.txt","o.txt", "p.txt"] # 替换为实际的文件路径列表 file_paths = ["a0.txt", "a.txt", "a1.txt", "b.txt", "c.txt", "d.txt", "j0.txt", "j.txt", "i.txt", "e.txt", "f.txt", "g.txt", "h.txt", "k.txt", "l.txt", "m.txt", "n.txt","o.txt", "p.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: