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

Scroll continuation not working for video recommendations (watch next feed) #169

Open
1 task done
zerodytrash opened this issue Dec 25, 2022 · 3 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@zerodytrash
Copy link
Owner

What happened?

It worked a few days ago via the /next endpoint with an appropriate continuation token. Now YT queries the endpoint https://www.youtube.com/related_ajax?ctoken=.... which seems to no longer exist (404) and it gets stuck at the loading indicator.

Platform

Userscript

Version

2.5.4

What browser are you on?

Chrome

Browser version

108.0.5359.125

Link to the video

https://www.youtube.com/watch?v=dqRZDebPIGs

Screenshots or Videos

Scroll to the end of the video suggestions and check if more of them are loaded.

image

About you

  • I am a developer and/or have knowledge in programming
@zerodytrash zerodytrash added the bug Something isn't working label Dec 25, 2022
@drunkwinter
Copy link
Collaborator

Production server gives a different response than what's expected.

// production
contents.twoColumnWatchNextResults.secondaryResults.secondaryResults.continuations

// local
contents.twoColumnWatchNextResults.secondaryResults.secondaryResults.results[lastIndex].continuationItemRenderer

I think it's location based? There is no way for me to really test this...

@drunkwinter
Copy link
Collaborator

drunkwinter commented Dec 25, 2022

We could definitely reconstruct the response format, but don't know if that's a good idea or if it even will work to begin with.

@drunkwinter
Copy link
Collaborator

I'm getting this with every video now, even with the script disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants