Skip to main content

๐Ÿง› The Dracula โ€” YouTube Downloader CLI

  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— 
  โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—
  โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘
  โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘
  โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•  โ•šโ•โ•
  โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
  โ•‘   ๐Ÿง› The Dracula  ยท  YouTube Downloader CLI  v1.1.2    โ•‘
  โ•‘      Powered by yt-dlp  ยท  Rising from the dark...     โ•‘
  โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

A powerful, dark-themed YouTube Downloader CLI built with Python and yt-dlp.
Download videos, audio, playlists, and batch URLs โ€” all from the terminal.


โœจ Features

Feature Description
๐ŸŽฌ Video Download Download any YouTube video with quality selector (360p to 4K), subtitles, and thumbnails
๐ŸŽต Audio Only Extract audio as MP3, M4A, WAV, FLAC, OPUS with configurable bitrates (128-320kbps)
๐Ÿ“‹ Playlist Download entire playlists with item range selection and failed item retry (--retry-failed)
๐Ÿ“ฆ Batch Downloads Sequential download from text files (urls.txt) or multiple -u flags
โš™๏ธ Persistent Config Custom default directory, quality, and bitrates saved in ~/.config/dracula/config.toml
๐Ÿ“œ History Logging Append-only download history log in ~/.config/dracula/history.jsonl
๐Ÿ“Š Format Lister View all available formats, resolutions, codecs, and file sizes for a URL
๐ŸŽจ Rich TUI & CLI Menu-driven TUI, live progress bars, summary tables, red error panels, and shell completion

๐Ÿ“ฆ Installation & Update

1. Install via PyPI (Recommended)

To install the latest version of The Dracula globally from PyPI, run:

pip install dracula-dl

2. Upgrade to the Latest Version

To upgrade an existing installation to the latest version:

pip install --upgrade dracula-dl

3. Install from Source (Local Development)

If you are running or developing from the source repository:

git clone https://github.com/AJAYMYTH/dracula-dl.git
cd dracula-dl
pip install -r requirements.txt

4. Install FFmpeg (required for merging video+audio and audio extraction)

Windows (via winget):

winget install --id=Gyan.FFmpeg -e

macOS:

brew install ffmpeg

Linux (Ubuntu/Debian):

sudo apt install ffmpeg

๐Ÿš€ Usage

Interactive Mode (recommended for beginners)

If you installed via pip, just run:

dracula

If you are running directly from the source code:

python dracula.py

You'll get a full interactive TUI menu to guide you.


Command Line Mode

Download a Video

# Best quality (default)
dracula video -u "https://youtube.com/watch?v=..."

# Specific quality with subtitles and thumbnail
dracula video -u "URL" -q 1080p --subs en --embed-thumbnail

# Embed subtitles into MP4 container
dracula video -u "URL" -q 4k --embed-subs --subs en,es

# Speed limit and dry-run simulation
dracula video -u "URL" --limit-rate 2M --dry-run

Quality Options: best | 4k | 1440p | 1080p | 720p | 480p | 360p | worst


Download Audio Only

# Default: MP3 at 192kbps
dracula audio -u "https://youtube.com/watch?v=..."

# High quality MP3 with embedded album art
dracula audio -u "URL" -f mp3 -b 320 --embed-thumbnail

# FLAC lossless
dracula audio -u "URL" -f flac

Format Options: mp3 | m4a | wav | flac | opus | aac
Bitrate Options: 128 | 192 | 256 | 320


Download a Playlist

# Full playlist at 720p
dracula playlist -u "https://youtube.com/playlist?list=..."

# Playlist as audio only (MP3)
dracula playlist -u "URL" --audio-only -f mp3 -b 320

# Download items 5 through 10 only
dracula playlist -u "URL" --start 5 --end 10

# Retry only previously failed items in history
dracula playlist -u "URL" --retry-failed

Batch Download

# Batch download from text file (urls.txt)
dracula batch -i urls.txt -q 1080p

# Batch download multiple URLs directly
dracula batch -u "URL1" -u "URL2" -q 720p

View Download History & Setup Shell Completion

# View 50 recent download records
dracula history -n 50

# Display bash/zsh shell completion setup
dracula completion

๐Ÿ“ Output Location & Configuration

By default, files are saved to:

~/Downloads/Dracula/

Playlists are saved in a subfolder named after the playlist:

~/Downloads/Dracula/<Playlist Title>/01 - Video Title.mp4

Persistent configuration is saved to:

~/.config/dracula/config.toml

Append-only download logs are saved to:

~/.config/dracula/history.jsonl

๐Ÿ”ง Requirements


๐Ÿ“œ License

MIT โ€” Free to use, modify, and distribute.


Made with โค๏ธ by Ajaymyth

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dracula_dl-1.1.3.tar.gz (365.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dracula_dl-1.1.3-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file dracula_dl-1.1.3.tar.gz.

File metadata

  • Download URL: dracula_dl-1.1.3.tar.gz
  • Upload date:
  • Size: 365.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for dracula_dl-1.1.3.tar.gz
Algorithm Hash digest
SHA256 d0a80757b4f6449a43d3200d4a4bb42452c5fe3c3c183c4b6983c2163cebdb00
MD5 eb7fbde129e2428bd7aaf5cce68739da
BLAKE2b-256 e780edf8846e2f7866de9d86a3a4ad95aa845ae3537f11aa23a047061421e758

See more details on using hashes here.

File details

Details for the file dracula_dl-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: dracula_dl-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for dracula_dl-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 735706ca9159c8644dee55625180422285e15c95b295c7f5cb15b40ee6cf608a
MD5 e24a3339223ab1bdc165778e23f1bf23
BLAKE2b-256 b37e01cff7646ce41898d8b5aee129a740f82efff7cc606abd93baaab2b4eb4c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.4

2 files

1.0.3

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page