mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-07-05 02:13:35 +00:00
[ie] Fix parsing of base URI in SMIL manifest
This commit is contained in:
parent
f788149237
commit
bd621a4d2b
|
@ -2334,7 +2334,7 @@ def _parse_smil_formats_and_subtitles(
|
||||||
for meta in smil.findall(self._xpath_ns('./head/meta', namespace)):
|
for meta in smil.findall(self._xpath_ns('./head/meta', namespace)):
|
||||||
b = meta.get('base') or meta.get('httpBase')
|
b = meta.get('base') or meta.get('httpBase')
|
||||||
if b:
|
if b:
|
||||||
base = b
|
base = f'{b}/'
|
||||||
break
|
break
|
||||||
|
|
||||||
formats, subtitles = [], {}
|
formats, subtitles = [], {}
|
||||||
|
|
Loading…
Reference in a new issue