mirror of
https://github.com/lalifeier/IPTV.git
synced 2025-12-17 15:26:16 +08:00
init
This commit is contained in:
2
iptv.py
2
iptv.py
@@ -116,7 +116,7 @@ def main():
|
|||||||
|
|
||||||
live_m3u_content = '#EXTM3U\n'
|
live_m3u_content = '#EXTM3U\n'
|
||||||
|
|
||||||
for channel in ['douyu', 'huya', 'yy', 'bilibili', 'afreecatv', 'pandatv', 'twitch']:
|
for channel in ['douyu', 'huya', 'yy', 'douyin', 'bilibili', 'afreecatv', 'pandatv', 'twitch']:
|
||||||
try:
|
try:
|
||||||
M3U_URL = f"{PROXY_URL}/{channel}/index.m3u?_={int(time.time() * 1000)}"
|
M3U_URL = f"{PROXY_URL}/{channel}/index.m3u?_={int(time.time() * 1000)}"
|
||||||
if channel in ['afreecatv', 'pandatv', 'twitch'] and not PROXY_URL:
|
if channel in ['afreecatv', 'pandatv', 'twitch'] and not PROXY_URL:
|
||||||
|
|||||||
Reference in New Issue
Block a user