mirror of
https://github.com/doms9/iptv.git
synced 2026-03-11 11:57:38 +01:00
e
This commit is contained in:
parent
42c2376d22
commit
00000d9869
2 changed files with 37 additions and 82 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue