mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[YoutubeDL] Allow filtering by audio sampling rate
This commit is contained in:
parent
9ddb6925bf
commit
2ec19e9558
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ def _apply_format_filter(self, format_spec, available_formats):
|
|||
'!=': 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]?)?)
|
||||
\]$
|
||||
|
|
Loading…
Reference in a new issue