Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

youtube redirect causes multiple attribute failures #31

Closed
craigmcgowan opened this issue Apr 5, 2021 · 10 comments · Fixed by #35
Closed

youtube redirect causes multiple attribute failures #31

craigmcgowan opened this issue Apr 5, 2021 · 10 comments · Fixed by #35

Comments

@craigmcgowan
Copy link

I've only recently found this component and am using 0.6.0 to feed in a few latest streams of a few favourite channels.

However, over the last couple of days I've noticed that "channel Image" has disappeared from all my sensors.

Anyone also having this issue?

@pinkywafer pinkywafer changed the title Channel Image stopped working? youtube redirect causes multiple failures Apr 29, 2021
@pinkywafer
Copy link
Collaborator

youtube is now redirecting any requests for a video or channel to a landing page warning about cookies.
This now causes ALL the following attributes to fail:

  • stream
  • live
  • channel_is_live
  • channel_image

@pinkywafer pinkywafer changed the title youtube redirect causes multiple failures youtube redirect causes multiple attribute failures Apr 29, 2021
@nytram-md
Copy link

Thanks for the update. Are we awaiting a fix or is this not possible ?

Thanks

Martyn

@pinkywafer
Copy link
Collaborator

I'm looking into it, but not sure as yet

@ludeeus
Copy link
Collaborator

ludeeus commented Apr 29, 2021

I tried forcing the mobile site, but that was not stable

@pinkywafer
Copy link
Collaborator

no streaming / live etc data provided on the embed so cant use that either

@pinkywafer
Copy link
Collaborator

it seems that the consent page is bypassed if cookies are blocked... so is there any way to implement cookie blocking through the session we're using?

@nytram-md
Copy link

nytram-md commented Apr 29, 2021 via email

@pinkywafer
Copy link
Collaborator

that is a possibility, I believe the consent screen is related to Google's interpretation of the Europe wide GDPR. However, the loaded page is specific to the location of the requesting client, so no easy way to load eg the USA version

@ludeeus
Copy link
Collaborator

ludeeus commented Apr 29, 2021

We should not mess with the session.

The consent is probably only shown in countries covered by GDPR

@pinkywafer
Copy link
Collaborator

ok, I may be onto something... by sending a fake cookie with the request, we may be able to get around this.
can anyone please try the possible-fix-for-consent-screen branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

4 participants