I love the answer in the FAQ: https://github.com/yt-dlp/yt-dlp/issues/14404#issuecomment-3330980464
- What about Selenium or a headless browser solution?
The yt-dlp maintainers have no interest in doing this except as a measure of last resort. A headless browser solution would be an admission of defeat and would go against the spirit of this project.
This sucks, but it is what it is. I鈥檓 glad there is actually a solution available.
I should also look into Deno for personal projects. Maybe I could utilize it myself for other stuff.
Welp; It鈥檚 easy enough to download Deno.
Anyone caught with their panties down after they make it a requirement is responsible for downloading Deno to fix it for themselves.
I鈥檓 glad they鈥檙e doing what they must to keep the project going; and moving this function to a more powerful engine isn鈥檛 a bad idea鈥 hope other YT extracting tools will follow in these footsteps as well; leveraging a more powerful tool ain鈥檛 a bad idea鈥nd it might solve some of their own papercuts.
Why Deno?
Deno is sandboxed by default and does not allow filesystem or network access.
I鈥檓 glad to see they鈥檙e using the safety-focused option by default.