e
This commit is contained in:
parent
bb04b5b8fc
commit
00000d9243
4 changed files with 119 additions and 103 deletions
|
|
@ -27,7 +27,7 @@ async def fetch_m3u8(client: httpx.AsyncClient) -> list[str]:
|
|||
|
||||
|
||||
async def main(client: httpx.AsyncClient) -> None:
|
||||
if cached := load_cache(CACHE_FILE, exp=86400):
|
||||
if cached := load_cache(CACHE_FILE, exp=86400, nearest_hr=True):
|
||||
urls.update(cached)
|
||||
log.info(f"Collected {len(urls)} event(s) from cache")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue