youtube-dl
youtube-dl is a versatile command-line tool for downloading videos from various websites, primarily focusing on YouTube. It supports downloading videos in various formats and qualities, including HD and 4K, as well as extracting audio-only files.
This tool is written in Python and can run on Windows, macOS, and Linux systems. It is actively maintained and frequently updated to ensure compatibility with changes in the video hosting platforms it supports.
youtube-dl allows users to specify various options and parameters to customize their downloads, such as selecting specific video formats, limiting download speeds, and setting download quotas. It can also handle playlists, allowing users to download an entire playlist or just specific videos from it.
One of the key features of youtube-dl is its ability to download videos with subtitles, and it supports a wide range of subtitle formats. Additionally, it can automatically merge subtitles with video files for offline viewing.
The tool can also work with authentication and user accounts, allowing users to download videos that require a login or age-restricted content by providing their credentials.
youtube-dl has a wide community of active users, and its source code is open-source, meaning it can be modified and extended by anyone. Many developers have created GUIs and wrappers around youtube-dl to simplify its usage for less technically-inclined users.
Overall, youtube-dl is a powerful and flexible command-line tool that provides a seamless way to download videos from various websites with extensive customization options.
List of commands for youtube-dl:
-
youtube-dl:tldr:002fc youtube-dl: List all formats that a video or playlist is available in.$ youtube-dl --list-formats '${https:--www-youtube-com-watch?v=Mwa0_nE9H7A}'try on your machineexplain this command
-
youtube-dl:tldr:5678d youtube-dl: Download video(s) as MP4 files with custom filenames.$ youtube-dl --format ${mp4} -o "${%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s-%(ext)s}" '${url}'try on your machineexplain this command
-
youtube-dl:tldr:605e0 youtube-dl: Download the audio from a video and convert it to an MP3.$ youtube-dl -x --audio-format ${mp3} '${url}'try on your machineexplain this command
-
youtube-dl:tldr:655a9 youtube-dl: Download a video or playlist at a specific quality.$ youtube-dl --format "${best[height<=480]}" '${https:--www-youtube-com-watch?v=oHg5SJYRHA0}'try on your machineexplain this command
-
youtube-dl:tldr:68be5 youtube-dl: Download a playlist and extract MP3s from it.$ youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" ${url_to_playlist}try on your machineexplain this command
-
youtube-dl:tldr:8a2bb youtube-dl: Download the best quality audio and video and merge them.$ youtube-dl -f bestvideo+bestaudio '${url}'try on your machineexplain this command
-
youtube-dl:tldr:92975 youtube-dl: Download a video or playlist.$ youtube-dl '${https:--www-youtube-com-watch?v=oHg5SJYRHA0}'try on your machineexplain this command
-
youtube-dl:tldr:d36d0 youtube-dl: 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}'try on your machineexplain this command