[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/slackware/ - Slackware Linux

#slackware@irc.rizon.net

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 7609d2a3390906d⋯.png (46.07 KB,897x153,299:51,03650f0b.png)

 No.19

This thread is about youtube-dl. What is youtube-dl?

youtube-dl is a command-line program to download videos from YouTube.com and a few more sites.

I used SlackOnly's youtube-dl package on a full Slackware 14.2 installation. No extra dependencies required.

https://packages.slackonly.com/pub/packages/14.2-x86_64/network/youtube-dl/

It isn't a new version, but so far it has worked flawlessly on YouTube and Twitch.

The instructions for a straight installation are here: http://rg3.github.io/youtube-dl/download.html

But the way I did it (updated) is like this:

1. $ curl -L 'https://yt-dl.org/downloads/latest/youtube-dl'

2. $ sudo mv youtube-dl /usr/local/bin/

3. $ sudo chown root:root /usr/local/bin/youtube-dl

4. $ sudo chmod 755 /usr/local/bin/youtube-dl

5. $ hash -r (this is necessary so that youtube-dl is located if you removed the youtube-dl slackonly package)

Examples for YouTube (How I do it):

$ youtube-dl -F 'https://www.youtube.com/watch?v=fauJ0JQJNM0'

Choose the format that you want. The one on the bottom (22) is also the "(best)".

$ youtube-dl -f 22 'https://www.youtube.com/watch?v=fauJ0JQJNM0'

The video will be downloaded to your current directory.

For more options: $ youtube-dl –help

In the next thread I'll explain how to combine youtube-dl with mpv, so you can watch videos from YouTube or Twitch without a browser. Much faster and less resource hungry!

Until then.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
Post last edited at


[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]