{{Header}} {{#seo: |description=Using the yt-dlp command line downloader. |image=Youtubedownload.png }} {{title|title= yt-dlp YouTube Video Downloader in {{project_name_long}} }}
yt-dlp
logo]]
{{intro|
yt-dlp
is a command-line program to download videos from YouTube.com and a few more sites.
yt-dlp
is a software fork of youtube-dl
.
}}
= Introduction =
yt-dlp
is simple to use in {{project_name_short}}. Simply follow the instructions to install it below, identify the relevant YouTube video URL, then run the application in a terminal to download the video. Once it has finished downloading, VLC Media Player (installed by default) can be used to view the video.
= Installation =
The {{project_name_short}} wiki normally recommends that additional software is {{kicksecure_wiki
|wikipage=Install_Software#Install_from_Debian_stable
|text=Installed from Debian stable
}}, but in the case of yt-dlp
there is often a significant difference between the stable and backports versions. Since the developers frequently update the software to address broken functionality when attempting downloads from various websites, an upgrade of yt-dlp
from Debian backports may be required.
{{Install Backport|package=
yt-dlp
}}
Pip? If the user knows that python pip is, see footnote. Otherwise ignore this.
Pip cannot be recommended without disclaimer. {{kicksecure_wiki
|wikipage=Install_Software#Best_Practices
|text=Avoid Third Party Package Manager
}}
= Usage =
First identify the relevant YouTube video URL in Tor Browser, then right-click the link and select "Copy Link Location". In the example below it is "Why Do so Many People Hate Windows 10?" (https://youtube.com/watch?v=KpEb8M23LsU)
'''Figure:''' ''Example YouTube Video to Download''
[[File:Whyhatewindows10.png]]
Next, open a terminal. To download the relevant YouTube video, run.
Note: Replace link-to-video
with the chosen URL.
{{CodeSelect|code=
yt-dlp link-to-video
}}
Finally, open VLC Media Player and select the relevant file to play: Media
→ Open File...
→ Open the video file
'''Figure:''' ''VLC Media Player''
[[File:Youtubedownloadinvlc.png]]
[https://github.com/ytdl-org/youtube-dl/blob/master/README.md Extensive documentation] is available describing a host of possible options, including: