mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 23:26:53 +01:00
parent
caf0f5f8b7
commit
2ab2c0d1f5
@ -81,6 +81,7 @@ def _real_extract(self, url):
|
|||||||
'format_id': format_id,
|
'format_id': format_id,
|
||||||
'ext': mimetype2ext(a_format.get('mime')) or 'mp4',
|
'ext': mimetype2ext(a_format.get('mime')) or 'mp4',
|
||||||
'height': height,
|
'height': height,
|
||||||
|
'width': int_or_none(height / 9.0 * 16.0 if height else None),
|
||||||
'quality': 1 if format_id == 'Source' else 0,
|
'quality': 1 if format_id == 'Source' else 0,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user