Skip to content

Commit

Permalink
[cookies] Fix --cookies-from-browser with macOS Firefox profiles (y…
Browse files Browse the repository at this point in the history
RalphORama authored Jan 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 85a2d07 commit 85b33f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/cookies.py
Original file line number Diff line number Diff line change
@@ -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')


0 comments on commit 85b33f5

Please sign in to comment.