mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-22 06:00:00 +00:00
[ie] Fix parsing of base URL in SMIL manifest (#9225)
Authored by: seproDev
This commit is contained in:
parent
ed274b60b1
commit
26603d0b34
1 changed files with 1 additions and 1 deletions
|
@ -2451,7 +2451,7 @@ def _parse_smil_formats_and_subtitles(
|
||||||
})
|
})
|
||||||
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':
|
||||||
|
|
Loading…
Reference in a new issue