aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vimeo.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-10-10 19:56:55 +0100
committerremitamine <remitamine@gmail.com>2015-10-10 19:56:55 +0100
commitf4076bb73686484310a3a2b7c0c4c20db6e186bc (patch)
treebc71bd948e4d64b9cc7de175c215c4819ab8b2fa /youtube_dl/extractor/vimeo.py
parent6f7893653c86c620099d7bf0e3bd4951be8b4ad1 (diff)
[vimeo] extract m3u8 manifest and bitrate
Diffstat (limited to 'youtube_dl/extractor/vimeo.py')
-rw-r--r--youtube_dl/extractor/vimeo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index 7dd52627d..93638d6b2 100644
--- 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: