[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
1 changed files with 1 additions and 1 deletions

View File

@ -2451,7 +2451,7 @@ def _parse_smil_formats_and_subtitles(
})
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()
if proto == 'm3u8' or src_ext == 'm3u8':