mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 01:25:06 +00:00
[udemy] Fix outputs' formats format_id
This commit is contained in:
parent
48dce58ca9
commit
02d7634d24
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ def _real_extract(self, url):
|
|||
def extract_output_format(src):
|
||||
return {
|
||||
'url': src['url'],
|
||||
'format_id': '%sp' % (src.get('label') or format_id),
|
||||
'format_id': '%sp' % (src.get('height') or format_id),
|
||||
'width': int_or_none(src.get('width')),
|
||||
'height': int_or_none(src.get('height')),
|
||||
'vbr': int_or_none(src.get('video_bitrate_in_kbps')),
|
||||
|
|
Loading…
Reference in a new issue