Skip to content

Commit

Permalink
[ie] Fix parsing of base URL in SMIL manifest (yt-dlp#9225)
Browse files Browse the repository at this point in the history
Authored by: seproDev
  • Loading branch information
seproDev authored May 26, 2024
1 parent ed274b6 commit 26603d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 26603d0

Please sign in to comment.