Youtube-dl: Difference between revisions
From wikinotes
No edit summary |
(→Usage) |
||
Line 13: | Line 13: | ||
<blockquote> | <blockquote> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
youtube-dl ${YOUTUBE_URL} | youtube-dl ${YOUTUBE_URL} # download video, using defaults | ||
youtube-dl -F ${YOUTUBE_URL} | youtube-dl -F ${YOUTUBE_URL} # list available video formats (not audio/video only formats) | ||
youtube-dl -f 137 ${YOUTUBE_URL} | youtube-dl -f 137 ${YOUTUBE_URL} # download a specific video format (if avail) | ||
youtube-dl -f 'bestaudio+bestvideo' ${YOUTUBE_URL} # get best video/audio quality separately, assemble them | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Usage --> | </blockquote><!-- Usage --> |
Latest revision as of 01:56, 18 April 2023
A nice tool for downloading from youtube, various other video sites.
Documentation
github https://github.com/ytdl-org/youtube-dl
Usage
youtube-dl ${YOUTUBE_URL} # download video, using defaults youtube-dl -F ${YOUTUBE_URL} # list available video formats (not audio/video only formats) youtube-dl -f 137 ${YOUTUBE_URL} # download a specific video format (if avail) youtube-dl -f 'bestaudio+bestvideo' ${YOUTUBE_URL} # get best video/audio quality separately, assemble them