1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-27 22:53:41 +01: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 @@ class InfoExtractor:
})
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':