mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05: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 @@ def _real_extract(self, url):
|
|||
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