How to fix youtube streams with status 403 forbidden #703
Replies: 1 comment
-
When the signature cipher is applied, the
That part is unrelated to signature extraction and wouldn't be affected by the changes you're suggesting. Sometimes, YouTube returns a manifest that contains cipher data and, despite deciphering the signature correctly, the URL still resolves to a 403 error. This is not because signature is missing from the manifest (it is there). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @Tyrrrz
I wan to offer some ideas to make the project even better, there is no contribute guidelines so will share them here.
When getting the manifests for a video id, it only checks for a signature in the CipherData property, however some times the signature will come from the stream links in a "sig" parameter, so this property:
Needs to do something like this:
Afterwards, a new check should be added in StreamClient GetStreamInfosAsync function:
That way this code is no longer necessary:
Hope this helps!
Beta Was this translation helpful? Give feedback.
All reactions