From dc5930925eb8dc69a1aad7b1f2e930539eadc406 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Sun, 1 Sep 2024 00:05:46 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E9=85=92=E5=BA=97=E6=BA=90.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/酒店源.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/酒店源.py b/py/酒店源.py index 300be83..e64946f 100644 --- a/py/酒店源.py +++ b/py/酒店源.py @@ -147,7 +147,7 @@ for url in urls: # 按行分割数据 lines = json_data.split('\n') for line in lines: - if 'hls' in line and ('udp' not in line or 'rtp' not in line or '东森' not in line or '龙祥' not in line): #行中需包含m3u,但排除udp和trp + if 'hls' in line and ('udp' not in line and 'rtp' not in line and '东森' not in line and '龙祥' not in line): #行中需包含m3u,但排除udp和trp line = line.strip() if line: name, channel_url = line.split(',')