mirror of
https://github.com/doms9/iptv.git
synced 2026-04-21 19:46:59 +02:00
update M3U8
This commit is contained in:
parent
f5445c8141
commit
05816f6de6
4 changed files with 778 additions and 384 deletions
|
|
@ -57,9 +57,7 @@ async def get_events() -> list[dict[str, str]]:
|
|||
for a in row.css("a.list-group-item[href]"):
|
||||
splits = a.text(strip=True).split(":")
|
||||
|
||||
del splits[-3:]
|
||||
|
||||
event_name = ":".join(splits)
|
||||
event_name = ":".join(splits[:2]).split("@")[0].strip()
|
||||
|
||||
if not (href := a.attributes.get("href")):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue