mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-13 22:00:32 +05:30
Make CONSENT COOKIE constants private
This commit is contained in:
parent
b94b316558
commit
33173eb3e6
@ -81,11 +81,11 @@ public class YoutubeParsingHelper {
|
||||
* Therefore, YouTube & Google should not track the user, because they did not give consent.
|
||||
* The three digits at the end can be random, but are required.
|
||||
*/
|
||||
public static final String CONSENT_COOKIE_VALUE = "PENDING+";
|
||||
private static final String CONSENT_COOKIE_VALUE = "PENDING+";
|
||||
/**
|
||||
* Youtube <code>CONSENT</code> cookie. Should prevent redirect to consent.youtube.com
|
||||
*/
|
||||
public static final String CONSENT_COOKIE = "CONSENT=" + CONSENT_COOKIE_VALUE;
|
||||
private static final String CONSENT_COOKIE = "CONSENT=" + CONSENT_COOKIE_VALUE;
|
||||
|
||||
private static final String FEED_BASE_CHANNEL_ID = "https://www.youtube.com/feeds/videos.xml?channel_id=";
|
||||
private static final String FEED_BASE_USER = "https://www.youtube.com/feeds/videos.xml?user=";
|
||||
|
@ -14,7 +14,6 @@ import java.io.IOException;
|
||||
import java.net.URLEncoder;
|
||||
import java.util.*;
|
||||
|
||||
import static org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.CONSENT_COOKIE_VALUE;
|
||||
import static org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.addCookieHeader;
|
||||
import static org.schabi.newpipe.extractor.utils.Utils.UTF_8;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user