YouTubeKit
YouTubeKit copied to clipboard
Failed to decode object from given start point:
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.
Does it work with the new 0.1.8
release?
Having the same issue here from time to time, I'm on the latest main
commit.
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
).