]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/joj.py
[cleanup, utils] Don't use kwargs for `format_field`
[yt-dlp.git] / yt_dlp / extractor / joj.py
index a01411be1003463129c75228fd218e716bb7182f..1c4676e95a1de5936f6b8382b6bdae4774211922 100644 (file)
@@ -70,7 +70,7 @@ def _real_extract(self, url):
                     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: