projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fb420
)
[youku] Extract resolution
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 29 May 2016 05:54:05 +0000
(13:54 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 29 May 2016 05:54:05 +0000
(13:54 +0800)
youtube_dl/extractor/youku.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youku.py
b/youtube_dl/extractor/youku.py
index 349ce09414b765060ac5f06121b87b529e287a12..dbccbe2287b1667aa343f3ea704faa08b6070b01 100644
(file)
--- 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 {