Skip to content

Commit 0dfaeb2

Browse files
committed
Added doc for related code
1 parent 5184231 commit 0dfaeb2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeThrottlingParameterUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
*/
1919
final class YoutubeThrottlingParameterUtils {
2020

21+
// NOTE: When changing this you should also change the quick exit/shortcut
22+
// in getThrottlingParameterFromStreamingUrl
2123
private static final Pattern THROTTLING_PARAM_PATTERN = Pattern.compile("[&?]n=([^&]+)");
2224

2325
private static final String SINGLE_CHAR_VARIABLE_REGEX = "[a-zA-Z0-9$_]";

0 commit comments

Comments
 (0)