diff options
author | remitamine <remitamine@gmail.com> | 2015-10-10 20:34:10 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2015-10-10 20:34:10 +0100 |
commit | e5c209a1bcea206bee684914599c84acf886487c (patch) | |
tree | ca36698b6b0447bb682ba52ded70af7e7735b6eb /youtube_dl/extractor/vimeo.py | |
parent | f4076bb73686484310a3a2b7c0c4c20db6e186bc (diff) |
[vimeo] add parameters to _extract_m3u8_formats and sort formats
Diffstat (limited to 'youtube_dl/extractor/vimeo.py')
-rw-r--r-- | youtube_dl/extractor/vimeo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index 93638d6b2..2ea5f0b79 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -402,11 +402,12 @@ class VimeoIE(VimeoBaseInfoExtractor): formats = [] hls = config_files.get("hls") if hls: - formats = self._extract_m3u8_formats(hls['all'], video_id, m3u8_id='hls') + formats = self._extract_m3u8_formats(hls['all'], video_id, 'mp4', 'm3u8_native', 0, 'hls', fatal=False) for key in ('other', 'sd', 'hd'): formats += files[key] if len(formats) == 0: raise ExtractorError('No known codec found') + self._sort_formats(formats) subtitles = {} text_tracks = config['request'].get('text_tracks') |