mirror of
https://github.com/doms9/iptv.git
synced 2026-03-07 11:18:25 +01:00
update M3U8
This commit is contained in:
parent
00000d922c
commit
ef41e6aac7
3 changed files with 3372 additions and 2220 deletions
2794
M3U8/TV.m3u8
2794
M3U8/TV.m3u8
File diff suppressed because it is too large
Load diff
2794
M3U8/events.m3u8
2794
M3U8/events.m3u8
File diff suppressed because it is too large
Load diff
|
|
@ -10,7 +10,7 @@ log = get_logger(__name__)
|
||||||
|
|
||||||
urls: dict[str, dict[str, str | float]] = {}
|
urls: dict[str, dict[str, str | float]] = {}
|
||||||
|
|
||||||
TAG = "TIMSTRM"
|
TAG = "TIMSTRMS"
|
||||||
|
|
||||||
CACHE_FILE = Cache(TAG, exp=10_800)
|
CACHE_FILE = Cache(TAG, exp=10_800)
|
||||||
|
|
||||||
|
|
@ -58,7 +58,7 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
||||||
|
|
||||||
events = []
|
events = []
|
||||||
|
|
||||||
start_dt = now.delta(hours=-2)
|
start_dt = now.delta(minutes=-30)
|
||||||
end_dt = now.delta(minutes=30)
|
end_dt = now.delta(minutes=30)
|
||||||
|
|
||||||
for info in api_data:
|
for info in api_data:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue