From d08c3817b05463847b93f005bed5103a5b534cf2 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Sat, 10 Aug 2024 04:30:34 +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 4b47f13..3e2d0a3 100644 --- a/py/iptv-cv2-check.py +++ b/py/iptv-cv2-check.py @@ -126,7 +126,7 @@ for url in urls: # 按行分割数据 lines = json_data.split('\n') for line in lines: - if 'm3u' in line and ('udp' not in line or 'rtp' not in line): #行中需包含m3u,但排除包含有udp和trp的行 + if 'hls' in line and ('udp' not in line or 'rtp' not in line): #行中需包含m3u,但排除包含有udp和trp的行 line = line.strip() if line: name, channel_url = line.split(',')