From 78ca4ba5c043fa796bd9be3db668c0242f4f8cea Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Fri, 9 Aug 2024 14:37:47 +0800 Subject: [PATCH] Update iptv.py --- py/iptv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/iptv.py b/py/iptv.py index e04d193..504c2c1 100644 --- a/py/iptv.py +++ b/py/iptv.py @@ -537,7 +537,7 @@ def filter_lines(input_file, output_file): for line in lines: #if 'hls' in line or 'tsfile' in line: if '2223' in line: - if 'udp' not in line and 'rtp' not in line and 'CCTV' not in line and '卫视' not in line: + if 'udp' not in line and 'rtp' not in line: # and 'CCTV' not in line and '卫视' not in line filtered_lines.append(line) with open(output_file, 'w', encoding='utf-8') as output_file: output_file.writelines(filtered_lines)