mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-07 01:14:51 +00:00
[cleanup] Use format_field where applicable
This commit is contained in:
@@ -8,6 +8,7 @@ from ..compat import compat_urllib_parse_unquote
|
||||
from ..utils import (
|
||||
determine_ext,
|
||||
ExtractorError,
|
||||
format_field,
|
||||
int_or_none,
|
||||
str_to_int,
|
||||
strip_or_none,
|
||||
@@ -69,7 +70,7 @@ class KeezMoviesIE(InfoExtractor):
|
||||
video_url, title, 32).decode('utf-8')
|
||||
formats.append({
|
||||
'url': format_url,
|
||||
'format_id': '%dp' % height if height else None,
|
||||
'format_id': format_field(height, template='%dp'),
|
||||
'height': height,
|
||||
'tbr': tbr,
|
||||
})
|
||||
|
Reference in New Issue
Block a user