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

SignatureDecoder Issues #182

Open
cyberpunkbln opened this issue Nov 13, 2023 · 0 comments
Open

SignatureDecoder Issues #182

cyberpunkbln opened this issue Nov 13, 2023 · 0 comments

Comments

@cyberpunkbln
Copy link

cyberpunkbln commented Nov 13, 2023

Hello,

all is functioned. Wiith the new PlayerApiRequest options i receive only Video without an signatureCipher, even on MusicVideos. I have used old youtube url from issues to test the new signature cipher.

https://youtu.be/72oON3ChgPc

I use the MWEB Client to receive signatureCipher Links and the decoded string are not viewable. Are this old sigs, while MWEB?

It was only a test and the MWEB Client the only chance to receive decoded videos-links?

Has anyody an cipherencoded url for me that reponse signatureCipher-urls with the new Android-Client? THat i can test the new SigntureDecoder Class?

thx

Edit: Tested on https://www.youtube.com/watch?v=suAR1PYFNYA SignatureDecoder don't functioned on this link with MWEB Client???? Has Youtube changed something? Why only MWEB produces signatureCipher-Links?

This are my Fix too become ultralow formats, only as an test of the new SignatureDecoder Class.


$response = $this->client->post("https://www.youtube.com/youtubei/v1/player?key=" . $configData->getApiKey(), json_encode([
            "context" => [
                "client" => [
					"clientName" => "MWEB",
					"clientVersion" => "2.20220801.00.00",
					"hl" => "en",
					"timeZone" => "UTC",
					"userAgent" => $userAgent,
					"utcOffsetMinutes" => 0
                ]
            ],
            "params" => "CgIQBg==",
            "videoId" => $video_id,
            "playbackContext" => [
                "contentPlaybackContext" => [
                    "html5Preference" => "HTML5_PREF_WANTS"
                ]
            ],
            "racyCheckOk" => true
        ]), [
            'Content-Type' => 'application/json',
            'X-Goog-Visitor-Id' => $configData->getGoogleVisitorId(),
            'X-Youtube-Client-Name' => $configData->getClientName(),
            'X-Youtube-Client-Version' => $configData->getClientVersion()
        ]);

is MWEB depreceated?

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

1 participant