mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 09:17:48 +00:00
[letv] fix height
This commit is contained in:
parent
53b8247cb5
commit
593ddd851b
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ from ..utils import (
|
||||||
determine_ext,
|
determine_ext,
|
||||||
ExtractorError,
|
ExtractorError,
|
||||||
parse_iso8601,
|
parse_iso8601,
|
||||||
|
int_or_none,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -134,7 +135,7 @@ class LetvIE(InfoExtractor):
|
||||||
}
|
}
|
||||||
|
|
||||||
if format_id[-1:] == 'p':
|
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)
|
urls.append(url_info_dict)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue