Skip to content

Commit

Permalink
fix: fixed N function extraction.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixkk committed Dec 17, 2024
1 parent 3572d99 commit 564a619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NUXT/plugins/innertube.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ class Innertube {
baseJs.data
);
} else if (
/var [A-z0-9$]+=\{[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\},\n[A-Za-z0-9]+:function\([A-z0-9],[A-z0-9]\)\{[^}]*\},\n[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\}\}\;/.exec(
/var [A-z0-9$]+=\{[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\},\n[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\},\n[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\}\}\;/.exec(
baseJs.data
)
) {
isMatch =
/var [A-z0-9$]+=\{[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\},\n[A-Za-z0-9]+:function\([A-z0-9],[A-z0-9]\)\{[^}]*\},\n[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\}\}\;/.exec(
/var [A-z0-9$]+=\{[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\},\n[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\},\n[A-Za-z0-9]+:function\([^)]*\)\{[^}]*\}\}\;/.exec(
baseJs.data
);
}
Expand Down

0 comments on commit 564a619

Please sign in to comment.