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
  • Loading branch information
RalphORama authored and aalsuwaidi committed Apr 21, 2024
1 parent 9e74153 commit 8706f9b
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
Expand Up @@ -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')


Expand Down

0 comments on commit 8706f9b

Please sign in to comment.