User Tools

Site Tools


Sidebar

youtube-dl

This is an old revision of the document!


Install and setup

sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

After fetching the file, you need to set a executable permission on the script to execute properly.

sudo chmod a+rx /usr/local/bin/youtube-dl

Once installed, you can update it to the latest version using this command. This is helpful when you have been using it for a few months:

youtube-dl -U

Using YouTube-dl for downloading videos: To download a video file, simply run the following command. Where “VIDEO_URL” is the URL of the video that you want to download.

youtube-dl <video_url>
youtube-dl -f bestvideo+bestaudio "link to youtube video"
youtube-dl.1656407818.txt.gz · Last modified: 2022/06/28 02:16 by vissie