2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-29 05:18:05 +00:00

Added doc for related code

This commit is contained in:
litetex 2025-07-11 20:12:50 +02:00
parent 5184231479
commit 0dfaeb20fa
No known key found for this signature in database
GPG Key ID: 525B43E6039B3689

View File

@ -18,6 +18,8 @@ import java.util.regex.Pattern;
*/
final class YoutubeThrottlingParameterUtils {
// NOTE: When changing this you should also change the quick exit/shortcut
// in getThrottlingParameterFromStreamingUrl
private static final Pattern THROTTLING_PARAM_PATTERN = Pattern.compile("[&?]n=([^&]+)");
private static final String SINGLE_CHAR_VARIABLE_REGEX = "[a-zA-Z0-9$_]";