Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #658 from pixkk/main
Browse files Browse the repository at this point in the history
fix(innertube): Fixed decipher function
  • Loading branch information
Robotition authored Jul 10, 2023
2 parents ff25450 + f763612 commit b6659d7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions NUXT/plugins/innertube.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ class Innertube {
/\{[A-Za-z]=[A-Za-z]\.split\(""\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);return +[A-Za-z]\.join\(""\)};/.exec(
baseJs.data
);
} else if (
/\{a=a\.split\(""[^"]*""\)\};/i.exec(
baseJs.data
)
) {
// 10.07.2023
isMatch =
/\{a=a\.split\(""[^"]*""\)\};/i.exec(
baseJs.data
);
} else {
isMatch =
/\{a=a\.split\(""\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);[A-Za-z]+\.[A-Za-z0-9]+\([^)]*\);return a\.join\(""\)\};/.exec(
Expand Down

0 comments on commit b6659d7

Please sign in to comment.