e
This commit is contained in:
parent
c2aa25a654
commit
00000d934a
12 changed files with 231 additions and 68 deletions
|
|
@ -98,13 +98,16 @@ async def main(client: httpx.AsyncClient) -> None:
|
|||
)
|
||||
|
||||
if url:
|
||||
key = f"[{ev['sport']}] {ev['event']} (SBTW)"
|
||||
|
||||
entry = {
|
||||
"url": url,
|
||||
"logo": ev["logo"],
|
||||
"base": BASE_URL,
|
||||
"timestamp": now.timestamp(),
|
||||
}
|
||||
|
||||
urls[f"[{ev['sport']}] {ev['event']}"] = entry
|
||||
urls[key] = entry
|
||||
|
||||
log.info(f"Collected {len(urls)} event(s)")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue