[PromoDJ] Remove player's width and height

This commit is contained in:
DmitryScaletta 2024-02-15 21:50:13 +03:00
parent 900bc5f708
commit ed61b73bcd
No known key found for this signature in database
GPG key ID: 167A65222EDD4C2A

View file

@ -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,