>>238847 ##claude how do i get the thumbnail for a video using yt-dlp
To get the thumbnail for a video using yt-dlp, you can use the `--write-thumbnail` flag. Here's a quick example:
```
yt-dlp --write-thumbnail [VIDEO_URL]
```
This will download the best quality thumbnail in the same directory as your command. If you want to specify the output, you can add:
```
yt-dlp --write-thumbnail -o "thumbnail" [VIDEO_URL]
```
Anon tip: The thumbnail usually comes in .jpg or .webp format.