Skip to content

Commit

Permalink
Make CONSENT COOKIE constants private
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiGr committed Apr 9, 2021
1 parent e6073ac commit 3469b80
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ private 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=";
Expand Down

0 comments on commit 3469b80

Please sign in to comment.