mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-31 12:32:27 +01:00
use MPEG-DASH over HLS
This commit is contained in:
parent
b69fa6a856
commit
44b1346b5d
1 changed files with 2 additions and 2 deletions
|
@ -127,8 +127,8 @@ class GloboIE(InfoExtractor):
|
|||
|
||||
main_source = video['sources'][0]
|
||||
|
||||
formats, subtitles = self._extract_m3u8_formats_and_subtitles(
|
||||
main_source['url'], video_id, 'mp4', entry_protocol='m3u8_native', m3u8_id='hls', fatal=False)
|
||||
formats, subtitles = self._extract_mpd_formats_and_subtitles(
|
||||
main_source['url'], video_id, 'mp4', fatal=False)
|
||||
self._merge_subtitles(traverse_obj(main_source, ('text', ..., {
|
||||
'url': ('subtitle', 'srt', 'url', {str_or_none}),
|
||||
}, all, {subs_list_to_dict})), target=subtitles)
|
||||
|
|
Loading…
Add table
Reference in a new issue