mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 08:19:32 +01:00
[youku] Extract resolution
This commit is contained in:
parent
f3fb420b82
commit
9ed6d8c6c5
@ -275,6 +275,8 @@ def retrieve_data(req_url, note):
|
|||||||
'format_id': self.get_format_name(fm),
|
'format_id': self.get_format_name(fm),
|
||||||
'ext': self.parse_ext_l(fm),
|
'ext': self.parse_ext_l(fm),
|
||||||
'filesize': int(seg['size']),
|
'filesize': int(seg['size']),
|
||||||
|
'width': stream.get('width'),
|
||||||
|
'height': stream.get('height'),
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user