e
This commit is contained in:
parent
76331d1da6
commit
00000d931d
3 changed files with 8 additions and 8 deletions
|
|
@ -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)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue