From: remitamine Date: Fri, 24 Jul 2015 13:46:45 +0000 (+0100) Subject: [letv] fix height X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=593ddd851b87eb7ac327a9216800162f07b2acca;p=youtube-dl [letv] fix height --- diff --git a/youtube_dl/extractor/letv.py b/youtube_dl/extractor/letv.py index ba2ae8085..a28abb0f0 100644 --- a/youtube_dl/extractor/letv.py +++ b/youtube_dl/extractor/letv.py @@ -15,6 +15,7 @@ from ..utils import ( determine_ext, ExtractorError, parse_iso8601, + int_or_none, ) @@ -134,7 +135,7 @@ class LetvIE(InfoExtractor): } if format_id[-1:] == 'p': - url_info_dict['height'] = format_id[:-1] + url_info_dict['height'] = int_or_none(format_id[:-1]) urls.append(url_info_dict)