related_videos is always empty.
I'm using the latest version of ytdl-core, 0.29.5.
At some point earlier today, YouTube changed something on their end that means ytdl-core fails to find the data. This also affects the Invidious project in exactly the same way.
Related video data is still available in the HTML, so just changing where you look for it should be enough to fix this.
IssueHunt Summary
IssueHunt has been backed by the following sponsors. Become a sponsor
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Here is how Invidious fixed this: https://github.com/omarroth/invidious/commit/16056661ddf19b2e877dc772476a85c5bdccc41e
Related videos data now includes new fields for author ID, author thumbnails, and a precise view count.
@issuehunt has funded $40.00 to this issue.
@fent has rewarded $36.00 to @ashikmeerankutty. See it on IssueHunt
For me related_videos is always empty. Should I open a new bug? Can someone confirm?
By the way, a test could be added that checks for related_videos results.