×
Login Register an account
Top Submissions Explore Upgoat Search Random Subverse Random Post Colorize! Site Rules Donate
13

How to rip youtube videos from the command line

submitted by v0atmage to Linux 2 yearsApr 8, 2023 16:22:41 ago (+13/-0)     (itsfoss.com)

https://itsfoss.com/download-youtube-linux/

Install (ubuntu):

`sudo apt install youtube-dl`

Example:

Download the rick rolled video in mp4 format:

youtube-dl https://youtu.be/dQw4w9WgXcQ -f mp4

Edit:

This project is NOT dead. It has active pull requests on github and a new release coming out soon: https://github.com/ytdl-org/youtube-dl


8 comments block


[ - ] Love240 4 points 2 yearsApr 8, 2023 16:33:17 ago (+4/-0)

This can be done from Windows command too.
Also, YouTube-dl is outdated, the newer, more frequently updated split is yt-dlp.
For YouTube it should look like this:
yt-dlp -f bestvideo+bestaudio https://www.youtube.com/(11 digit video ID)

For Instagram or Faceberg use:
yt-dlp -f best (url)

With no "()"s

[ - ] deleted 1 point 2 yearsApr 8, 2023 16:54:48 ago (+1/-0)

deleted

[ - ] Love240 2 points 2 yearsApr 8, 2023 17:22:28 ago (+2/-0)

[ - ] Monica 2 points 2 yearsApr 8, 2023 17:26:36 ago (+2/-0)

I have a gui .bat file for youtube_dl for windows if anyone wants it.

[ - ] observation1 2 points 2 yearsApr 8, 2023 17:27:36 ago (+2/-0)

Yes. Copy Paste it

[ - ] Prairie 1 point 2 yearsApr 9, 2023 00:03:12 ago (+1/-0)

youtube-dl has been abandoned for some time and stopped working recently. Did one of the forks of it get named exactly the same?

[ - ] Kozel 0 points 2 yearsApr 9, 2023 00:09:58 ago (+0/-0)

jdownloader2 will do it with less inputs

[ - ] observation1 0 points 2 yearsApr 8, 2023 17:26:21 ago (+0/-0)

This should be required knowledge to post on voat, is knowing how to do this.