Update extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java

This commit is contained in:
Stypox 2023-01-02 18:11:03 +01:00 committed by GitHub
parent d8ce08d969
commit 219c5c5be5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1427,7 +1427,8 @@ public final class YoutubeParsingHelper {
}
/**
* Returns a {@link Map} containing the required YouTube headers.
* Returns a {@link Map} containing the required YouTube headers, including the
* <code>CONSENT</code> cookie to prevent redirects to <code>consent.youtube.com</code>
*/
public static Map<String, List<String>> getYouTubeHeaders()
throws ExtractionException, IOException {