From: Sergey M․ Date: Tue, 4 Mar 2014 14:40:35 +0000 (+0700) Subject: [vesti] Fix width and height X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e477dcf6497d8b9fb2c546696f56d2f365ef5261;p=youtube-dl [vesti] Fix width and height --- 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'))