update M3U8

This commit is contained in:
GitHub Actions Bot 2026-04-29 20:00:58 -04:00
parent 5ef9a31fdd
commit 8ba77900a5
5 changed files with 1326 additions and 461 deletions

View file

@ -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(