From 7ace6baf907d66d79b7506efe2cd32314514937e Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Sat, 10 Aug 2024 03:08:05 +0800 Subject: [PATCH] Update iptv-check.py --- py/iptv-check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/iptv-check.py b/py/iptv-check.py index 4771ebe..2c85868 100644 --- a/py/iptv-check.py +++ b/py/iptv-check.py @@ -540,7 +540,7 @@ def filter_lines(input_file, output_file): with open(output_file, 'w', encoding='utf-8') as output_file: output_file.writelines(filtered_lines) filter_lines("iptv.txt", "iptv.txt") - +print(f"文件已过滤完成") ######################################################################################################################################################################################## #################文本排序 @@ -597,6 +597,7 @@ def deduplicate_lines(input_file_path, output_file_path): with open(output_file_path, 'w', encoding='utf-8') as file: for line in seen_combinations.values(): file.write(line + '\n') +print(f"IP段去重完成") # 调用函数 input_file_path = 'iptv.txt' output_file_path = 'iptv.txt'