aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/vesti.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2014-03-04 21:40:35 +0700
committerSergey M․ <[email protected]>2014-03-04 21:40:35 +0700
commite477dcf6497d8b9fb2c546696f56d2f365ef5261 (patch)
tree2ee57a6d2c85465322517e0552cd9bd98a569051 /youtube_dl/extractor/vesti.py
parent9d3f7781f34e44065926b1016fd84d260519a015 (diff)
downloadyoutube-dl-e477dcf6497d8b9fb2c546696f56d2f365ef5261.tar.gz
youtube-dl-e477dcf6497d8b9fb2c546696f56d2f365ef5261.zip
[vesti] Fix width and height
Diffstat (limited to 'youtube_dl/extractor/vesti.py')
-rw-r--r--youtube_dl/extractor/vesti.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vesti.py b/youtube_dl/extractor/vesti.py
index f51d4dcfa..417282129 100644
--- a/youtube_dl/extractor/vesti.py
+++ b/youtube_dl/extractor/vesti.py
@@ -113,8 +113,8 @@ class VestiIE(InfoExtractor):
priority_transport = playlist['priority_transport']
thumbnail = media['picture']
- width = media['width']
- height = media['height']
+ width = int_or_none(media['width'])
+ height = int_or_none(media['height'])
description = media['anons']
title = media['title']
duration = int_or_none(media.get('duration'))