This commit is contained in:
doms9 2025-12-06 00:26:59 -05:00
parent a979f0bf75
commit 00000d97a5
8 changed files with 40 additions and 29 deletions

View file

@ -36,11 +36,12 @@ async def process_event(
re.IGNORECASE,
)
if match := valid_m3u8.search(r.text):
log.info(f"URL {url_num}) Captured M3U8")
return match[2]
if not (match := valid_m3u8.search(r.text)):
log.info(f"URL {url_num}) No M3U8 found")
return
log.info(f"URL {url_num}) No M3U8 found")
log.info(f"URL {url_num}) Captured M3U8")
return match[2]
async def get_events(