e
This commit is contained in:
parent
a9c8ff4583
commit
00000d9e5c
1 changed files with 25 additions and 23 deletions
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue