mirror of
https://github.com/doms9/iptv.git
synced 2026-03-09 11:37:43 +01:00
e
misc edits
This commit is contained in:
parent
fdcd1d7070
commit
00000d964b
12 changed files with 44 additions and 40 deletions
|
|
@ -25,7 +25,7 @@ async def process_event(url: str, url_num: int) -> str | None:
|
|||
|
||||
valid_m3u8 = re.compile(
|
||||
r'var\s+(\w+)\s*=\s*\[["\']?(https?:\/\/[^"\'\s>]+\.m3u8(?:\?[^"\'\s>]*)?)["\']\]?',
|
||||
re.IGNORECASE,
|
||||
re.I,
|
||||
)
|
||||
|
||||
if not (match := valid_m3u8.search(html_data.text)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue