Update YoutubeDL.py
authordyn888 <dyn.8.8.8+github@gmail.com>
Thu, 28 Jan 2016 11:07:15 +0000 (12:07 +0100)
committerdyn888 <dyn.8.8.8+github@gmail.com>
Thu, 28 Jan 2016 11:07:15 +0000 (12:07 +0100)
youtube_dl/YoutubeDL.py

index 09d2b18f262690023598dcc0aacf0628729a9c79..e1bd408431b0b6b5c16b0a208dbec5ad198dfc4f 100755 (executable)
@@ -906,7 +906,7 @@ class YoutubeDL(object):
             str_operator_rex = re.compile(r'''(?x)
                 \s*(?P<key>ext|acodec|vcodec|container|protocol)
                 \s*(?P<op>%s)(?P<none_inclusive>\s*\?)?
-                \s*(?P<value>[a-zA-Z0-9_-]+)
+                \s*(?P<value>[a-zA-Z0-9._-]+)
                 \s*$
                 ''' % '|'.join(map(re.escape, STR_OPERATORS.keys())))
             m = str_operator_rex.search(filter_spec)