]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/pornhub.py
[cleanup, utils] Don't use kwargs for `format_field`
[yt-dlp.git] / yt_dlp / extractor / pornhub.py
index d296ccacb91aa341313817259ac96b80eccf59d9..1d58876e88e7e921789b958f771a914f3d3f73b5 100644 (file)
@@ -429,7 +429,7 @@ def add_format(format_url, height=None):
                     default=None))
             formats.append({
                 'url': format_url,
-                'format_id': format_field(height, template='%dp'),
+                'format_id': format_field(height, None, '%dp'),
                 'height': height,
             })