mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-08-31 14:26:14 +00:00
[YouTube] Allow both types of string quotes
This commit is contained in:
@@ -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)+?\\}\\};)";
|
||||
|
Reference in New Issue
Block a user