projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4076bb
)
[vimeo] add parameters to _extract_m3u8_formats and sort formats
author
remitamine
<remitamine@gmail.com>
Sat, 10 Oct 2015 19:34:10 +0000
(20:34 +0100)
committer
remitamine
<remitamine@gmail.com>
Sat, 10 Oct 2015 19:34:10 +0000
(20:34 +0100)
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 93638d6b2a00cef3e21953afad315d5296921351..2ea5f0b79e2347ebeb4cf34dbfe08bf5f7b80091 100644
(file)
--- 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')