[ie] Fix parsing of base URL in SMIL manifest (#9225)

Authored by: seproDev
This commit is contained in:
sepro 2024-05-27 00:06:34 +02:00 committed by GitHub
parent ed274b60b1
commit 26603d0b34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2451,7 +2451,7 @@ class InfoExtractor:
}) })
continue continue
src_url = src if src.startswith('http') else urllib.parse.urljoin(base, src) src_url = src if src.startswith('http') else urllib.parse.urljoin(f'{base}/', src)
src_url = src_url.strip() src_url = src_url.strip()
if proto == 'm3u8' or src_ext == 'm3u8': if proto == 'm3u8' or src_ext == 'm3u8':