mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-11 15:15:03 -05:00
[PromoDJ] Remove player's width and height
This commit is contained in:
parent
900bc5f708
commit
ed61b73bcd
1 changed files with 0 additions and 4 deletions
|
@ -136,10 +136,6 @@ def _parse_media_data(self, media_data, id):
|
||||||
formats = [{
|
formats = [{
|
||||||
'format_id': 'web',
|
'format_id': 'web',
|
||||||
'url': traverse_obj(video, ('play', '@url')).replace('?returnurl=1', ''),
|
'url': traverse_obj(video, ('play', '@url')).replace('?returnurl=1', ''),
|
||||||
**traverse_obj(media_data, {
|
|
||||||
'width': ('width', {int_or_none}),
|
|
||||||
'height': ('height', {int_or_none}),
|
|
||||||
})
|
|
||||||
}]
|
}]
|
||||||
return {
|
return {
|
||||||
'id': id,
|
'id': id,
|
||||||
|
|
Loading…
Reference in a new issue