[vesti] Fix width and height

This commit is contained in:
Sergey M․ 2014-03-04 21:40:35 +07:00
parent 9d3f7781f3
commit e477dcf649

View file

@ -113,8 +113,8 @@ def _real_extract(self, url):
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'))