mirror of
https://github.com/doms9/iptv.git
synced 2026-01-21 03:59:03 +01:00
update M3U8
This commit is contained in:
parent
24890ada3b
commit
24876255ba
4 changed files with 331 additions and 378 deletions
|
|
@ -37,8 +37,9 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
|||
API_CACHE.write(api_data)
|
||||
|
||||
events = []
|
||||
start_dt = now.delta(hours=-1)
|
||||
end_dt = now.delta(hours=3)
|
||||
|
||||
start_dt = now.delta(hours=-3)
|
||||
end_dt = now.delta(minutes=30)
|
||||
|
||||
for info in api_data.get("days", []):
|
||||
for event in info["items"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue