I run up against it when using yt-dlp too. I found something about “passing” cookies but that sounded risky and out of my depth.