2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-29 13:27:38 +00:00

[YouTube] Allow lowercase global array names

This commit is contained in:
FineFindus 2025-07-11 08:17:01 +02:00
parent d914e86a82
commit a847fdb330
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B

View File

@ -38,7 +38,7 @@ final class YoutubeSignatureUtils {
private static final String DEOBF_FUNC_REGEX_END = "=function\\([a-zA-Z0-9_]+\\)\\{.+?\\})";
// CHECKSTYLE:OFF
private static final String SIG_DEOBF_GLOBAL_ARRAY_REGEX = "(var [A-Z]='.*'.split\\(\";\"\\))";
private static final String SIG_DEOBF_GLOBAL_ARRAY_REGEX = "(var [A-z]=\".*\".split\\(\";\"\\))";
private static final String SIG_DEOBF_HELPER_OBJ_NAME_REGEX = ";([A-Za-z0-9_\\$]{2,})\\[..";
private static final String SIG_DEOBF_HELPER_OBJ_REGEX_START = "(var ";
private static final String SIG_DEOBF_HELPER_OBJ_REGEX_END = "=\\{(?>.|\\n)+?\\}\\};)";