[YoutubeDL] Allow format filtering using audio language(#16209)
This commit is contained in:
parent
c7d0af171f
commit
10af8572d4
|
@ -1087,7 +1087,7 @@ class HaruhiDL(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…
Reference in a new issue