mirror of
https://github.com/doms9/iptv.git
synced 2026-06-16 12:56:26 +02:00
update M3U8
This commit is contained in:
parent
529a0ca5ed
commit
8a174fd5d5
4 changed files with 558 additions and 417 deletions
|
|
@ -105,7 +105,7 @@ async def get_events() -> list[dict[str, str]]:
|
|||
|
||||
t1, t2 = stream_group.get("away"), stream_group.get("home")
|
||||
|
||||
if not (date and sport):
|
||||
if not (date and sport and t1 and t2):
|
||||
continue
|
||||
|
||||
event_dt = Time.from_str(date, timezone="UTC")
|
||||
|
|
@ -113,9 +113,6 @@ async def get_events() -> list[dict[str, str]]:
|
|||
if event_dt.date() != now.date():
|
||||
continue
|
||||
|
||||
if not (t1 and t2):
|
||||
continue
|
||||
|
||||
if not (streams := stream_group.get("streams")):
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue