File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
common/src/main/java/dev/lavalink/youtube/cipher Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -29,4 +29,5 @@ replay_pid*
2929* /build /*
3030build
3131
32- application.yml
32+ application.yml
33+ playerconfigs /*
Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ public class SignatureCipherManager {
8181 private static final Pattern timestampPattern = Pattern .compile ("(signatureTimestamp|sts):(\\ d+)" );
8282 private static final Pattern nFunctionPattern = Pattern .compile (
8383 "function\\ (\\ s*(\\ w+)\\ s*\\ )\\ s*\\ {" +
84- "var\\ s*(\\ w+)=(?:\\ 1\\ .split\\ (\" \" \\ )|String\\ .prototype\\ .split\\ .call\\ (\\ 1,\" \" \\ ))," +
84+ "var\\ s*(\\ w+)=(?:\\ 1\\ .split\\ (\" \" \\ )|String\\ .prototype\\ .split\\ .call\\ (\\ 1,.*? \\ ))," +
8585 "\\ s*(\\ w+)=(\\ [.*?]);\\ s*\\ 3\\ [\\ d+]" +
86- "(.*?try)(\\ {.*?})catch\\ (\\ s*(\\ w+)\\ s*\\ )\\ s*\\ " +
87- "{ \\ s*return\" enhanced_except_([A-z0-9-]+)\" \\ s*\\ +\\ s*\\ 1\\ s*}" +
88- "\\ s*return\\ s*(\\ 2\\ .join\\ (\" \" \\ )|Array\\ .prototype\\ .join\\ .call\\ (\\ 2,\" \" \\ ))};" , Pattern .DOTALL
86+ "(.*?try)(\\ {.*?})catch\\ (\\ s*(\\ w+)\\ s*\\ )\\ s*\\ { " +
87+ "\\ s*return\" enhanced_except_([A-z0-9-]+)\" \\ s*\\ +\\ s*\\ 1\\ s*}" +
88+ "\\ s*return\\ s*(\\ 2\\ .join\\ (\" \" \\ )|Array\\ .prototype\\ .join\\ .call\\ (\\ 2,.*? \\ ))};" , Pattern .DOTALL
8989 );
9090
9191 private final ConcurrentMap <String , SignatureCipher > cipherCache ;
You can’t perform that action at this time.
0 commit comments