Skip to content

[YouTube] Extract client version from service worker data#1520

Open
FineFindus wants to merge 1 commit into
TeamNewPipe:devfrom
FineFindus:fix/yt-service-worker-data
Open

[YouTube] Extract client version from service worker data#1520
FineFindus wants to merge 1 commit into
TeamNewPipe:devfrom
FineFindus:fix/yt-service-worker-data

Conversation

@FineFindus

@FineFindus FineFindus commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Fixes extracting the web client version, by extracting the version from the service worker data (https://www.youtube.com/sw.js_data). This avoids the additional request, which is necessary after failing to extract the version, when falling back to extracting version from the search page.

Closes: #872

  • 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.

@sonarqubecloud

Copy link
Copy Markdown

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

Successfully merging this pull request may close these issues.

Find ways to get InnerTube's client version and API key of WEB and WEB_REMIX clients without using YouTube and YouTube's Music HTML pages

1 participant