Update iptv.py

This commit is contained in:
frxz751113
2024-08-09 18:41:49 +08:00
committed by GitHub
parent bfe41fd7aa
commit 32dcad3298
+1 -1
View File
@@ -380,7 +380,7 @@ for url in urls:
if isinstance(item, dict): if isinstance(item, dict):
name = item.get('name') name = item.get('name')
urlx = item.get('url') urlx = item.get('url')
if 'udp' not in urlx and 'rtp' not in urlx: if 'udp' in urlx or 'rtp' in urlx:
pass pass
if 'http' in urlx: if 'http' in urlx:
urld = f"{urlx}" urld = f"{urlx}"