--- title: "yt-dlp Video Download" weight: 7 --- # yt-dlp Video Download {{< hint warning >}} This feature requires the yt-dlp command-line tool installed on your system. {{< /hint >}} Use the `/ytdlp` command to download videos and audio from supported video websites, including YouTube, Bilibili, Twitter, and 1000+ other sites. ```bash /ytdlp [url2] [flags...] ``` Examples: ```bash # Basic download /ytdlp https://www.youtube.com/watch?v=dQw4w9WgXcQ # Download multiple videos /ytdlp https://www.youtube.com/watch?v=video1 https://www.youtube.com/watch?v=video2 # Use custom parameters /ytdlp https://www.youtube.com/watch?v=dQw4w9WgXcQ -f best /ytdlp https://www.youtube.com/watch?v=dQw4w9WgXcQ --extract-audio --audio-format mp3 ``` Common parameters: - `-f `: Specify download format (e.g., `best`, `worst`, `bestvideo+bestaudio`) - `--extract-audio`: Extract audio - `--audio-format `: Audio format (e.g., `mp3`, `m4a`, `wav`) - `--write-sub`: Download subtitles - `--write-thumbnail`: Download thumbnail For more parameters, see [yt-dlp documentation](https://github.com/yt-dlp/yt-dlp#usage-and-options).