From 3f29b8fe9150647b5d22a40db82e98784bf47ec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 3 Jan 2023 14:52:39 +0100 Subject: [PATCH] [cookies] convert browser names to lowercase --- gallery_dl/cookies.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gallery_dl/cookies.py b/gallery_dl/cookies.py index ee00bf74..f18cc475 100644 --- a/gallery_dl/cookies.py +++ b/gallery_dl/cookies.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2022 Mike Fährmann +# Copyright 2022-2023 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -980,6 +980,7 @@ def _is_path(value): def _parse_browser_specification( browser, profile=None, keyring=None, container=None): + browser = browser.lower() if browser not in SUPPORTED_BROWSERS: raise ValueError("unsupported browser '{}'".format(browser)) if keyring and keyring not in SUPPORTED_KEYRINGS: