mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
parent
4f3671458e
commit
00570028a3
@ -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")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user