ansible-galaxy install -r requirements.yml
- A custom dnsmasq.d config file gives wildcard resolution for the fqdn of the main server.
yt-dlp in a loop, routed through a WireGuard sidecar. Syncthing supplies the
inputs. Downloads go to {{ ytdlp_download_dir }}. The WG peer config lives at
roles/containers/files/ytdlp/wg0.conf, which is gitignored. Keep it as a
symlink to your local copy.
To refresh the cookies after YouTube blocks the downloads again:
- Open a private window in Firefox or Chromium. Sign in to YouTube. A throwaway account is fine.
- Export the cookies with the "Get cookies.txt LOCALLY" extension while a YouTube tab is open.
- Close the private window immediately. Do not browse elsewhere and do not log out. Both actions invalidate the cookies.
- Save the file as
cookies.txtin the syncthing ytdlp dir.run.shfinds it.
If the cookies are not enough, read the
PO Token Guide. The
bgutil sidecar was removed. See the git history for the wiring if you must add
it back. To pull a newer yt-dlp, rebuild:
docker compose -f /fastboi/docker/ytdlp/docker-compose.yml up -d --build.