Browse Source

[vimeo] extract m3u8 manifest and bitrate

totalwebcasting
remitamine 9 years ago
parent
commit
f4076bb736
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      youtube_dl/extractor/vimeo.py

+ 4
- 0
youtube_dl/extractor/vimeo.py View File

@ -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:


Loading…
Cancel
Save