mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
8.07k stars 645 forks source link

Support for the Invidious API #1119

Open okh-mzny opened 3 years ago

okh-mzny commented 3 years ago

With the quickly ratelimited pre-shipped API and the tedious way of getting your own key (that may or may not stop working aswell due to google constantly screwing with their APIs) and even the fact that one has to create a google account to use the API, I think the software is pretty much in disrepair for a lot of people, and especially those who would like to live an ungoogled life as much as possible. That's why I think that adding support for the Invidious API would greatly improve things for everyone.

If you're not aware, Invidious (https://github.com/iv-org/invidious) is "an alternative front-end to YouTube" to quote the Github page. It scrapes and parses the YouTube webpage and makes the video, (unprofiled) recommendations, comments, and everything else available in a lightweight frontend. Invidious brings its own API that returns data from video pages it parses: (https://github.com/iv-org/invidious/wiki/API).

Here's the pros from my point of view:

Unfortunately this solution would not be perfect though, cons:

With all things said, I hope this will be considered in the future.

cjkr commented 3 years ago

Great idea. I hope it is implemented soon; something like straw-viewer to youtube-viewer.