Youtube: Download Video

From OnnoWiki
Revision as of 05:07, 4 May 2024 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: https://askubuntu.com/questions/63270/how-do-i-download-a-youtube-video


337

youtube-dl Installation from official site:

sudo su
apt update
apt install curl
cd /usr/local/src
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

It's also on Ubuntu repos but you will often need to keep it up-to-date with sudo youtube-dl -U

Installation and ugrade from pip (/):

sudo su
apt install pip
sudo -H pip install --upgrade youtube-dl

Usage:

youtube-dl YouTube-(or-other-website)-video-link

So it will download the video.

You can also take a look at this for very in-depth documentation on how to use it.