commit: 2ec19e955870e82bd91949b0996dfd9acdde0232
parent 9ddb6925bfc53e0f31f7d114490259e293e91edd
Author: Sergey M․ <dstftw@gmail.com>
Date: Mon, 9 Feb 2015 01:09:45 +0600
[YoutubeDL] Allow filtering by audio sampling rate
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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]?)?)
\]$