[YoutubeDL] Allow format filtering by fps

This commit is contained in:
Philipp Hagemeister
2015-01-26 14:36:22 +01:00
parent e72c7e4123
commit 9f0df77ab1
2 changed files with 2 additions and 2 deletions

View File

@ -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]?)?)
\]$