Draculav1.1.2

API & CLI Reference

Commands.

Complete specifications for all subcommands, options, and flags in Dracula CLI v1.1.2.

Quick Referencev1.1.2
dracula                                 # Launch interactive TUI
dracula video    -u URL                 # Download single video
dracula audio    -u URL                 # Extract audio track
dracula playlist -u URL                 # Download playlist
dracula batch    -i urls.txt            # Batch download URLs
dracula formats  -u URL                 # List available formats
dracula history  -n 50                  # View download history
dracula completion                      # Shell completion setup
01

video

Download a YouTube video with quality, subtitle, and thumbnail controls.

$ dracula video -u URL [options]
FlagShortDefaultDescription
--url-urequired*YouTube video URL
--quality-q720pQuality: best/4k/1440p/1080p/720p/480p/360p/worst
--format-id-fSpecific yt-dlp format ID
--subsComma-separated subtitle language codes (e.g. en,es)
--auto-subsoffDownload auto-generated subtitles
--embed-subsoffEmbed subtitles into video container
--embed-thumbnailoffEmbed thumbnail image into video file
--output-o~/Downloads/DraculaOutput directory
--limit-rateMaximum download speed limit (e.g. 500k, 2m)
--dry-runoffSimulate download without saving files
02

audio

Extract audio tracks in MP3, M4A, FLAC, WAV, OPUS, or AAC formats.

$ dracula audio -u URL [options]
FlagShortDefaultDescription
--url-urequired*YouTube video URL
--format-fmp3Audio format: mp3/m4a/wav/flac/opus/aac
--bitrate-b192Bitrate in kbps: 128/192/256/320
--embed-thumbnailoffEmbed cover art into audio metadata
--output-o~/Downloads/DraculaOutput directory
--limit-rateMaximum download speed limit (e.g. 500k, 2m)
--dry-runoffSimulate download without saving files
03

playlist

Download full YouTube playlists with item range filtering and failed item retries.

$ dracula playlist -u URL [options]
FlagShortDefaultDescription
--url-urequired*Playlist URL
--quality-q720pVideo quality
--audio-onlyoffDownload audio only
--format-fmp3Audio format (with --audio-only)
--bitrate-b192Audio bitrate kbps (with --audio-only)
--startStart at playlist item index number
--endEnd at playlist item index number
--subsComma-separated subtitle language codes
--auto-subsoffDownload auto-generated subtitles
--embed-subsoffEmbed subtitles into output
--embed-thumbnailoffEmbed thumbnail into output files
--retry-failedoffRe-attempt only items that failed previously
--output-o~/Downloads/DraculaOutput directory
04

batch

Download multiple URLs sequentially from a text file or command line arguments.

$ dracula batch -i urls.txt [options] OR dracula batch -u URL1 -u URL2
FlagShortDefaultDescription
--input-file-iPath to text file containing URLs
--url-uTarget URL (repeat flag for multiple URLs)
--quality-q720pVideo quality
--audio-onlyoffDownload audio only
--format-fmp3Audio format
--bitrate-b192Audio bitrate kbps
--subsSubtitle language codes
--auto-subsoffDownload auto-generated subtitles
--embed-subsoffEmbed subtitles
--embed-thumbnailoffEmbed thumbnail
--output-o~/Downloads/DraculaOutput directory
05

formats

List all raw video and audio format streams available for a URL.

$ dracula formats -u URL
FlagShortDefaultDescription
--url-urequired*YouTube video URL
06

history

Display recent download history records logged in ~/.config/dracula/history.jsonl.

$ dracula history [-n LIMIT]
FlagShortDefaultDescription
--limit-n50Number of recent history records to display
07

completion

Output setup instructions for bash/zsh shell auto-completion.

$ dracula completion

No additional options required for this subcommand.