This commit is contained in:
doms9 2025-10-10 19:52:08 -04:00
parent a9c8ff4583
commit 00000d9e5c

View file

@ -304,7 +304,6 @@ async def scrape(client: httpx.AsyncClient) -> None:
log=log, log=log,
) )
if url:
sport, event, title, ts = ( sport, event, title, ts = (
ev["sport"], ev["sport"],
ev["event"], ev["event"],
@ -327,7 +326,10 @@ async def scrape(client: httpx.AsyncClient) -> None:
"timestamp": ts, "timestamp": ts,
} }
urls[key] = cached_urls[key] = entry cached_urls[key] = entry
if url:
urls[key] = entry
await browser.close() await browser.close()