mirror of
https://github.com/doms9/iptv.git
synced 2026-04-21 19:46:59 +02:00
e
This commit is contained in:
parent
00000d955d
commit
00000d926f
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ async def process_event(
|
||||||
return m3u8_url
|
return m3u8_url
|
||||||
|
|
||||||
|
|
||||||
async def refresh_api_cache() -> dict[str, dict[str, list[dict]]]:
|
async def get_api_data() -> dict[str, dict[str, list[dict]]]:
|
||||||
tasks = [
|
tasks = [
|
||||||
(
|
(
|
||||||
sport,
|
sport,
|
||||||
|
|
@ -70,7 +70,7 @@ async def refresh_api_cache() -> dict[str, dict[str, list[dict]]]:
|
||||||
async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
||||||
now = Time.clean(Time.now())
|
now = Time.clean(Time.now())
|
||||||
|
|
||||||
api_data = await refresh_api_cache()
|
api_data = await get_api_data()
|
||||||
|
|
||||||
events = []
|
events = []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue