Skip to content

Commit 219c5c5

Browse files
authored
Update extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java
1 parent d8ce08d commit 219c5c5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,8 @@ public static Map<String, List<String>> getYoutubeMusicHeaders() {
14271427
}
14281428

14291429
/**
1430-
* Returns a {@link Map} containing the required YouTube headers.
1430+
* Returns a {@link Map} containing the required YouTube headers, including the
1431+
* <code>CONSENT</code> cookie to prevent redirects to <code>consent.youtube.com</code>
14311432
*/
14321433
public static Map<String, List<String>> getYouTubeHeaders()
14331434
throws ExtractionException, IOException {

0 commit comments

Comments
 (0)