mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 01:25:11 +00:00
[vimeo] Fix m3u8 formats
Reported at https://github.com/rg3/youtube-dl/pull/7126#issuecomment-147327584
This commit is contained in:
parent
cd7364a89c
commit
73e732eb6b
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ def _real_extract(self, url):
|
||||||
m3u8_formats = self._extract_m3u8_formats(
|
m3u8_formats = self._extract_m3u8_formats(
|
||||||
m3u8_url, video_id, 'mp4', 'm3u8_native', 0, 'hls', fatal=False)
|
m3u8_url, video_id, 'mp4', 'm3u8_native', 0, 'hls', fatal=False)
|
||||||
if m3u8_formats:
|
if m3u8_formats:
|
||||||
formats.append(m3u8_formats)
|
formats.extend(m3u8_formats)
|
||||||
for key in ('other', 'sd', 'hd'):
|
for key in ('other', 'sd', 'hd'):
|
||||||
formats += files[key]
|
formats += files[key]
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
Loading…
Reference in a new issue