Notice: We are aware that many of the Chewiki’s images are still broken. We promise: we will try our best to fix it, but we don't guarantee that the fix will be trivial.
Difference between revisions of "YouTube-DL"
m |
m |
||
Line 2: | Line 2: | ||
[[Image:Youtube-DL-Help.png|right|thumb|350px|YouTube-DL help screen in Bash]] | [[Image:Youtube-DL-Help.png|right|thumb|350px|YouTube-DL help screen in Bash]] | ||
[[Image:Youtube-dl_windows.png|right|thumb|250px|YouTube-DL running in Windows Command Prompt]] | [[Image:Youtube-dl_windows.png|right|thumb|250px|YouTube-DL running in Windows Command Prompt]] | ||
− | '''YouTube-DL''' (not to be confused | + | '''YouTube-DL''' (not to be confused with [[YouTube Downloader]]) is a free, cross-platform tool used to download videos from websites like [[YouTube]] which is useful for obtaining source material to make [[YouTube Poops]]. Despite the name of this software, YouTube-DL can download videos from a [https://ytdl-org.github.io/youtube-dl/supportedsites.html very wide variety of websites]. This program is a command line program and may have a high learning curve to those not comfortable with or not used to using the command line. However, the command line version of this program is the best version of this program because it allows for many customization options. [https://mrs0m30n3.github.io/youtube-dl-gui/ YouTube-DLG] is also available which is easier to use than the original version since it uses the GUI but it's more inflexible than the command line version. |
==Breakdown== | ==Breakdown== | ||
===Advantages=== | ===Advantages=== |
Revision as of 18:51, 1 December 2019
YouTube-DL (not to be confused with YouTube Downloader) is a free, cross-platform tool used to download videos from websites like YouTube which is useful for obtaining source material to make YouTube Poops. Despite the name of this software, YouTube-DL can download videos from a very wide variety of websites. This program is a command line program and may have a high learning curve to those not comfortable with or not used to using the command line. However, the command line version of this program is the best version of this program because it allows for many customization options. YouTube-DLG is also available which is easier to use than the original version since it uses the GUI but it's more inflexible than the command line version.
Breakdown
Advantages
- Unlike programs like 4K Video Downloader, YouTube-DL is available completely free of charge and there are no limitations that requires you buy the full version.
- Has the ability to download entire playlists and channels on YouTube which can be handy for archiving purposes.
- Can download from a ton of different websites! (Check out this list.)
- Supports a wide variety of formats (MP4, M4A, FLV, WEBM, MP3, WAV, OGG, ect.)
- Can download thumbnails, titles, or even descriptions of the videos on YouTube.
- Can download YouTube Ads if you really want to. (Feature is considered experimental at the moment, beware)
- Has the ability to download videos in 4K or 60fps.
Disadvantages
- High learning curve if you're not familiar with the command line.
- Not as easy to use as other video downloaders.
- You may need to memorize commands if you don't want to use the "youtube-dl -h" command every time.
- YouTube-DL can no longer work as time goes by and requires users to update it periodically.
- Downloading specific formats like 4K or 60fps videos off of YouTube requires more typing and the use of the "-F" flag beforehand to see which format to download. You pick the format by the format code.
- Can be mistaken as hacking if you are seen using this program in public.
- May be forced to download videos in one location if you are using the Windows version in Command Prompt. (Can download anywhere on MacOS or Linux though. Can be avoided by using WSL on Windows 10.)
Installation
Methods of installing this program vary on each operating system. Here are the easiest and the best ways to install them for each operating systems:
Windows
- 1. Create a folder called "youtube-dl" somewhere in your user folder. Let's say "C:\Users\username\Downloads\youtube-dl" in this case.
- 2. Install Microsoft Visual C++ 2010 Redistributable Package (x86) if you don't have that installed on your computer.
- 3. Download the Windows exe file from this website and download it to "C:\Users\username\Downloads\youtube-dl\".
Once you done these three steps, you can now open the Command Prompt and type in these two commands:
>cd Downloads >cd youtube-dl
If your Command Prompt has this before the blinking cursor, you can now use youtube-dl simply by typing in "youtube-dl":
C:\Users\username\Downloads\youtube-dl>_
You can also type in "dir" to verify that the exe file is in there if you aren't sure.
To update Youtube-DL, type in this command within your "youtube-dl" folder:
>youtube-dl -U
Alternatively, you can enable Windows Subsystem for Linux and install a Linux distribution from the Windows Store then follow the Linux instructions here if you are using Windows 10.
MacOS
- 1. Install Homebrew
- 2. Type in the following:
$ brew install youtube-dl
After that, you are ready to use YouTube-DL simple by typing in "youtube-dl" in your current directory. (Which is your home folder by default. You can navigate using "cd".)
To update YouTube-DL, type in this command:
$ brew update && brew upgrade youtube-dl
Linux
There are multiple ways to install YouTube-DL on Linux. It is highly recommended to get the latest version of YouTube-DL.
Pip Install (Recommended for Ubuntu, Debian, Linux Mint, etc.)
- 1. Install "pip" using your package manager like this if you are using Ubuntu or Debian:
$ sudo apt-get install pip
- 2. Install youtube-dl using pip like this:
$ sudo pip install --upgrade youtube_dl
To upgrade youtube-dl, simply re-execute that command in Step 2 again down the line.
Arch Linux/Manjaro
Since Arch Linux and Manjaro has the latest version of youtube-dl in the official repositories, it's recommended to simply type in this command:
$ sudo pacman -S youtube-dl
OpenSUSE
Type in this command:
$ sudo zypper install youtube-dl
Fedora/CentOS/RHEL
- 1. Enable the EPL Repository.
- 2. Type in this command:
$ sudo yum install youtube-dl
After YouTube-DL is installed for your Linux system, it can be used with the "youtube-dl" command in your Terminal. YouTube-DL will be updated by the distributions' package manager respectively except those done with pip install. Any Linux distro can install YouTube-DL using pip.
Usage
YouTube-DL can simply download a video like this:
youtube-dl https://www.youtube.com/watch?v=y8p0JKL1Y9Y
It can also download playlists like this:
youtube-dl https://www.youtube.com/playlist?list=PLKJP5CmZJQpMSI_nl5ne3rckzs0wEHwyf
As well as YouTube channels:
youtube-dl https://www.youtube.com/user/conradslater
To download audio from a video, it can be done like this (you can swap out "mp3" with other audio formats like flac, wav, or ogg):
youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=M9lRpkk4cWg
You can also use YouTube-DL to download a thumbnail used by a YouTube video like this:
youtube-dl --get-thumbnail https://www.youtube.com/watch?v=uxqaI0UBDHM
If you would like to know what flags you can use, you can get the help page by typing in:
youtube-dl -h
YouTube-DLG
If you're not much of a nerd at all, then YouTube-DLG may be a better fit for your needs. YouTube-DLG is a GUI front-end version of YouTube-DL. It is available for Windows and Linux. MacOS users unfortunately will only have the original command line version.
YouTube-DLG has a more straightforward way to install on Windows and is much easier to use though it may not be as flexible as the command line version.
Advantages over YouTube-DL
- Easier to use and comfortable.
- Easier and more straight-forward installation.
- Don't need to memorize commands.
- People will not think that you are hacking if you use this program in public, saving yourself from getting kicked out of Starbucks.
Disadvantages over YouTube-DL
- The UI might be a bit confusing for some people.
- Cannot do custom commands except done automated in the options for the program which isn't very ideal.
- May not be able to download 60FPS videos due to inflexibility.
- Interface may look broken in GTK themes that aren't Adwaita on Linux. Especially for dark themes.
- You won't be able to see what YouTube-DL is doing in detail.
In conclusion, YouTube-DLG seems to be a fine choice for those who aren't as tech savvy and can fit most people's needs just fine. Keep in mind of the limitations and the clunky user interface.