aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Drake <rama.o.ralph@gmail.com>2024-01-02 00:58:36 +0000
committerGitHub <noreply@github.com>2024-01-02 00:58:36 +0000
commit85b33f5c163f60dbd089a6b9bc2ba1366d3ddf93 (patch)
treef952646b6da0568f130f4559a7af36671412214e
parent85a2d07c1f82c2082b568963d1c32ad3fc848f61 (diff)
[cookies] Fix `--cookies-from-browser` with macOS Firefox profiles (#8909)
Ref: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles#firefox:mac Closes #8898 Authored by: RalphORama
-rw-r--r--yt_dlp/cookies.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/cookies.py b/yt_dlp/cookies.py
index a71fbc28b..eac033e39 100644
--- a/yt_dlp/cookies.py
+++ b/yt_dlp/cookies.py
@@ -186,7 +186,7 @@ def _firefox_browser_dir():
if sys.platform in ('cygwin', 'win32'):
return os.path.expandvars(R'%APPDATA%\Mozilla\Firefox\Profiles')
elif 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')