summaryrefslogtreecommitdiffstats
path: root/gallery_dl/cookies.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/cookies.py')
-rw-r--r--gallery_dl/cookies.py6
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")