Difference between revisions of "Youtube: Download Video"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://askubuntu.com/questions/63270/how-do-i-download-a-youtube-video 337 youtube-dl Installation from official site: sudo curl -L https://yt-dl.org/downloads/l...")
 
 
Line 7: Line 7:
 
Installation from official site:
 
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 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
 
  sudo chmod a+rx /usr/local/bin/youtube-dl
Line 14: Line 18:
 
Installation and ugrade from pip (/):
 
Installation and ugrade from pip (/):
  
 +
sudo su
 +
apt install pip
 
  sudo -H pip install --upgrade youtube-dl
 
  sudo -H pip install --upgrade youtube-dl
  

Latest revision as of 05:07, 4 May 2024

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.