Skip to content

[YouTube] Update NewPipeExtractor and adapt to removals - #13801

Merged
TobiGr merged 1 commit into
TeamNewPipe:devfrom
AudricV:npe_update
Aug 30, 2026
Merged

[YouTube] Update NewPipeExtractor and adapt to removals#13801
TobiGr merged 1 commit into
TeamNewPipe:devfrom
AudricV:npe_update

Conversation

@AudricV

@AudricV AudricV commented Aug 29, 2026

Copy link
Copy Markdown
Member

What is it?

  • Bugfix (user facing)

Description of the changes in your PR

This is the app part of TeamNewPipe/NewPipeExtractor#1529, by adapting app code to removed methods.

⚠️ As the extractor PR says, the app will not be able to play YouTube videos made for kids anymore, to avoid making requests to another client which may increase the YouTube logged out anti bot IP blocks, and due to a lack of a InnerTube client supporting these videos without requiring extraction of JavaScript data and requiring poTokens we can't generate. When we fix the JavaScript extraction and the poToken generation for the WEB InnerTube client, we will be able to play these videos again ⚠️

Fixes the following issue(s)

Fixes #13710

Relies on the following changes

TeamNewPipe/NewPipeExtractor#1529

Testing/QA

Devices

Tested on a Google Pixel 7a running Android 16 by doing the steps below.

Steps for testing

With an IP address not blocked by YouTube for logged-out playback, I:

  • searched for a running YouTube livestream and tried to play it for more than 30 seconds, it worked properly;
  • played regular YouTube videos, they worked properly, except videos made for kids returning now a Content not available error.
APK for testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@AudricV AudricV added bug Issue is related to a bug ASAP Issue/PR needs to be adressed as soon as possible YouTube Service, https://www.youtube.com/ labels Aug 29, 2026
@github-actions github-actions Bot added the size/small PRs with less than 50 changed lines label Aug 29, 2026
@AudricV AudricV added this to v0.29.x Aug 29, 2026
@github-project-automation github-project-automation Bot moved this to Todo in v0.29.x Aug 29, 2026
@AudricV AudricV moved this from Todo to In Progress in v0.29.x Aug 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

@TobiGr

TobiGr commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Hm that are exactly the changes I've made which caused the anti bot exceptions

@AudricV

AudricV commented Aug 30, 2026

Copy link
Copy Markdown
Member Author

This is unrelated, as it doesn't change the current ExoPlayer requests made in the app side.

@TobiGr TobiGr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@TobiGr
TobiGr merged commit b4003d6 into TeamNewPipe:dev Aug 30, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in v0.29.x Aug 30, 2026
@AudricV
AudricV deleted the npe_update branch August 30, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ASAP Issue/PR needs to be adressed as soon as possible bug Issue is related to a bug size/small PRs with less than 50 changed lines YouTube Service, https://www.youtube.com/

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[YouTube] Live Stream fails after 30 seconds

2 participants