diff options
author | sepro <4618135+seproDev@users.noreply.github.com> | 2024-05-27 00:06:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 00:06:34 +0200 |
commit | 26603d0b34898818992bee4598e0607c07059511 (patch) | |
tree | b3e7a51cbd6c47647b300df3d8041f76522d553d /yt_dlp/extractor/common.py | |
parent | ed274b60b1ad0193fcf8f4ebb6189b4b865525c6 (diff) |
[ie] Fix parsing of base URL in SMIL manifest (#9225)
Authored by: seproDev
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index b99b7e5ab..1d2c443c0 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -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': |