iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.18k stars 1.79k forks source link

[Feature request / Enhancement] Allow viewing video info when Youtube blocks video access for signed-out users. #4744

Open ic-scm opened 3 months ago

ic-scm commented 3 months ago

Creating a new issue thread for this suggestion as per @unixfox's order.

Is your feature request related to a problem? Please describe. As I mentioned in #4734, it seems that when Youtube blocks access for signed-out users with the message mentioned in the main comment of the linked issue, Youtube only seems to block access to the actual video player and not the remainder of the page that contains most of the video info.

Describe the solution you'd like With that in mind, it might be possible to change Invidious's code to only disable the video player but show the remaining page with the video info when Invidious encounters the signed-out user block on the Youtube webpages. Currently, Invidious only shows the "This helps protect our community." error and nothing else. This would solve all problems for the Invidious users that are not interested in watching the video directly on the Invidious instance, but only in viewing the video info/comments and/or obtaining the actual video data through external means such as yt-dlp.

Describe alternatives you've considered Of course, this won't be necessary if the actual solution to bypassing the signed-out access block will be found sooner or if Youtube stops engaging in blocking access in this way altogether.

Additional context I am not an expert on web scraping or Youtube/Invidious's inner workings, so this may not be possible at all. However, if it is possible and if it will be implemented sooner than a true fix to Youtube's access blocking, I think this would solve a big chunk of problems for a big chunk of Invidious users.

Thank you.