YouTube videos can be viewed via browser or app. However, you need a good Internet connection, which is often a problem on the go. With YouTube DL download videos from YouTube and other video services to watch them offline on the go.
YouTube-DL is operated from the command line. If you don’t want this, you can download the graphical user interface YouTube-DL-GUI.
In the simplest case, it is sufficient on the command line to use the program name
youtube-dl followed by the link of the YouTube video. Options can also be used to control the download. The article “Videosauger” in c’t 22/2018, page 168 deals with them. Luke Smith also shows the command line operation in his English-language video on YouTube.
YouTube-DL does not care about copyrights and licenses, so you have to check for yourself whether a video can be downloaded and/or reused.
YouTuber Luke Smith explains YouTube-DL.
YouTube-DL is available as a download for Windows, Linux and macOS, whereby the Microsoft Visual C++ 2010 Redistributable Package (x86) must first be installed under Windows. Under Linux and macOS Python must be installed in the correct version.
Troubleshooting and Linux
If you install YouTube-DL under Linux from the package sources of your distribution, you may have problems running it, because the version available there is not always up to date. The best way is to download YouTube-DL from the command line, make it executable and start it, as shown below, downloading a video from c’t uplink.
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o youtube-dl
chmod a+rx youtube-dl
More information about the individual options can be found in the documentation on GitHub.