1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 21:12:53 +08:00

Merge pull request #6350 from remitamine/letv

[letv] fix height
This commit is contained in:
Sergey M. 2015-07-24 20:03:44 +06:00
commit 420658e6cb

View File

@ -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)