[TOC]

# Overview

`youtube-dl -F <link>`: list all available formats of requested videos

- `youtube-dl -f <format> <link>`: Download the video format code.
    + `<link>` can be a playlist
    + `<format>`: mp4, webm, mkv
    + `youtube-dl -f mp4 https://www.youtube.com/playlist?list=PLSJl4Xusm04tbstMd4rSqsFQsP4vIdY7k`

# Tips and Tricks

## Download mp3

- `youtube-dl --extract-audio --audio-format mp3 <video URL>`

[TOC]

# Overview

`youtube-dl -F <link>`: list all available formats of requested videos

- `youtube-dl -f <format> <link>`: Download the video format code.
    + `<link>` can be a playlist
    + `<format>`: mp4, webm, mkv
    + `youtube-dl -f mp4 https://www.youtube.com/playlist?list=PLSJl4Xusm04tbstMd4rSqsFQsP4vIdY7k`

# Tips and Tricks

## Download mp3

- `youtube-dl --extract-audio --audio-format mp3 <video URL>`
- `youtube-dl --extract-audio --audio-format mp3 --playlist-items 5-10 youtube-playlist-url`


Add download from a playlist
Add download from a playlist
