projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f78936
)
[vimeo] extract m3u8 manifest and bitrate
author
remitamine
<remitamine@gmail.com>
Sat, 10 Oct 2015 18:56:55 +0000
(19:56 +0100)
committer
remitamine
<remitamine@gmail.com>
Sat, 10 Oct 2015 18:56:55 +0000
(19:56 +0100)
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 7dd52627dab8e47a84f6793abb44cec5b885e2da..93638d6b2a00cef3e21953afad315d5296921351 100644
(file)
--- a/
youtube_dl/extractor/vimeo.py
+++ b/
youtube_dl/extractor/vimeo.py
@@
-397,8
+397,12
@@
class VimeoIE(VimeoBaseInfoExtractor):
'format_id': format_id,
'width': file_info.get('width'),
'height': file_info.get('height'),
+ 'tbr': file_info.get('bitrate'),
})
formats = []
+ hls = config_files.get("hls")
+ if hls:
+ formats = self._extract_m3u8_formats(hls['all'], video_id, m3u8_id='hls')
for key in ('other', 'sd', 'hd'):
formats += files[key]
if len(formats) == 0: