![]() |
was http://ytdl-org.github.io/youtube-dl/ [ 1 ]
https://youtube-dl.org/ [ 2 ]
A commandline downloader for YouTube videos and playlists (and not comments). Also works for a surprising number of other websites.
It has no competition, so I guess I can say that it'll have to do, but it really is good.
See also:
-
youtube-comment-scraper for comments.
- YouTube batch downloading has some instructions as well.
- It automatically resumes interrupted downloads!
-
author blog (not necessarily regarding this program)
--
- 2022-06-30 - Switched to yt-dlp
-
2020-09-18 - switched to youtube-dlc because critical problems remain unsolved.
- #26311 - "YouTube said: Unable to extract video data" on some videos is closed but unsolved.
- 2020-08-01 - git_2020.07.28 on Devuan_beowulf_3.0.0_amd64
- 2020-06-09 - 2020.06.06 on Devuan_beowulf_3.0.0_amd64
-
2019-05-13
- Only videos are supported for Instagram, so I used instagram-scraper.
- 2019-04-23 - v2019.04.24 on Windows Subsystem for Linux / Debian - 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 GNU/Linux
-
2019-04-23 - I used to use 1-Click YouTube Video Download and maybe other stuff.
2020-08-01 - git_2020.07.28 ∞
Git updated today.
- YouTube authentication does not work with either
-u
or--netrc
(and~/.netrc
) -
YouTube complete
video.description
files are not created if it's part of one larger block of commands. I have to separately summon it. Fucking bullshit.
\youtube-dl --skip-download --write-description jNQXAC9IVRw
Building from source ∞
\cd git \sudo \make clean \sudo \git reset --hard \git pull \sudo \apt-get -y install pandoc \sudo \make \sudo \make install \youtube-dl --version
2019-04-23 - v2019.04.24 ∞
Download a specific quality ∞
1) List what's available:
youtube-dl [URL] -F
2) Download one of them:
youtube-dl [URL] [number]
Download a video and audio ∞
This is important when you want to download something of lower-than-max resolution.
1) List what's available:
youtube-dl [URL] -F
You want to pick two things. (1) an item that is listed as "video only" and (2) an audio item that is listed as "audio only".
2) Download them together:
youtube-dl [URL] [video number]+[audio number]
Install ∞
For some reason, Debian is out of date.
was https://ytdl-org.github.io/youtube-dl/download.html
\sudo \apt-get remove youtube-dl \sudo \wget yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl \sudo \chmod a+rx /usr/local/bin/youtube-dl
Update with
\sudo \youtube-dl -U
Alternatives ∞
Last updated 2022-07-30 at 02:52:20
Footnotes
- was www.arrakis.es/~rggi3/youtube-dl/ (archive) then rg3.github.io/youtube-dl/ [ ↩ ]
- also https://yt-dl.org/[ ↩ ]
Added installation notes.
found some old URLs
updated to 2020.06.06 on Devuan.
updated from git