Update and rename iptv-jd.py to iptv流畅度检测.py

This commit is contained in:
frxz751113
2024-08-12 21:27:08 +08:00
committed by GitHub
parent ddee94c97e
commit a84a76ad0e
+2 -2
View File
@@ -1661,9 +1661,9 @@ check_and_write_file('2.txt', 'o.txt', keywords="其他频道, , ")
############################################################################################################################################################################################################################### ###############################################################################################################################################################################################################################
##############################################################对生成的文件进行合并 ##############################################################对生成的文件进行合并
file_contents = [] file_contents = []
file_paths = ["a0.txt", "a.txt", "a1.txt", "b0.txt", "b.txt", "c.txt", "c1.txt", "c2.txt", "d.txt", "f0.txt", "f.txt", "f1.txt", "g0.txt", "g.txt", "g1.txt", "h0.txt", "h.txt", "h1.txt", "i.txt", \ file_paths = ["e.txt", "a0.txt", "a.txt", "a1.txt", "b0.txt", "b.txt", "c.txt", "c1.txt", "c2.txt", "d.txt", "f0.txt", "f.txt", "f1.txt", "g0.txt", "g.txt", "g1.txt", "h0.txt", "h.txt", "h1.txt", "i.txt", \
"i1.txt", "j.txt", "j1.txt", "k.txt", "l0.txt", "l.txt", "l1.txt", "m.txt", "m1.txt", \ "i1.txt", "j.txt", "j1.txt", "k.txt", "l0.txt", "l.txt", "l1.txt", "m.txt", "m1.txt", \
"n0.txt","n.txt","n1.txt", "e.txt", "o1.txt", "o.txt"] # 替换为实际的文件路径列表 "n0.txt","n.txt","n1.txt", "o1.txt", "o.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: