mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-27 15:30:34 +05:30
Fix invalid CONSENT cookie value
This commit is contained in:
parent
a023f08774
commit
9ca6dc26ed
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user