Skip to content

Conversation

Theta-Dev
Copy link
Contributor

Today I noticed that NewPipe is getting throttled. So I looked into the issue and found that the nsig parameter deobfuscation failed because of a small change in the player.js code.

Before, the array definition with the decode function name only defined one variable and ended with a semicolon.

var Zva = [Wka];

Now (Player 71547d26) they added another variable to the same line. Since the regex was looking for a semicolon, the function name could not be extracted any more:
"var " + Pattern.quote(functionName) + "\\s*=\\s*\\[(.+?)];"

var Msa = [ema],
    Jsa = !1;

I removed the semicolon from the regex, as it does not seem necessary.

@AudricV
Copy link
Member

AudricV commented Jun 28, 2023

Please check existing PRs before opening a new one! Closing in favor of #1076.

@AudricV AudricV closed this Jun 28, 2023
@ShareASmile ShareASmile added the duplicate Issue or discussion is a duplicate of an existing issue or discussion label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate Issue or discussion is a duplicate of an existing issue or discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants