Update iptv.py
This commit is contained in:
+2
-1
@@ -123,7 +123,8 @@ for url in urls:
|
||||
# 按行分割数据
|
||||
lines = json_data.split('\n')
|
||||
for line in lines:
|
||||
if 'udp' not in line and 'rtp' not in line:
|
||||
if 'udp' in line or 'rtp' in line:
|
||||
pass
|
||||
line = line.strip()
|
||||
if line:
|
||||
name, channel_url = line.split(',')
|
||||
|
||||
Reference in New Issue
Block a user