Skip to content

Commit

Permalink
[cookies] Add --cookies-from-browser support for Firefox Flatpak (#…
Browse files Browse the repository at this point in the history
…9619)

Authored by: un-def
  • Loading branch information
un-def committed Apr 7, 2024
1 parent b15b0c1 commit 2ab2651
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion yt_dlp/cookies.py
Expand Up @@ -194,7 +194,11 @@ def _firefox_browser_dirs():
yield os.path.expanduser('~/Library/Application Support/Firefox/Profiles')

else:
yield from map(os.path.expanduser, ('~/.mozilla/firefox', '~/snap/firefox/common/.mozilla/firefox'))
yield from map(os.path.expanduser, (
'~/.mozilla/firefox',
'~/snap/firefox/common/.mozilla/firefox',
'~/.var/app/org.mozilla.firefox/.mozilla/firefox',
))


def _firefox_cookie_dbs(roots):
Expand Down

0 comments on commit 2ab2651

Please sign in to comment.