mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 09:25:43 +00:00
[vimeo] extract m3u8 manifest and bitrate
This commit is contained in:
parent
6f7893653c
commit
f4076bb736
@ -397,8 +397,12 @@ def _real_extract(self, url):
|
||||
'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…
Reference in New Issue
Block a user