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
Missing related songs #800
Comments
yep, embed was mainly used to get around age restricted content while not logged in. but that no longer works. I'm also thinking of adding the regular watch.html page as backup, it has related video content too |
And you can update the client version automatically with this. It contains |
right now the json endpoint is tried first, then the watch.html endpoint. the json endpoint hasn't been very reliable though, except with cookies i hear, so we could switch their position and then grab the client version in case the watch.html endpoint fails |
node-ytdl-core/lib/info.js
Lines 47 to 51 in 3ced5ac
I think we should use
getVideoInfoPage
instead ofgetEmbedPage
.Because an embed page doesn't provide any related songs and on browser, it has to use
getVideoInfoPage
to get related videos at the end of a video. Some other properties such aslike
,dislike
is null tooThe text was updated successfully, but these errors were encountered: