Forrest logo
back to the youtube-dl tool

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 machine

This command is using the YouTube-dl program to list the available formats for a specific YouTube video. Here is a breakdown of the command:

  • youtube-dl: This is the command used to run the YouTube-dl program.
  • --list-formats: This is an option for YouTube-dl that tells it to list the available formats for a given video URL.
  • ${https:--www-youtube-com-watch?v=Mwa0_nE9H7A}: This is the URL of the YouTube video for which you want to list the available formats. The URL is enclosed in single quotes to prevent any potential issues with special characters or spaces.
This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the youtube-dl tool