{{Header}} {{#seo: |description=Using the yt-dlp command line downloader. |image=Youtubedownload.png }} {{title|title= yt-dlp YouTube Video Downloader in {{project_name_long}} }}
* [[YouTube|Watching YouTube Videos in {{project_name_short}}]] * [[yt-dlp|Downloading YouTube Videos in {{project_name_short}}]]
[[File:Yt-dlp.svg|thumb|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 }} = 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: MediaOpen 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:
* general options * network options * geo restriction * video selection * download options * filesystem options * thumbnail images * verbosity/simulation options * workarounds * video format options * subtitle options * authentication options * Adobe pass options * post-processing options
In addition the documentation describes numerous configuration settings, output templates, format selection and video selection among other topics. Many readers will be interested in how to select preferred video quality; see [https://askubuntu.com/questions/486297/how-to-select-video-quality-from-yt-dlp here] for a quick overview. = Alternatives = * [[YouTube#Invidious|Invidious]] = See Also = * [[YouTube|Watching YouTube Videos in {{project_name_short}}]] = Footnotes = {{reflist|close=1}} {{Footer}} [[Category:Documentation]]