mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-26 21:59:08 +01:00
[generic] Extract subtitles from direct DASH manifest links
This commit is contained in:
parent
c26326c1be
commit
7de27caf16
1 changed files with 1 additions and 1 deletions
|
@ -2526,7 +2526,7 @@ class GenericIE(InfoExtractor):
|
|||
xspf_base_url=full_response.geturl()),
|
||||
video_id)
|
||||
elif re.match(r'(?i)^(?:{[^}]+})?MPD$', doc.tag):
|
||||
info_dict['formats'] = self._parse_mpd_formats(
|
||||
info_dict['formats'], info_dict['subtitles'] = self._parse_mpd_formats_and_subtitles(
|
||||
doc,
|
||||
mpd_base_url=full_response.geturl().rpartition('/')[0],
|
||||
mpd_url=url)
|
||||
|
|
Loading…
Reference in a new issue