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,
|
||||
)
|
||||
|
||||
if url:
|
||||
sport, event, title, ts = (
|
||||
ev["sport"],
|
||||
ev["event"],
|
||||
|
|
@ -327,7 +326,10 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
"timestamp": ts,
|
||||
}
|
||||
|
||||
urls[key] = cached_urls[key] = entry
|
||||
cached_urls[key] = entry
|
||||
|
||||
if url:
|
||||
urls[key] = entry
|
||||
|
||||
await browser.close()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue