update M3U8
This commit is contained in:
parent
21dbfacf9c
commit
e5d058e822
4 changed files with 1387 additions and 563 deletions
|
|
@ -24,8 +24,6 @@ async def refresh_api_cache(
|
|||
client: httpx.AsyncClient,
|
||||
url: str,
|
||||
) -> dict[str, list[dict]]:
|
||||
now = Time.now()
|
||||
|
||||
log.info("Refreshing API cache")
|
||||
|
||||
data = {}
|
||||
|
|
@ -57,7 +55,7 @@ async def refresh_api_cache(
|
|||
|
||||
data["matches"] = json.loads(match[1])
|
||||
|
||||
data["timestamp"] = now.timestamp()
|
||||
data["timestamp"] = Time.now().timestamp()
|
||||
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue