Browse Source

Added format_id to the filers on -f.

John Peel 9 years ago
parent
commit
d5aacf9a90
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/YoutubeDL.py

+ 1 - 1
youtube_dl/YoutubeDL.py

@@ -905,7 +905,7 @@ class YoutubeDL(object):
                 '*=': lambda attr, value: value in attr,
                 '*=': lambda attr, value: value in attr,
             }
             }
             str_operator_rex = re.compile(r'''(?x)
             str_operator_rex = re.compile(r'''(?x)
-                \s*(?P<key>ext|acodec|vcodec|container|protocol)
+                \s*(?P<key>ext|acodec|vcodec|container|protocol|format_id)
                 \s*(?P<op>%s)(?P<none_inclusive>\s*\?)?
                 \s*(?P<op>%s)(?P<none_inclusive>\s*\?)?
                 \s*(?P<value>[a-zA-Z0-9._-]+)
                 \s*(?P<value>[a-zA-Z0-9._-]+)
                 \s*$
                 \s*$