projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed7cd1e
)
Update YoutubeDL.py
author
dyn888
<dyn.8.8.8+github@gmail.com>
Thu, 28 Jan 2016 11:07:15 +0000
(12:07 +0100)
committer
dyn888
<dyn.8.8.8+github@gmail.com>
Thu, 28 Jan 2016 11:07:15 +0000
(12:07 +0100)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 09d2b18f262690023598dcc0aacf0628729a9c79..e1bd408431b0b6b5c16b0a208dbec5ad198dfc4f 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-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)