]> jfr.im git - yt-dlp.git/commitdiff
[extractor/rumble] Fix format sorting
authorSimon Sawicki <redacted>
Thu, 2 Feb 2023 05:50:42 +0000 (06:50 +0100)
committerSimon Sawicki <redacted>
Thu, 2 Feb 2023 06:12:36 +0000 (07:12 +0100)
Closes #6119
Authored by: pukkandan

yt_dlp/extractor/rumble.py

index b7f798ffbb221d6ceed60c110df85e8a3462cdd5..97f81446c7b94670ff8bcc7f48cbd897a807e023 100644 (file)
@@ -186,7 +186,7 @@ def _real_extract(self, url):
                         'filesize': 'size',
                         'width': 'w',
                         'height': 'h',
-                    }, default={})
+                    }, expected_type=lambda x: int(x) or None)
                 })
 
         subtitles = {