YoutubeThrottlingParameterUtils: make third regex longer to ensure it is a function which takes one parameter

This commit is contained in:
gechoto 2025-01-06 21:44:16 +00:00 committed by Stypox
parent c7d598869c
commit ca9f1935d3
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -58,13 +58,14 @@ final class YoutubeThrottlingParameterUtils {
* The third regex matches the following text, where we want SDa and the array index
* accessed:
*
* WL(a),c=a.j[b]||null)&&(c=SDa[0](
* WL(a),c=a.j[b]||null)&&(c=SDa[0](c)
*/
Pattern.compile(MULTIPLE_CHARS_REGEX + "\\("
+ MULTIPLE_CHARS_REGEX + "\\)," + MULTIPLE_CHARS_REGEX + "="
+ MULTIPLE_CHARS_REGEX + "\\." + MULTIPLE_CHARS_REGEX + "\\["
+ MULTIPLE_CHARS_REGEX + "]\\|\\|null\\)&&\\(" + MULTIPLE_CHARS_REGEX + "=("
+ MULTIPLE_CHARS_REGEX + ")" + ARRAY_ACCESS_REGEX + "\\("),
+ MULTIPLE_CHARS_REGEX + ")" + ARRAY_ACCESS_REGEX
+ "\\(" + MULTIPLE_CHARS_REGEX + "\\)"),
/*
* The fourth regex matches the following text, where we want rma: