Skip to content

Instantly share code, notes, and snippets.

@tkoz0
Created March 23, 2024 15:09
Show Gist options
  • Save tkoz0/cd1f3df6b31ffdaba7594bbdf8d7c27d to your computer and use it in GitHub Desktop.
Save tkoz0/cd1f3df6b31ffdaba7594bbdf8d7c27d to your computer and use it in GitHub Desktop.
yt-dlp notes common helpful options cheat sheet
YT-DLP helpful options cheat sheet
basics:
--version
-U,--update
-i,--ignore-errors
--flat-playlist (list videos, no download)
video selection:
--datebefore YYYYMMDD
--dateafter YYYYMMDD
--no-playlist
--yes-playlist
--download-archive FILE (save IDs downloaded)
download:
-N,--concurrent-fragments N
-r,--limit-rate BYTES/SEC
-R,--retries R
--playlist-random
filesystem:
-a,--batch-file FILE (file with urls, - for stdin)
-o,--output OUTPUT_FILENAME_TEMPLATE
--restrict-filenames (ascii only, no & or spaces)
--windows-filenames
-c,--continue (resume downloads)
--write-description (save video description)
--write-info-json (save metadata)
--write-playlist-metafiles
--write-comments
--cookies FILE (netscape format)
thumbnail:
--write-thumbnail
--write-all-thumbnails
verbosity/simulation:
-s,--simulate (no downloads)
--skip-download
-j,--dump-json
-v,--verbose
workarounds:
--sleep-requests SEC (sleep between requests)
--sleep-interval,--min-sleep-interval SEC
--max-sleep-interval SEC
video format:
-f,--format FORMAT
-F,--list-formats
subtitle:
--write-subs
--write-auto-subs
--list-subs
post process:
--remux-video FORMAT
-k,--keep-video
--embed-subs
--embed-thumbnail
--embed-metadata
--embed-chapters
--embed-info-json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment