ytdlp.org

Practical yt-dlp docs: install, commands, fixes, cookies, and workflows.

Current section

Workflows & Automation hub

Turn repeated yt-dlp commands into an organized workflow instead of a pile of copy-pasted flags.

The hard part of repeated yt-dlp use is rarely one more flag. It is keeping filenames predictable, folders clean, playlist runs repeatable, and downloads from turning into duplicate chaos. This pillar exists for the moment when yt-dlp stops being a one-off command and starts becoming a real workflow.

Organize outputs with templates

Start here when repeated downloads are turning into random filenames and messy folders instead of a predictable system.

Handle recurring playlist runs

Use playlist guidance when the real workflow is repeat downloads from the same source rather than one-off files.

Start from practical commands

Go here if you still need the basic commands before you formalize them into a reusable process.

Automate it: cron, n8n, Zapier

Put recurring downloads on a schedule — and learn which automation platforms can actually run yt-dlp.

Use yt-dlp as an API

Embed it in Python, wrap it in a service, or use a managed import API when downloads become a product feature.

Run it on a server

Headless installs, Docker, cookies without a browser, and the datacenter IP blocks nobody warns you about.

Use this pillar for

  • repeat downloads that should stay organized instead of ad hoc
  • output templates, naming rules, folder structure, and reusable patterns
  • moving from one terminal command into a system you can trust repeatedly

Do not start here if

  • yt-dlp is not installed or basic commands still fail
  • the issue is really auth, stale extractors, or format confusion
  • you only need one quick download and no repeatable structure

Move deeper when

  • you want a config-file driven setup instead of repeating long commands
  • you need archive-file logic so old downloads are skipped automatically
  • the workflow is becoming repeated enough that Importly starts to make sense

Core workflow patterns

Organization layer

  • • output templates for file names and folders
  • • cleaner audio/video destination rules
  • • separating one-off downloads from repeatable jobs
  • • keeping results readable later

Automation layer

  • • config file driven defaults
  • • archive-file logic to skip duplicates
  • • recurring playlist and channel runs
  • • knowing when manual commands are no longer enough

The failure pattern to avoid

People often keep solving repeated download work by pasting longer and longer commands into terminal history. That works right up until they need cleaner naming, duplicate protection, or a predictable way to rerun the same job.

Once the workflow repeats, treat organization and defaults as part of the job instead of a later cleanup problem.

Automation

Running this on a schedule? See the API version.

Paste a link and watch one API call do what your batch script does — extraction, retries, and site breakage handled.

Next places to go

Straightforward yt-dlp help for installs, commands, fixes, cookies, and repeatable workflows.

ytdlp.org is an independent, community-maintained documentation site. It is not affiliated with the yt-dlp project — the official source code lives at github.com/yt-dlp/yt-dlp.