summaryrefslogtreecommitdiffstats
path: root/gallery_dl/cookies.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-10-14 00:23:10 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-10-14 00:23:10 -0400
commit33f8a8a37a9cba738ef25fb99955f0730da9eb48 (patch)
treeb51fb48b160f5e5e034e6b4542e6f00703bae7ec /gallery_dl/cookies.py
parentbbe7fac03d881662a458e7fbf870c9d71f5257f4 (diff)
New upstream version 1.30.10.upstream/1.30.10
Diffstat (limited to 'gallery_dl/cookies.py')
-rw-r--r--gallery_dl/cookies.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/cookies.py b/gallery_dl/cookies.py
index 6c19e23..ba719ac 100644
--- a/gallery_dl/cookies.py
+++ b/gallery_dl/cookies.py
@@ -241,7 +241,7 @@ def _firefox_cookies_database(browser_name, profile=None, container=None):
os.path.dirname(path), "containers.json")
try:
- with open(containers_path) as fp:
+ with open(containers_path, encoding="utf-8") as fp:
identities = util.json_loads(fp.read())["identities"]
except OSError:
_log_error("Unable to read Firefox container database at '%s'",