From: Yen Chi Hsuan Date: Sun, 29 May 2016 05:54:05 +0000 (+0800) Subject: [youku] Extract resolution X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9ed6d8c6c5b0c7a411d6b97d269a3e786875d66a;p=youtube-dl [youku] Extract resolution --- diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py index 349ce0941..dbccbe228 100644 --- a/youtube_dl/extractor/youku.py +++ b/youtube_dl/extractor/youku.py @@ -275,6 +275,8 @@ class YoukuIE(InfoExtractor): 'format_id': self.get_format_name(fm), 'ext': self.parse_ext_l(fm), 'filesize': int(seg['size']), + 'width': stream.get('width'), + 'height': stream.get('height'), }) return {