aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/imdb.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-11-30 00:42:56 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-11-30 00:42:56 +0100
commitb138de72f2f0fc197fe46154bcaeceddb5713e7f (patch)
tree3dcfa594e769513916ca7bf5de574d58e19a459b /youtube_dl/extractor/imdb.py
parent06dcbb71d8e19947eb6e71390a6a0640abe3dad0 (diff)
parentc5171c454b4392f7276b7f9e94c25d7f1ad60375 (diff)
Merge branch 'master' of github.com:rg3/youtube-dl
Diffstat (limited to 'youtube_dl/extractor/imdb.py')
-rw-r--r--youtube_dl/extractor/imdb.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/imdb.py b/youtube_dl/extractor/imdb.py
index 520edc7d0..d8e9712a7 100644
--- a/youtube_dl/extractor/imdb.py
+++ b/youtube_dl/extractor/imdb.py
@@ -46,8 +46,7 @@ class ImdbIE(InfoExtractor):
formats.append({
'format_id': f_id,
'url': format_info['url'],
- 'height': format_info['height'],
- 'width': format_info['width'],
+ 'height': int(info['titleObject']['encoding']['selected'][:-1]),
})
return {