Using YouTube

From LibrePlanet
Jump to: navigation, search

YouTube is the second most popular website in the world, behind only Google. However, unlike Google, YouTube does not function at all without proprietary JavaScript (see The JavaScript Trap). This guide describes a number of options for accessing this wealth of knowledge and entertainment. It also provides alternatives to posting videos to YouTube so we can reduce our dependence on it.


By far the easiest option is to use a public instance of invidious.

Youtube links looks like this:

Invidious links look like this:

Links can be manually changed or converted with an add-on.

self-hosting invidious

Command-line Programs


Open a terminal.

Install youtube-dl on a Debian based system.

   sudo apt install -y youtube-dl

Download a video with a command like this:




You can get an RSS feed of a channel if you have its ID like so:{channel_id}

For example, here is the feed for Kero Kero Bonito's youtube channel:

You can find a channel's id either in its URL or by inspecting the source and searching for "channelid"