mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
[PromoDJ] Remove player's width and height
This commit is contained in:
parent
900bc5f708
commit
ed61b73bcd
|
@ -136,10 +136,6 @@ def _parse_media_data(self, media_data, id):
|
|||
formats = [{
|
||||
'format_id': 'web',
|
||||
'url': traverse_obj(video, ('play', '@url')).replace('?returnurl=1', ''),
|
||||
**traverse_obj(media_data, {
|
||||
'width': ('width', {int_or_none}),
|
||||
'height': ('height', {int_or_none}),
|
||||
})
|
||||
}]
|
||||
return {
|
||||
'id': id,
|
||||
|
|
Loading…
Reference in New Issue
Block a user