Add does not contain operator *!

This commit is contained in:
slamkode 2019-01-09 23:00:48 +01:00 committed by GitHub
parent 4ad159c7b0
commit 1928338bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1067,6 +1067,7 @@ class YoutubeDL(object):
'^=': lambda attr, value: attr.startswith(value),
'$=': lambda attr, value: attr.endswith(value),
'*=': lambda attr, value: value in attr,
'*!': lambda attr, value: value not in attr,
}
str_operator_rex = re.compile(r'''(?x)
\s*(?P<key>ext|acodec|vcodec|container|protocol|format_id)