You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the TVHTML5_SIMPLY_EMBEDDED_PLAYER client (or any other JS-enabled client, but this is the one we're using), occasionally YouTube may return a stream that has the n parameter. This parameter is an encrypted signature, similar to sig, but is responsible for rate throttling.
It also incorporates much more complicated cipher functions, so the existing deciphering code will not be enough to tackle it.
Currently, these kinds of streams are not too common, but I assume they will become more prolific as time goes on. It's not a huge issue now as the TVHTML5_SIMPLY_EMBEDDED_PLAYER client is only used for age-restricted videos.
Steps to reproduce
Use the Demo.Gui project
Resolve stream manifest for any age-restricted video:
I wonder if using the base.js functions could be a solution for the TVHTML5_SIMPLY_EMBEDDED_PLAYER. Maybe this PR could be used as start point #601 but it would be needed to add a js interpreter
As Tyrrrz suspected, this is causing problems for more and more videos. I am using the library for Realtime playback (WInui 3) and on some videos, I can't even play smoothly. Link generated by ytdlp seems to be working though.
Version
v6.2.13 / master
Details
When using the
TVHTML5_SIMPLY_EMBEDDED_PLAYER
client (or any other JS-enabled client, but this is the one we're using), occasionally YouTube may return a stream that has then
parameter. This parameter is an encrypted signature, similar tosig
, but is responsible for rate throttling.It also incorporates much more complicated cipher functions, so the existing deciphering code will not be enough to tackle it.
Currently, these kinds of streams are not too common, but I assume they will become more prolific as time goes on. It's not a huge issue now as the
TVHTML5_SIMPLY_EMBEDDED_PLAYER
client is only used for age-restricted videos.Steps to reproduce
YoutubeExplode/YoutubeExplode.Tests/TestData/VideoIds.cs
Lines 11 to 13 in a8318c0
Updated, much more consistent steps to reproduce that require a VPN:
The text was updated successfully, but these errors were encountered: