5 ms·
From https://github.com/ytdl-org/youtube-dl/issues/33186 https://github.com/ytdl-org/youtube-dl/issues/33186 > Currently, a new style of player JS is beginning
by progbits 1y ago
From https://github.com/ytdl-org/youtube-dl/issues/33186 https://github.com/ytdl-org/youtube-dl/issues/33186
> 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.
- zenmac 1y agoYeah that is guess google using spaghetti code to keep their yt moat.
- Chris2048 1y agoCould something like tree-shaking be used to reduce the player code to just the token generating bit? Or does the whole player js change for each video?
- zelphirkalt 1y agoSounds like a really silly way to engineer things, but then again Google has the workforce to do lots of silly things and the cash to burn, so they can afford it.
- Klonoar 1y agoIt's silly from an engineering perspective, but unfortunately clever from YT's perspective of "how do we complicate this as much as possible".