This commit is contained in:
doms9 2025-09-06 16:16:36 -04:00
parent bb04b5b8fc
commit 00000d9243
4 changed files with 119 additions and 103 deletions

View file

@ -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