Skip to content

Commit

Permalink
fix(signature): YouTube change for signature deciphering
Browse files Browse the repository at this point in the history
fixes #282
  • Loading branch information
fent committed Feb 7, 2018
1 parent 4e9e07f commit 18b3f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sig.js
Expand Up @@ -109,7 +109,7 @@ var spliceStr = ':function\\(a,b\\)\\{' +
'a\\.splice\\(0,b\\)' +
'\\}';
var swapStr = ':function\\(a,b\\)\\{' +
'var c=a\\[0\\];a\\[0\\]=a\\[b%a\\.length\\];a\\[b\\]=c(?:;return a)?' +
'var c=a\\[0\\];a\\[0\\]=a\\[b(?:%a\\.length)?\\];a\\[b(?:%a\\.length)?\\]=c(?:;return a)?' +
'\\}';
var actionsObjRegexp = new RegExp(
`var (${jsVarStr})=\\{((?:(?:` +
Expand Down

3 comments on commit 18b3f22

@wzhouwzhou
Copy link

Choose a reason for hiding this comment

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

Thank you for the quick fix!

@ErykDev
Copy link

@ErykDev ErykDev commented on 18b3f22 Feb 9, 2018

Choose a reason for hiding this comment

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

great job

@jakeweary
Copy link

Choose a reason for hiding this comment

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

❤️

Please sign in to comment.