mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 16:00:59 +00:00
commit
420658e6cb
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
|||
determine_ext,
|
||||
ExtractorError,
|
||||
parse_iso8601,
|
||||
int_or_none,
|
||||
)
|
||||
|
||||
|
||||
|
@ -134,7 +135,7 @@ def _real_extract(self, url):
|
|||
}
|
||||
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue