mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-01 07:02:56 +00:00
Strip trailing slash from base
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
parent
bd621a4d2b
commit
09e8ee0d9e
|
@ -2334,7 +2334,7 @@ def _parse_smil_formats_and_subtitles(
|
|||
for meta in smil.findall(self._xpath_ns('./head/meta', namespace)):
|
||||
b = meta.get('base') or meta.get('httpBase')
|
||||
if b:
|
||||
base = f'{b}/'
|
||||
base = f'{b.rstrip("/")}/'
|
||||
break
|
||||
|
||||
formats, subtitles = [], {}
|
||||
|
|
Loading…
Reference in a new issue