diff options
| author | 2024-01-08 03:22:24 -0500 | |
|---|---|---|
| committer | 2024-01-08 03:22:24 -0500 | |
| commit | e949aaf6f6ac93896947d5b736e48e7911926efb (patch) | |
| tree | b73090d78cd83dee0f85b385a25dcf623ac12f2d /gallery_dl/cookies.py | |
| parent | 4d7a4f1ecef2c96269f3590335d2834ebcdd50bf (diff) | |
New upstream version 1.26.6.upstream/1.26.6
Diffstat (limited to 'gallery_dl/cookies.py')
| -rw-r--r-- | gallery_dl/cookies.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gallery_dl/cookies.py b/gallery_dl/cookies.py index 416cc9a..478abb6 100644 --- a/gallery_dl/cookies.py +++ b/gallery_dl/cookies.py @@ -215,9 +215,11 @@ def _firefox_cookies_database(profile=None, container=None): def _firefox_browser_directory(): if sys.platform in ("win32", "cygwin"): - return os.path.expandvars(r"%APPDATA%\Mozilla\Firefox\Profiles") + return os.path.expandvars( + r"%APPDATA%\Mozilla\Firefox\Profiles") if sys.platform == "darwin": - return os.path.expanduser("~/Library/Application Support/Firefox") + return os.path.expanduser( + "~/Library/Application Support/Firefox/Profiles") return os.path.expanduser("~/.mozilla/firefox") |
