e
This commit is contained in:
parent
f1643110b2
commit
00000d99a3
2 changed files with 9 additions and 15 deletions
|
|
@ -103,9 +103,10 @@ async def process_event(
|
|||
og_title.attributes.get("content", "").split(" start on")[0].strip()
|
||||
)
|
||||
|
||||
if src := soup.css_first("iframe").attributes.get("src", ""):
|
||||
log.info(f"URL {url_num}) Captured M3U8")
|
||||
return match_name, unquote(src).split("link=")[-1]
|
||||
if ifr := soup.css_first("iframe"):
|
||||
if src := ifr.attributes.get("src", ""):
|
||||
log.info(f"URL {url_num}) Captured M3U8")
|
||||
return match_name, unquote(src).split("link=")[-1]
|
||||
|
||||
log.info(f"URL {url_num}) No M3U8 found")
|
||||
return "", ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue