mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[lynda] Fix height for prioritized streams
This commit is contained in:
parent
6edfc40a0e
commit
ea8aefd1d7
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ def _real_extract(self, url):
|
|||
for prioritized_stream_id, prioritized_stream in prioritized_streams.items():
|
||||
formats.extend([{
|
||||
'url': video_url,
|
||||
'width': int_or_none(format_id),
|
||||
'height': int_or_none(format_id),
|
||||
'format_id': '%s-%s' % (prioritized_stream_id, format_id),
|
||||
} for format_id, video_url in prioritized_stream.items()])
|
||||
|
||||
|
|
Loading…
Reference in a new issue