0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-28 01:41:06 +00:00

[cookies] Add --cookies-from-browser support for Firefox Flatpak (#9619)

Authored by: un-def
This commit is contained in:
Dmitry Meyer 2024-04-07 18:28:59 +03:00 committed by GitHub
parent b15b0c1d21
commit 2ab2651a4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):