# Browser cookies overlay: yt-dlp's `--cookies-from-browser` (Settings → # cookiesFromBrowser, a channel's own value, and cookieMode) and gallery-dl's # read a browser's cookie store. In a container there is no browser, so the # host's Firefox profiles are mounted READ-ONLY and the setting names the path: # # docker compose -f docker-compose.yml -f docker-compose.browser.yml up -d # # then, in Settings (or a channel's Configure form): # # cookiesFromBrowser = firefox:/data/browser/firefox # # yt-dlp takes a path as the profile and reads the newest cookies.sqlite under # it (one profile dir — firefox:/data/browser/firefox/ — # pins one). It copies the database before reading, so read-only is enough, and # Firefox may stay open on the host. # # What works from here: # Firefox YouTube, Rumble (cf_clearance — the app pins the User-Agent that # cookie was issued to), Odysee, X via gallery-dl. Its cookies are # not encrypted on Linux. # Chrome / NOT from a container: on Linux their cookies are encrypted with a # Chromium key held by the desktop keyring (GNOME Keyring, KWallet), which a # container cannot reach. Export a cookies.txt (Netscape format) # instead, copy it into the config volume and name it with file:: # docker compose cp cookies.txt editor:/data/config/cookies.txt # cookiesFromBrowser = file:/data/config/cookies.txt # (no overlay needed for that one; a cookies.txt goes stale as the # site rotates its cookies — re-export when fetches start failing). # # Where your profiles are: # ~/.mozilla/firefox the classic place (the default here) # ~/.config/mozilla/firefox a newer Firefox's XDG location # ~/snap/firefox/common/.mozilla/firefox Ubuntu's snap # ~/.var/app/org.mozilla.firefox/.mozilla/firefox flatpak # Set ARCHILYZER_FIREFOX_PROFILES in .env when yours is not the first. services: editor: volumes: - type: bind source: ${ARCHILYZER_FIREFOX_PROFILES:-${HOME:-.}/.mozilla/firefox} target: /data/browser/firefox read_only: true bind: create_host_path: false