mirror of
https://github.com/doms9/iptv.git
synced 2026-04-22 19:57:00 +02:00
update M3U8
This commit is contained in:
parent
f7fa191ce4
commit
fa72e64ecf
6 changed files with 440 additions and 305 deletions
|
|
@ -37,13 +37,13 @@ async def process_event(url: str, url_num: int) -> str | None:
|
|||
|
||||
|
||||
async def get_events() -> dict[str, dict[str, str | float]]:
|
||||
now = Time.clean(Time.now())
|
||||
|
||||
events = []
|
||||
|
||||
if not (html_data := await network.request(BASE_URL, log=log)):
|
||||
return events
|
||||
|
||||
now = Time.clean(Time.now())
|
||||
|
||||
pattern = re.compile(r"openEmbed\('([^']+)'\)", re.I)
|
||||
|
||||
soup = HTMLParser(html_data.content)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue