There is a GUI for youtube-dl, but using this script is very easy.
Open the folder in which you want to download videos, and open a terminal. Then type :
youtube-dl + url
On a you tube video page, under the screen, there is an option to share. Click it, and copy-paste the url in your terminal, such as https://youtu.be/Rz0hEYaDZx8
It looks like this :
youtube-dl https://youtu.be/Rz0hEYaDZx8
Click enter, and download proceeds.
You can add options, such as :
youtube-dl --list-formats https://youtu.be/Rz0hEYaDZx8
This option gives you some codes, which you use to download mp4, webm, or other formats, usually -f 43 for webm and -f 18 for mp4
Here i will download the video in mp4 format :
youtube-dl -f18 https://youtu.be/Rz0hEYaDZx8
Need the title in your download, here how to have titles :
youtube-dl -t -f18 https://youtu.be/Rz0hEYaDZx8
The downloading can resume, in case downloading is interrupted. Just type same command as above.
For installing youtube-dl, it is as easy as $sudo apt install youtube-dl for Dog-based OS.
more info on dependencies (python version 2.6, 2.7, or 3.2+) and installing methods :
https://rg3.github.io/youtube-dl/download.html
With curl :
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
With wget :
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
Finally, youtube-dl can be used for other video websites.
youtube-dl & youtube-dl GUI
youtube-dl & youtube-dl GUI
Last edited by labbe5 on Fri 19 May 2017, 20:37, edited 1 time in total.
From their FAQ >> "How can I detect whether a given URL is supported by youtube-dl?"
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
How can I use the GUI? I downloaded using
""With wget :
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl ""
But I don't know what to do next? I am on x-tahr.
Also, how to download 720p version?
""With wget :
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl ""
But I don't know what to do next? I am on x-tahr.
Also, how to download 720p version?
youtube-dl GUI
https://mrs0m30n3.github.io/youtube-dl-gui/#downloads
For Dog-based users :
Installing from source :
First, you need to have build-essential installed.
Then, after downloading source and having extracted it, open a terminal window from extracted folder :
python setup.py install (or $sudo python setup.py install for non-root users)
Once installation is complete :
youtube-dl-gui in terminal
The easy way :
.deb file from Precise to Zesty download center :
http://ppa.launchpad.net/nilarimogard/w ... utube-dlg/
For Dog-based users :
Installing from source :
First, you need to have build-essential installed.
Then, after downloading source and having extracted it, open a terminal window from extracted folder :
python setup.py install (or $sudo python setup.py install for non-root users)
Once installation is complete :
youtube-dl-gui in terminal
The easy way :
.deb file from Precise to Zesty download center :
http://ppa.launchpad.net/nilarimogard/w ... utube-dlg/
- MrAccident
- Posts: 361
- Joined: Mon 31 Mar 2014, 20:53
It didn't work; and I got this:
Code: Select all
root# youtube-dl https://youtu.be/Rz0hEYaDZx8
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 3, in <module>
import youtube_dl
File "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 15, in <module>
from .options import (
File "/usr/lib/python3/dist-packages/youtube_dl/options.py", line 8, in <module>
from .downloader.external import list_external_downloaders
File "/usr/lib/python3/dist-packages/youtube_dl/downloader/__init__.py", line 3, in <module>
from .common import FileDownloader
File "/usr/lib/python3/dist-packages/youtube_dl/downloader/common.py", line 10, in <module>
from ..utils import (
File "/usr/lib/python3/dist-packages/youtube_dl/utils.py", line 29, in <module>
import ssl
File "/usr/lib/python3.6/ssl.py", line 101, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /lib64/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so)
root#