[YoutubeDL] Allow format filtering by fps
[youtube-dl] / youtube_dl / YoutubeDL.py
index ae62432c66d04dbc2bbf8027f9919cedb2a28af7..b5dd77e3fdb1ac6bdf9a9d084069315d83185331 100755 (executable)
@@ -820,7 +820,7 @@ class YoutubeDL(object):
             '!=': operator.ne,
         }
         operator_rex = re.compile(r'''(?x)\s*\[
-            (?P<key>width|height|tbr|abr|vbr|filesize)
+            (?P<key>width|height|tbr|abr|vbr|filesize|fps)
             \s*(?P<op>%s)(?P<none_inclusive>\s*\?)?\s*
             (?P<value>[0-9.]+(?:[kKmMgGtTpPeEzZyY]i?[Bb]?)?)
             \]$