A feature-rich command-line audio/video downloader
[cookies] Fix `--cookies-from-browser` with macOS Firefox profiles (#8909)
Ralph Drake85b33f5c163f
diff --git a/yt_dlp/cookies.py b/yt_dlp/cookies.pyindex a71fbc28ba..eac033e391 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')