mirror of
https://github.com/doms9/iptv.git
synced 2026-06-06 02:43:05 +02:00
update M3U8
This commit is contained in:
parent
5ef9a31fdd
commit
8ba77900a5
5 changed files with 1326 additions and 461 deletions
|
|
@ -59,9 +59,10 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
|||
if f"[{sport}] {event_name} ({TAG})" in cached_keys:
|
||||
continue
|
||||
|
||||
event_streams: list[dict[str, str]] = event["streams"]
|
||||
if not (event_streams := event["streams"]):
|
||||
continue
|
||||
|
||||
if not (event_link := event_streams[0].get("link")):
|
||||
elif not (event_link := event_streams[0].get("link")):
|
||||
continue
|
||||
|
||||
events.append(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue