update M3U8

This commit is contained in:
GitHub Actions Bot 2025-10-15 19:00:56 -04:00
parent 2c46c40b84
commit 3b43ae09c4
5 changed files with 371 additions and 193 deletions

View file

@ -203,9 +203,8 @@ async def get_events(
async def scrape(client: httpx.AsyncClient) -> None:
cached_urls = CACHE_FILE.load()
valid_urls = {k: v for k, v in cached_urls.items() if v["url"]}
cached_count = len(valid_urls)
urls.update(valid_urls)
cached_count = len(cached_urls)
urls.update({k: v for k, v in cached_urls.items() if v["url"]})
log.info(f"Loaded {cached_count} event(s) from cache")