misc edits
This commit is contained in:
doms9 2026-02-12 18:15:01 -05:00
parent fdcd1d7070
commit 00000d964b
12 changed files with 44 additions and 40 deletions

View file

@ -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)):