This commit is contained in:
doms9 2025-10-28 16:54:17 -04:00
parent 76331d1da6
commit 00000d931d
3 changed files with 8 additions and 8 deletions

View file

@ -107,6 +107,8 @@ async def refresh_html_cache(client: httpx.AsyncClient, url: str) -> dict[str, s
sport, event = league.text(strip=True), title.text(strip=True)
sport = sport.split("")[-1].strip()
onclick = hds_a.attributes.get("onclick", "")
if not (m := re.search(r"openPlayerPopup\(\s*(\d+)\s*\)", onclick)):