mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[cookies] Make browser names case insensitive
This commit is contained in:
		| @@ -748,6 +748,7 @@ def _is_path(value): | ||||
|  | ||||
|  | ||||
| def _parse_browser_specification(browser_name, profile=None): | ||||
|     browser_name = browser_name.lower() | ||||
|     if browser_name not in SUPPORTED_BROWSERS: | ||||
|         raise ValueError(f'unsupported browser: "{browser_name}"') | ||||
|     if profile is not None and _is_path(profile): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan