mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-08-30 22:05:18 +00:00
Fix invalid CONSENT cookie value
This commit is contained in:
@@ -734,7 +734,8 @@ public class YoutubeParsingHelper {
|
||||
}
|
||||
|
||||
public static String generateConsentCookie() {
|
||||
return CONSENT_COOKIE + 100 + numberGenerator.nextInt(900);
|
||||
final int statusCode = 100 + numberGenerator.nextInt(900);
|
||||
return CONSENT_COOKIE + statusCode;
|
||||
}
|
||||
|
||||
public static String extractCookieValue(final String cookieName, final Response response) {
|
||||
|
Reference in New Issue
Block a user