[YouTube] Remove broken clients, update clients constants and fix some tests - #78
Merged
ShareASmile merged 6 commits intoAug 20, 2026
Conversation
As nobody is able to generate poTokens for first two, we shouldn't add code that will be unused and add complexity. The WEB_EMBEDDED_PLAYER, used to bypass a very few age-restrictions, wasn't used for a while in the current extractor code and requires some parameters the extractor doesn't currently support. As a result of this removal, DASH manifests are no longer available, videos made for kids cannot be played and the following elements have been removed: - methods: - YoutubeStreamExtractor.forceFetchIosClient - YoutubeParsingHelper.getAndroidUserAgent - YoutubeParsingHelper.getIosUserAgent - YoutubeParsingHelper.isAndroidStreamingUrl - YoutubeParsingHelper.isIosStreamingUrl - YoutubeParsingHelper.isWebEmbeddedPlayerStreamingUrl - InnertubeClientRequestInfo.ofAndroidClient - InnertubeClientRequestInfo.ofIosClient - InnertubeClientRequestInfo.ofWebEmbeddedPlayerClient - PoTokenProvider.getAndroidClientPoToken - PoTokenProvider.getIosClientPoToken - PoTokenProvider.getWebEmbedClientPoToken - constants: related constants of ANDROID, IOS and WEB_EMBEDDED clients
This is a temporary change until we can extract videos made for kids again.
ShareASmile
merged commit Aug 20, 2026
f743a80
into
ShareASmile:yt_remove-broken-unused-clients
1 check failed
Repository owner
locked and limited conversation to collaborators
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.