logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: e477dcf6497d8b9fb2c546696f56d2f365ef5261
parent 9d3f7781f34e44065926b1016fd84d260519a015
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue,  4 Mar 2014 21:40:35 +0700

[vesti] Fix width and height

Diffstat:

Myoutube_dl/extractor/vesti.py4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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'))