mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-09-03 07:45:16 +00:00
Added doc for related code
This commit is contained in:
@@ -18,6 +18,8 @@ import java.util.regex.Pattern;
|
|||||||
*/
|
*/
|
||||||
final class YoutubeThrottlingParameterUtils {
|
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 Pattern THROTTLING_PARAM_PATTERN = Pattern.compile("[&?]n=([^&]+)");
|
||||||
|
|
||||||
private static final String SINGLE_CHAR_VARIABLE_REGEX = "[a-zA-Z0-9$_]";
|
private static final String SINGLE_CHAR_VARIABLE_REGEX = "[a-zA-Z0-9$_]";
|
||||||
|
Reference in New Issue
Block a user