I had a workflow that pulls metadata off a handful of YouTube URLs on a schedule. It ran fine for weeks, then started failing with Sign in to confirm you're not a bot and HTTP Error 403 . The command hadn't changed, and it still worked on my laptop. It only failed in the runner.
It took me a while to accept that the command was fine and the problem was where it ran. GitHub-hosted runners share a pool of datacenter IPs (Azure), and YouTube treats those IPs as suspicious. So the same yt-dlp line that works at home gets challenged in CI, because home is a residential IP and the runner isn't.
The first thing worth doing is confirming that, so you don't spend an afternoon rewriting a command that was never broken.…