1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

[youku] Extract resolution

This commit is contained in:
Yen Chi Hsuan 2016-05-29 13:54:05 +08:00
parent f3fb420b82
commit 9ed6d8c6c5
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

View File

@ -275,6 +275,8 @@ class YoukuIE(InfoExtractor):
'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 {