This commit is contained in:
doms9 2026-02-27 19:19:30 -05:00
parent 42c2376d22
commit 00000d9869
2 changed files with 37 additions and 82 deletions

View file

@ -81,10 +81,9 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
if not (soups := [HTMLParser(html.content) for html in results if html]):
return events
sport = "Live Event"
for soup in soups:
sport = "Live Event"
if sport_header := soup.css_first("h1.text-3xl"):
header = sport_header.text(strip=True)