projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e2617
)
Added format_id to the filers on -f.
author
John Peel
<john@dgby.org>
Fri, 18 Mar 2016 07:33:03 +0000
(
00:33
-0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 18 Mar 2016 17:59:24 +0000
(23:59 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 8c651cd52375e1dcf986307b57f447fce4025543..93b6ca54d615206c029e75aa5dd96a61a650dabd 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-905,7
+905,7
@@
class YoutubeDL(object):
'*=': lambda attr, value: value in attr,
}
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<value>[a-zA-Z0-9._-]+)
\s*$