From 707402fb8a404c09b0379e84b721004014d84f1f Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Fri, 9 Aug 2024 16:10:14 +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 bbac783..a09c022 100644 --- a/py/iptv.py +++ b/py/iptv.py @@ -127,7 +127,7 @@ for url in urls: if 'udp' in line or 'rtp' in line: continue # 如果行包含'udp'或'rtp',则跳过当前循环迭代 line = line.strip() - if line: + if line: name, channel_url = line.split(',') urls = channel_url.split('/', 3) url_data = json_url.split('/', 3)