~/.config/yt-dlp/config
needs to know about cookies from the browser the user ACTIVELY/regulary uses
# profile is in ~/.mozilla/firefox/
# check with 'firefox -P' - full path shown as hover-tooltip
# or check ~/.mozilla/firefox/profiles.ini
--cookies-from-browser firefox:asdfghjk.default-blubb
/etc/yt-dlp/config
On machine homes. or shares. / needs loginctl linger (?)
/etc/systemd/user/yttimeshift.service
[Unit]
Description=YouTube Timeshift Service
ConditionHost=alice
ConditionUser=richard
[Service]
ExecStart=/mnt/domain.tld/shares/Videos/Youtube/yttimeshift/cron.sh
WorkingDirectory=/mnt/domain.tld/shares/Videos/Youtube/yttimeshift
StandardOutput=append:/mnt/domain.tld/shares/Videos/Youtube/yttimeshift/cron.log
StandardError=append:/mnt/domain.tld/shares/Videos/Youtube/yttimeshift/cron.log
TimeoutStartSec=infinity
[Install]
WantedBy=default.target
/etc/systemd/user/yttimeshift.timer
[Unit]
Description=Run YouTube Downloader at 8 AM&PM
[Timer]
OnCalendar=08:00
OnCalendar=20:00
Unit=yttimeshift.service
[Install]
WantedBy=default.target
as user: systemctl --user enable yttimeshift.timer