This commit is contained in:
doms9 2025-09-21 10:28:15 -04:00
parent 00000d9c5b
commit 00000d946c
5 changed files with 20 additions and 10 deletions

View file

@ -108,12 +108,14 @@ async def scrape(client: httpx.AsyncClient) -> None:
key = f"[{sport}] {event} (SBTW)"
tvg_id, logo = league_info(sport)
entry = {
"url": url,
"logo": ev["logo"] or league_info(sport)["logo"],
"logo": ev["logo"] or logo,
"base": BASE_URL,
"timestamp": now.timestamp(),
"id": league_info(sport)["id"],
"id": tvg_id or "Live.Event.us",
}
urls[key] = entry