This commit is contained in:
doms9 2025-12-06 12:34:05 -05:00
parent 217d309586
commit 00000d9e85
2 changed files with 3 additions and 1 deletions

View file

@ -118,7 +118,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
log.info(f"Loaded {cached_count} event(s) from cache")
log.info(f'Scraping from "https://streamcenter.xyz"')
log.info('Scraping from "https://streamcenter.xyz"')
events = await get_events(client, set(cached_urls.keys()))

View file

@ -187,6 +187,8 @@ async def scrape(client: httpx.AsyncClient) -> None:
"link": ev["link"],
}
cached_urls[key] = entry
if url:
valid_count += 1
urls[key] = entry