update M3U8

This commit is contained in:
GitHub Actions Bot 2026-05-13 12:01:04 -04:00
parent 52c043f99a
commit 89364c0c56
5 changed files with 331 additions and 415 deletions

View file

@ -42,7 +42,7 @@ async def process_event(url: str, url_num: int) -> tuple[str | None, str | None]
log.warning(f"URL {url_num}) Failed to load iframe source.")
return nones
valid_m3u8 = re.compile(r'(var|const)\s+(\w+)\s*=\s*"([^"]*)"', re.I)
valid_m3u8 = re.compile(r'(var|const)\s+(\w+)\s+=\s+"([^"]*)"', re.I)
if not (match := valid_m3u8.search(iframe_src_data.text)):
log.warning(f"URL {url_num}) No Clappr source found.")