From 3b4f1d24e2b826418484c34366b2819756c87d90 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Mon, 12 Aug 2024 07:46:46 +0800 Subject: [PATCH] Update iptv-cv2-check.py --- py/iptv-cv2-check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/iptv-cv2-check.py b/py/iptv-cv2-check.py index 81d2447..afbc3e8 100644 --- a/py/iptv-cv2-check.py +++ b/py/iptv-cv2-check.py @@ -203,7 +203,7 @@ def filter_lines(input_file, output_file): for line in lines: #if ('hls' in line and 'm3u' in line) or ('tsfile' in line and 'm3u' in line): #行中包含m3u的同时还要包含hls或者tsfile if ',' in line: #仅提取 - if 'udp' not in line and 'rtp' not in line and 'AAAA' not in line and 'AAA' not in line: # 排除组播地址及央卫 + if 'udp' not in line and 'rtp' not in line and 'AAAA' not in line and '61.157' not in line: # 排除组播地址及央卫 filtered_lines.append(line) with open(output_file, 'w', encoding='utf-8') as output_file: output_file.writelines(filtered_lines)