Skip to content

[EU countries only] YouTube JSON data cannot be fetched due to new EU cookies agreement #592

@AudricV

Description

@AudricV

Google change the way for consent about YouTube cookies agreement in EU countries. Instead of showing a popup in the website, YouTube redirects the user to a new webpage at consent.youtube.com domain. It also affects YouTube JSON fetching data.
Issue seems to be more reproducible now, it's in A/B testing.

Fix for this is to put a cookie CONSENT with YES+ value for every YouTube request, excepting images, video or audios of course.

Or we can also move JSON requests to youtubei.googleapis.com, but all requests are POST (not tested if it works, I am not really sure).

Reported a while ago on Reddit: https://www.reddit.com/r/uBlockOrigin/comments/lz4ibd/new_fullscreen_before_you_continue_to_youtube_page/

Metadata

Metadata

Assignees

No one assigned

    Labels

    ASAPIssue needs to be fixed as soon as possibleyoutubeservice, https://www.youtube.com/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions