mirror of https://github.com/yt-dlp/yt-dlp.git
[cookies] Add `--cookies-from-browser` support for Firefox Flatpak (#9619)
Authored by: un-def
This commit is contained in:
parent
b15b0c1d21
commit
2ab2651a4a
|
@ -194,7 +194,11 @@ def _firefox_browser_dirs():
|
||||||
yield os.path.expanduser('~/Library/Application Support/Firefox/Profiles')
|
yield os.path.expanduser('~/Library/Application Support/Firefox/Profiles')
|
||||||
|
|
||||||
else:
|
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):
|
def _firefox_cookie_dbs(roots):
|
||||||
|
|
Loading…
Reference in New Issue