diff options
author | Yen Chi Hsuan <[email protected]> | 2016-05-29 13:54:05 +0800 |
---|---|---|
committer | Yen Chi Hsuan <[email protected]> | 2016-05-29 13:54:05 +0800 |
commit | 9ed6d8c6c5b0c7a411d6b97d269a3e786875d66a (patch) | |
tree | 19f9aa162db03b8f81288436f60d4b597999490a /youtube_dl/extractor | |
parent | f3fb420b827ce04dff101b64d81f8658fa2e5c73 (diff) | |
download | youtube-dl-9ed6d8c6c5b0c7a411d6b97d269a3e786875d66a.tar.gz youtube-dl-9ed6d8c6c5b0c7a411d6b97d269a3e786875d66a.zip |
[youku] Extract resolution
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/youku.py | 2 |
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 { |