Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to decode object from given start point: #9

Open
Franknxtn opened this issue May 1, 2023 · 3 comments
Open

Failed to decode object from given start point: #9

Franknxtn opened this issue May 1, 2023 · 3 comments

Comments

@Franknxtn
Copy link

Hi, The descrambling mechanism does not seem to work anymore. I receive below error on Xcode log, and the stream URL too refuses to play...

applying descrambler
finding initial function name
Failed to decode object from given start point: The data couldn’t be read because it isn’t in the correct format.
[Extraction] pattern (ytplayer.config\s*=\s*) failed: The operation couldn’t be completed.

@alexeichhorn
Copy link
Owner

Does it work with the new 0.1.8 release?

@Jeehut
Copy link

Jeehut commented Sep 26, 2023

Having the same issue here from time to time, I'm on the latest main commit.

@Jeehut
Copy link

Jeehut commented Sep 26, 2023

Here's the full value stored in fullObject within the parseForObjectFromStartpoint method that couldn't be parsed:

{args:{raw_player_response:window.ytplayer.bootstrapPlayerResponse}}

This is not valid JSON. Also the type it's trying to parse it to is Extraction.PlayerConfig which doesn't fit the structure.

The test in your unit tests named testSampleVideo1 also fails due to the same issue if you set the InnerTube client type to .web (it fails also with set to .ios in my project, but in the tests it works with .ios).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants