0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-21 05:50:00 +00:00

[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 @@ 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':