Skip to content
yt-dlp

yt-dlp Command Generator for Pinterest

Build a yt-dlp command for Pinterest video pins.

Optional. Leave it empty and the command ends with URL for you to fill in.

Your command

yt-dlp --merge-output-format mp4 --no-playlist https://www.pinterest.com/pin/123456789/
Basics

Audio-only extracts the soundtrack and drops the video stream.

Video and quality

Caps the height. yt-dlp still picks the best stream at or below it.

The file type separate video and audio streams are merged into.

Advanced options (3)

Overrides the quality dropdown. For people who already know the format syntax.

Repackages the streams without re-encoding. Fast and lossless.

Re-encodes the video. Slow and lossy — only when remuxing will not do.

Audio

The file the audio is converted to.

VBR gives the best size-to-quality ratio; fixed bitrates are more predictable.

Subtitles

Embedding puts them inside the video; saving writes a separate .srt next to it.

Comma separated. Use all for every available language.

Playlists and channels

What to do when the URL belongs to both a video and a playlist.

Ranges and lists both work, for example 1-10,15 or -5::2 for every second item from the end.

Advanced options (1)

Records what has been downloaded so re-running skips it. The way to keep a channel in sync.

Sections and chapters
Advanced options (2)

A time range like *00:01:30-00:03:00, or a chapter name. The leading asterisk means it is a timestamp.

Metadata and artwork
Advanced options (3)
SponsorBlock

Cuts community-marked segments out of the file using SponsorBlock data.

Advanced options (1)

Keeps the segments but marks them, so you can skip them yourself.

Files and folders

Field names go in %(...)s. Slashes create folders.

Advanced options (4)

Where files are written. Combine with the template above for subfolders.

Maximum file name length in characters.

Filters
Advanced options (5)

YYYYMMDD, or a relative date like now-1month.

YYYYMMDD, or a relative date.

Skips anything smaller. Accepts 5M, 500K and similar.

Skips anything larger.

Number of files to download before stopping.

Network

For example 2M or 500K. Useful when you need the rest of your bandwidth.

Advanced options (5)

Speeds up fragmented streams. Four is a sensible starting point.

How many times to retry a failed piece. infinite is allowed.

HTTP, HTTPS or SOCKS proxy URL.

Makes requests look like a real browser. The usual fix for sudden 403 errors.

Login and cookies

Reads your logged-in session directly. Needed for private, age-restricted or members-only content.

Advanced options (1)

A Netscape-format cookies.txt exported from your browser.

Live streams
Advanced options (2)

Polls until a scheduled stream begins. MIN-MAX seconds between checks.

Workarounds
Advanced options (3)

Deprecated in favour of --add-headers. Kept because plenty of older guides still use it.

Deprecated in favour of --add-headers.

Site-specific switches, for example youtube:player_client=web.

Output and debugging
Advanced options (2)
Reset

Notes for Pinterest

Individual pin URLs containing video work directly and need no special options.

Whole-board support is limited and changes with Pinterest's own markup. Passing pin URLs one at a time is slower and considerably more reliable.

Not every pin is a video — most are images — and a board handed to yt-dlp whole comes back mostly as image entries. The video pins are what this page is for: open the pin, copy the address of the pin page itself (not the i.pinimg.com image URL the browser shows), and let yt-dlp resolve whether media behind it is a video. When yt-dlp answers with an image, that pin genuinely has none; there is no option that turns an image pin into a video one.

Pinterest gates some content behind a login, and unlike most platforms the gate applies to browsing as much as to downloading — without cookies, boards stop after the first page and video pins in some categories return nothing at all. The browser-cookies option is the reliable route here: log in as usual in your browser, hand the cookie jar to yt-dlp, and pagination follows the account you are signed in with. Cookies from a logged-out session buy nothing.

For a long board or a profile worth keeping in step with, combine cookies with the archive file and run the same command on a schedule: the archive records every pin already fetched, so each later run transfers only what was pinned since the last one. Expect the shape of the output to change over time — Pinterest redesigns its markup more often than any other platform yt-dlp supports, and when a board suddenly downloads as one giant gallery or loses its titles, an updated yt-dlp is usually the whole fix. Report it only if updating does not clear it.

Name the output for the board, not the pin. Pin titles repeat — "Untitled", the board name, or nothing at all — so a plain title template collides within a single run; the default template here keeps the id, which is unique, and adding the playlist index keeps a board download in board order. Sections inside a board arrive as sub-playlists, and the archive file tracks every level of that without re-downloading anything on the next run.

Frequently asked questions

Can yt-dlp download Pinterest videos?
Yes, pin URLs containing video work directly.
Can I download a whole board?
Board support is limited and changes often. Passing individual pin URLs is more reliable.