mirror of
https://github.com/doms9/iptv.git
synced 2026-04-21 19:46:59 +02:00
update M3U8
This commit is contained in:
parent
339bcbd30c
commit
fb91d85d11
3 changed files with 475 additions and 629 deletions
550
M3U8/TV.m3u8
550
M3U8/TV.m3u8
File diff suppressed because it is too large
Load diff
550
M3U8/events.m3u8
550
M3U8/events.m3u8
File diff suppressed because it is too large
Load diff
|
|
@ -64,7 +64,9 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
||||||
if (genre := info.get("genre", 999)) not in SPORT_GENRES:
|
if (genre := info.get("genre", 999)) not in SPORT_GENRES:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
event_dt = Time.from_str(info["time"], timezone="EST")
|
event_time = " ".join(info["time"].split("T"))
|
||||||
|
|
||||||
|
event_dt = Time.from_str(event_time, timezone="EST")
|
||||||
|
|
||||||
if not start_dt <= event_dt <= end_dt:
|
if not start_dt <= event_dt <= end_dt:
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue