youtube dl download playlist 2020: Youtube-dl is the most mainstream command line YouTube downloader application. It isn’t simply to download videos from Youtube, yet additionally from a ton of different sites. You can see the total rundown of upheld destinations here. Youtube-dl can have the option to download a solitary track or whole playlist in one go. It is a free and open-source program written in Python. It underpins GNU/Linux, Mac operating system X, and Microsoft Windows. In this point by point youtube dl download playlist, we will figure out how to utilize the most regularly utilized commands with guides to download sound and video streams from online in Linux.
Install youtube dl download playlist to download YouTube videos in Linux terminal
youtube-dl is a Python-based little order line device that permits downloading recordings from YouTube, Dailymotion, Photobucket, Facebook, Hurray, Metacafe, Depositfiles, and few more comparative locales. It is written in pygtk and requires a Python translator to run this program, it’s not stage confined. It should run on any Unix, Windows, or Mac OS X based frameworks.
The youtube-dl apparatus underpins continuing intruded on downloads. In the event that youtube-dl is slaughtered (for instance by Ctrl-C or because of loss of Web availability) in the download, you can basically re-run it with a similar YouTube video URL. It will consequently continue the incomplete download, up to a halfway download is available in the current index. This implies you don’t require download directors in Linux only for continuing downloads. I will discuss all about this in this article Youtube dl download playlist 2020.
youtube dl highlights
This small apparatus has countless highlights that it won’t be an embellishment to consider it the best YouTube downloader for Linux.
- Download recordings from YouTube as well as other mainstream video sites like Dailymotion, Facebook, and so forth
- Permits downloading recordings in a few accessible video organizations, for example, MP4, WebM, and so forth
- You can likewise pick the nature of the video being downloaded. In the event that the video is accessible in 4K, you can download it in 4K, 1080p, 720p, and so on
- Automatical delay and resume of video downloads.
- Permits to sidestep YouTube geo-limitations
How to install youtube dl on Linux
youtube-dl is a mainstream program and is accessible in the default vaults of most Linux circulations, if not all. You can utilize the standard method of introducing bundles in your appropriation to introduce youtube-dl. I’ll actually show a few orders for it.
In the event that you are running Ubuntu-based Linux dissemination, you can introduce it utilizing this order:
sudo apt install youtube-dl
The adaptation in Debian/Ubuntu is generally old and you may confront mistakes while downloading recordings. Nonetheless, I suggest introducing it straightforwardly from its source archive.
For any Linux dispersion, you can rapidly introduce youtube-dl on your framework through the order line interface with:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
Subsequent to getting the document, you need to set an executable consent on the content to execute appropriately.
sudo chmod a+rx /usr/local/bin/youtube-dl
Once introduced, you can refresh it to the most recent form utilizing this order. This is useful when you have been utilizing it for a couple of months:
Update Youtube dl
On the off chance that you’ve physically installed Youtube-dl utilizing curl or wget, run the accompanying command to update it:
sudo youtube-dl -U
If you installed it using pip, do:
sudo pip install -U youtube-dl
The individuals who installed Youtube dl utilizing the distribution’s package manager, simply utilize the proper update command. For instance, on Arch Linux, you can update Youtube dl by essentially running the accompanying command:
sudo pacman -Syu
On Debian, Ubuntu:
sudo apt update
Youtube dl Instructional exercise With Examples
Downloading videos using YouTube-dl:
To download a video or the whole playlist from YouTube, follow this article Youtube dl download playlist 2020 and simply notice the URL like beneath:
On the off chance that you need to download a video or playlist with a custom name of your decision, the order would be:
youtube-dl -o 'Video Title' <video_url>
Would you like to save the video in some other area? Here you go!
youtube-dl -o '~/Downloads/Video Title' <video_url>
Here I am downloading the video to the Downloads directory.
[youtube] 7E-cwdnsiow: Downloading webpage [download] Destination: /home/sk/Downloads/abdul kalam speech.f271 [download] 100% of 111.86MiB in 01:00 [download] Destination: /home/sk/Downloads/abdul kalam speech.f251 [download] 100% of 6.12MiB in 00:03 [ffmpeg] Merging formats into "/home/sk/Downloads/abdul kalam speech.webm" Deleting original file /home/sk/Downloads/abdul kalam speech.f271 (pass -k to keep) Deleting original file /home/sk/Downloads/abdul kalam speech.f251 (pass -k to keep)
Download YouTube videos in various formats and quality size:
Nowadays YouTube recordings have various goals, you first need to check the available video formats of a given YouTube video. For that run youtube-dl with the “-F” alternative. It will show you a rundown of accessible configurations.
youtube-dl -F <video_url>
Its output will be like:
Setting language BlXaGWbFVKY: Downloading video webpage BlXaGWbFVKY: Downloading video info webpage BlXaGWbFVKY: Extracting video information Available formats: 37 : mp4 [1080x1920] 46 : webm [1080x1920] 22 : mp4 [720x1280] 45 : webm [720x1280] 35 : flv [480x854] 44 : webm [480x854] 34 : flv [360x640] 18 : mp4 [360x640] 43 : webm [360x640] 5 : flv [240x400] 17 : mp4 [144x176]
Presently among the available video formats, pick one that you like. For instance, on the off chance that you need to download it in MP4 form and 1080 pixel, you should utilize:
youtube-dl -f 37<video_url>
Download subtitles of videos using youtube-dl
To start with, check if there are subtitles available for the video. To list all subs for a video, utilize the order underneath:
youtube-dl --list-subs <video_url>
To download all subs, but not the video:
youtube-dl --all-subs --skip-download <video_url>
Download entire YouTube playlist
To download a playlist, basically run the accompanying command. Where “playlist_url” is the URL of the playlist that you need to download.
youtube-dl -cit <playlist_url>
Download multiple videos
In some cases, you should download different videos from or some other webpage. Provided that this is true, simply mention the URL of the videos with space-separated like underneath:
youtube-dl <url1> <url2>
On the other hand, you can place them all in a content document and pass it to Youtube-dl as a contention like beneath.
youtube-dl -a url.txt
This order will download all videos referenced in the url.txt document.
Download only audio from YouTube videos
Youtube-dl permits us to download sound just from a YouTube video. On the off chance that you ever been in a circumstance to download just the sound, run:
youtube-dl -x <video_url>
Naturally, Youtube-dl will save the sound in Ogg (opus) format.
In the event that you want to download some other formats, for instance, mp3, run:
youtube-dl -x --audio-format mp3 <video_url>
This command will download the audio from the given video/playlist, convert it to an MP3 and save it in the current directory. Please note that you should install either FFmpeg or avconv to convert the file to mp3 format.
Download all videos from a YouTube playlist
Downloading videos from a playlist works similarly. Just replace the channel URL from the example above with a playlist URL, and youtube-dl will download all the linked videos from the specified playlist.
You may check out the entire command reference on the project’s GitHub project site. Options include formatting the names of the downloaded video files, downloading thumbnails, encoding videos, downloading specific formats, and a lot more.