CmdID

CmdID / Commands

youtube-dl

Download videos from YouTube and other websites. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Download a video or playlist

youtube-dl 'https://www.youtube.com/watch?v=oHg5SJYRHA0'Identify

List all formats that a video or playlist is available in

youtube-dl --list-formats 'https://www.youtube.com/watch?v=Mwa0_nE9H7A'Identify

Download a video or playlist at a specific quality

youtube-dl --format "best[height<=480]" 'https://www.youtube.com/watch?v=oHg5SJYRHA0'Identify

Download the audio from a video and convert it to an MP3

youtube-dl --extract-audio --audio-format mp3 'url'Identify

Download the best quality audio and video and merge them

youtube-dl --format bestvideo+bestaudio 'url'Identify

Download video(s) as MP4 files with custom filenames

youtube-dl --format mp4 --output "%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s" 'url'Identify

Download a particular language's subtitles along with the video

youtube-dl --sub-lang en --write-sub 'https://www.youtube.com/watch?v=Mwa0_nE9H7A'Identify

Download a playlist and extract MP3s from it

youtube-dl --format "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 --output "%(title)s.%(ext)s" 'url_to_playlist'Identify