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

Mix-Playlist extraction is broken in EU #820

Closed
litetex opened this issue Mar 26, 2022 · 3 comments · Fixed by #882
Closed

Mix-Playlist extraction is broken in EU #820

litetex opened this issue Mar 26, 2022 · 3 comments · Fixed by #882
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/

Comments

@litetex
Copy link
Member

litetex commented Mar 26, 2022

Currently the Mix-Playlist extraction is broken (looks like YT changed something).
Test returns:

Could not get playlistData
org.schabi.newpipe.extractor.exceptions.ExtractionException: Could not get playlistData
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeMixPlaylistExtractor.onFetchPage(YoutubeMixPlaylistExtractor.java:100)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeMixPlaylistExtractorTest$ChannelMix.setUp(YoutubeMixPlaylistExtractorTest.java:356)
	...
@litetex litetex added bug Issue is related to a bug youtube service, https://www.youtube.com/ labels Mar 26, 2022
@AudricV
Copy link
Member

AudricV commented Mar 27, 2022

Seems like you cannot get mixes anymore if you don't consent to tracking (CONSENT cookie with a value starting with YES+)...

@opusforlife2
Copy link
Collaborator

Not an issue in India, at least. Likely an EU thing. Maybe we should get someone from another non-EU country to confirm.

@vludax
Copy link

vludax commented Jul 7, 2022

I see in #600 we added a PENDING consent cookie to certain requests that seem to rely on it. While using a PENDING value against the mix playlist API doesn't seem to resolve this issue, using a YES value does work as @AudricV pointed out above. Would that be the right solution here? I'd be happy to create a PR to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants