mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-04 00:04:59 +00:00
[cleanup, utils] Don't use kwargs for format_field
This commit is contained in:
@@ -70,7 +70,7 @@ class JojIE(InfoExtractor):
|
||||
r'(\d+)[pP]\.', format_url, 'height', default=None)
|
||||
formats.append({
|
||||
'url': format_url,
|
||||
'format_id': format_field(height, template='%sp'),
|
||||
'format_id': format_field(height, None, '%sp'),
|
||||
'height': int(height),
|
||||
})
|
||||
if not formats:
|
||||
|
Reference in New Issue
Block a user