projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ddb692
)
[YoutubeDL] Allow filtering by audio sampling rate
author
Sergey M․
<dstftw@gmail.com>
Sun, 8 Feb 2015 19:09:45 +0000
(
01:09
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 8 Feb 2015 19:09:45 +0000
(
01:09
+0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 0934911ecbca6c669b30e220dc8cce0751e2617b..c7108dbc11aadd8e05acc9214ad153a456f6897c 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-826,7
+826,7
@@
class YoutubeDL(object):
'!=': operator.ne,
}
operator_rex = re.compile(r'''(?x)\s*\[
- (?P<key>width|height|tbr|abr|vbr|filesize|fps)
+ (?P<key>width|height|tbr|abr|vbr|
asr|
filesize|fps)
\s*(?P<op>%s)(?P<none_inclusive>\s*\?)?\s*
(?P<value>[0-9.]+(?:[kKmMgGtTpPeEzZyY]i?[Bb]?)?)
\]$