preserve original function name only case
This commit is contained in:
parent
d4119b0f30
commit
e14ee05742
|
@ -127,11 +127,12 @@ final class YoutubeThrottlingParameterUtils {
|
|||
+ "known patterns in the base JavaScript player code", e);
|
||||
}
|
||||
|
||||
if (matcher.groupCount() == 1) {
|
||||
return matcher.group(1);
|
||||
}
|
||||
|
||||
final int funcNameIndex = matcher.groupCount() - 1;
|
||||
final String functionName = matcher.group(funcNameIndex);
|
||||
if (matcher.groupCount() == 1) {
|
||||
return functionName;
|
||||
}
|
||||
|
||||
final int arrayNumIndex = matcher.groupCount();
|
||||
final int arrayNum = Integer.parseInt(matcher.group(arrayNumIndex));
|
||||
|
|
Loading…
Reference in New Issue