Skip to content

[YouTube] Remove broken clients, update clients constants and fix some tests - #78

Merged
ShareASmile merged 6 commits into
ShareASmile:yt_remove-broken-unused-clientsfrom
AudricV:yt_remove-broken-unused-clients
Aug 20, 2026
Merged

[YouTube] Remove broken clients, update clients constants and fix some tests#78
ShareASmile merged 6 commits into
ShareASmile:yt_remove-broken-unused-clientsfrom
AudricV:yt_remove-broken-unused-clients

Conversation

@ShareASmile

@ShareASmile ShareASmile commented Aug 20, 2026

Copy link
Copy Markdown
Owner
  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

AudricV added 6 commits August 6, 2026 19:11
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
ShareASmile merged commit f743a80 into ShareASmile:yt_remove-broken-unused-clients Aug 20, 2026
1 check failed
Repository owner locked and limited conversation to collaborators Aug 20, 2026
@AudricV
AudricV deleted the yt_remove-broken-unused-clients branch August 21, 2026 21:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants