Yt-dlp: Upcoming new requirements for YouTube downloads
1–10 of 635 posts
Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#2Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#3SABR
Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#4Is it just a lot of CPU-bound code and the modern JIT runtimes are simply that much faster, or is it doing some trickery that deno optimizes well?
Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#5Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#6Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#7I was surprised they went with Deno instead of Node, but since Deno has a readily available single-exe distribution that removes a lot of potential pain. This was pretty much just a matter of time, though; the original interpreter in Python was a brilliant hack but limited in capability. It was discussed a few years ago for the YouTube-dl project here https://news.ycombinator.com/item?id=32793061
Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#8Can anyone explain specifically what the YT code does that the existing python interpreter is unusable and apparently quickjs takes 20 minutes to run it? Is it just a lot of CPU-bound code and the modern JIT runtimes are simply that much faster, or is it doing some trickery that deno optimizes well?
> Currently, a new style of player JS is beginning to be sent where the challenge code is no longer modular but is hooked into other code throughout the player JS.
So it's no longer a standalone script that can be interpreted but it depends on all the other code on the site? Which could still be interpreted maybe but is a lot more complex and might need DOM etc?
Just guessing here, if anyone knows the details would love to hear more.
Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#9Awaiting their “premium cannot be shared with people outside household” policy so I can finally cancel. Family members make good use of ad-free.
Re: Yt-dlp: Upcoming new requirements for YouTube downloads
#10No requirements for me. I don´t use YT at all :) There are plenty of better alternatives.