yt-dlp download strings

I use yt-dlp for downloading videos from YouTube, TikTok, Facebook, Twitter, etc.

A full list of all the “extractors” is available here.

Here are some of the download strings I use:

Facebook - list of available keys here

yt-dlp --restrict-filenames --embed-metadata \
    -o "%(uploader_id)s-%(upload_date)s.%(ext)s" <url>

TikTok - list of available keys here

yt-dlp --restrict-filenames --embed-metadata \
    -o "%(uploader)s-%(upload_date)s-%(title).32B.%(id)s.%(ext)s" <url>

Twitter - list of available keys here

yt-dlp --embed-metadata -o "twitter-%(id)s.%(ext)s" <url>

YouTube - list of available keys here

yt-dlp --restrict-filenames --embed-metadata \
    -o "yt_%(title)s_%(upload_date)s_%(id)s.%(ext)s" <url>