aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youku.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-05-29 13:54:05 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-05-29 13:54:05 +0800
commit9ed6d8c6c5b0c7a411d6b97d269a3e786875d66a (patch)
tree19f9aa162db03b8f81288436f60d4b597999490a /youtube_dl/extractor/youku.py
parentf3fb420b827ce04dff101b64d81f8658fa2e5c73 (diff)
[youku] Extract resolution
Diffstat (limited to 'youtube_dl/extractor/youku.py')
-rw-r--r--youtube_dl/extractor/youku.py2
1 files changed, 2 insertions, 0 deletions
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 {