Skip to content

[YouTube] add new deobfuscation function name regex#1302

Merged
litetex merged 2 commits intoTeamNewPipe:devfrom
FineFindus:fix/throttling-function-regex
Jul 10, 2025
Merged

[YouTube] add new deobfuscation function name regex#1302
litetex merged 2 commits intoTeamNewPipe:devfrom
FineFindus:fix/throttling-function-regex

Conversation

@FineFindus
Copy link
Copy Markdown
Contributor

Adds a new regex to find the name of the deobfuscation function for throttling, which works for the 59b252b9 player. This matches greedily against most of the long function body, which may lead to performance issues. I'm not quite sure if I would be better to find the name another way, as I wasn't sure how 'stable' the rest of the code is :)

Closes: #1289

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

Adds a new regex to find the name of the deobfuscation function for throttling,
which works for the `59b252b9` player.

Closes: TeamNewPipe#1289
@ShareASmile ShareASmile added bug Issue or PR is related to a bug YouTube Service, https://www.youtube.com/ labels May 27, 2025
FineFindus added a commit to FineFindus/LibreTube that referenced this pull request May 27, 2025
Updates the NewPipeExtractor to the lastest version of our fork to include the
improvements to the signature and throttling issues.

Ref: TeamNewPipe/NewPipeExtractor#1290
Ref: TeamNewPipe/NewPipeExtractor#1302
FineFindus added a commit to FineFindus/LibreTube that referenced this pull request Jun 29, 2025
Updates the NewPipeExtractor to the lastest version of our fork to include the
improvements to the signature and throttling issues.

Ref: TeamNewPipe/NewPipeExtractor#1290
Ref: TeamNewPipe/NewPipeExtractor#1302
Copy link
Copy Markdown
Member

@litetex litetex left a comment

Choose a reason for hiding this comment

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

The mocks should be updated accordingly but otherwise it works fine.

@litetex litetex merged commit 1b8864a into TeamNewPipe:dev Jul 10, 2025
3 checks passed
@FineFindus FineFindus deleted the fix/throttling-function-regex branch July 11, 2025 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue or PR is related to a bug YouTube Service, https://www.youtube.com/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[YouTube] Could not run throttling parameter deobfuscation JavaScript function

4 participants