From 4146efaad3ca64071d5c9d8cdfaa836cddb24920 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Thu, 15 Aug 2024 20:01:42 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E5=9C=A8=E7=BA=BFV4=E6=BA=90=E4=BC=98?= =?UTF-8?q?=E9=80=89.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/在线V4源优选.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/在线V4源优选.py b/py/在线V4源优选.py index 75a870a..01956f9 100644 --- a/py/在线V4源优选.py +++ b/py/在线V4源优选.py @@ -34,7 +34,7 @@ def filter_lines(input_file, output_file): if ',' in line: #行中包含m3u的同时还要包含hls或者tsfile if 'epg' not in line and 'mitv' not in line and 'udp' not in line and 'rtp' not in line and '[' not in line \ and 'P2p' not in line and 'p2p' not in line and 'p3p' not in line and 'P2P' not in line and 'P3p' not in line and 'P3P' not in line: 排除组播地址 - filtered_lines.append(line) + filtered_lines.append(line) with open(output_file, 'w', encoding='utf-8') as output_file: output_file.writelines(filtered_lines) filter_lines("源.txt", "源.txt")