From: Sergey M․ Date: Sun, 8 Feb 2015 19:09:45 +0000 (+0600) Subject: [YoutubeDL] Allow filtering by audio sampling rate X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=2ec19e955870e82bd91949b0996dfd9acdde0232;p=youtube-dl [YoutubeDL] Allow filtering by audio sampling rate --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 0934911ec..c7108dbc1 100755 --- 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*\[ - (?Pwidth|height|tbr|abr|vbr|filesize|fps) + (?Pwidth|height|tbr|abr|vbr|asr|filesize|fps) \s*(?P%s)(?P\s*\?)?\s* (?P[0-9.]+(?:[kKmMgGtTpPeEzZyY]i?[Bb]?)?) \]$