mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-14 10:37:36 -07:00
[YoutubeDL] Allow format filtering using audio language(#16209)
This commit is contained in:
parent
c706fbe9fe
commit
9c1e164e0c
2 changed files with 2 additions and 1 deletions
|
@ -1083,7 +1083,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|format_id)
|
||||
\s*(?P<key>ext|acodec|vcodec|container|protocol|format_id|language)
|
||||
\s*(?P<negation>!\s*)?(?P<op>%s)(?P<none_inclusive>\s*\?)?
|
||||
\s*(?P<value>[a-zA-Z0-9._-]+)
|
||||
\s*$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue