mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	Relaxed validation for format filters so that any arbitrary field can be used
This commit is contained in:
		| @@ -1142,7 +1142,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>[a-zA-Z0-9._-]+) | ||||
|                 \s*(?P<negation>!\s*)?(?P<op>%s)(?P<none_inclusive>\s*\?)? | ||||
|                 \s*(?P<value>[a-zA-Z0-9._-]+) | ||||
|                 \s*$ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan