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
4bbdfc50ad
commit
394a35e9e5
3 changed files with 613 additions and 1093 deletions
850
M3U8/TV.m3u8
850
M3U8/TV.m3u8
File diff suppressed because it is too large
Load diff
850
M3U8/events.m3u8
850
M3U8/events.m3u8
File diff suppressed because it is too large
Load diff
|
|
@ -11,9 +11,9 @@ urls: dict[str, dict[str, str | float]] = {}
|
||||||
|
|
||||||
TAG = "SPRTZONE"
|
TAG = "SPRTZONE"
|
||||||
|
|
||||||
CACHE_FILE = Cache(TAG, exp=10_800)
|
CACHE_FILE = Cache(TAG, exp=5_400)
|
||||||
|
|
||||||
API_FILE = Cache(f"{TAG}-api", exp=19_800)
|
API_FILE = Cache(f"{TAG}-api", exp=28_800)
|
||||||
|
|
||||||
API_URL = "https://sportzone.su/data.json"
|
API_URL = "https://sportzone.su/data.json"
|
||||||
|
|
||||||
|
|
@ -45,7 +45,7 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
||||||
|
|
||||||
events = []
|
events = []
|
||||||
|
|
||||||
start_dt = now.delta(hours=-30)
|
start_dt = now.delta(hours=-3)
|
||||||
end_dt = now.delta(minutes=30)
|
end_dt = now.delta(minutes=30)
|
||||||
|
|
||||||
for stream_group in api_data:
|
for stream_group in api_data:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue