How ivensarj/downloader works
Baixador de Mídia is a desktop Python app for downloading authorized video and audio links in batches. The main workflow collects links and download options, runs concurrent jobs through yt-dlp or the Spotify/spotDL path, reports per-item progress, and saves files to a folder or ZIP. The README also documents playlist handling, retries, cancellation, saved preferences, and runtime checks. The source is a single substantial file; the map separates its responsibilities, while several connections rely on README descriptions rather than sampled call sites.
Main entry points: downloader.py Batch coordinator
Components 19
Desktop interface
- Download interface
downloader.py - Link input
downloader.py - Download options
downloader.py - Progress and log
downloader.py
Batch downloads
- Batch coordinator
downloader.py - Concurrent jobs
downloader.py - Retry and cancel
downloader.py
Output and settings
- Saved preferences
downloader.py - Downloaded files
- ZIP packaging
downloader.py
Download integrations
- Download dispatch
downloader.py - yt-dlp engine
downloader.py - Spotify handling
downloader.py - YouTube runtime check
downloader.py - FFmpeg processing
Other components
- User
- Video platforms
- Spotify and audio search
- Local storage
Connections 23
- User → Download interface: configures downloads
README.md - Download interface → Link input: enters links
README.md - User → Link input: pastes or imports
README.md - Download interface → Download options: chooses format
downloader.py - Download interface → Batch coordinator: starts batch
downloader.py - Batch coordinator → Concurrent jobs: runs concurrently
README.md - Batch coordinator → Retry and cancel: supports retry and cancel
README.md - Batch coordinator → Download dispatch: runs each item
downloader.py - Download dispatch → yt-dlp engine: dispatches non-Spotify
downloader.py - Download dispatch → Spotify handling: dispatches Spotify
downloader.py - yt-dlp engine → Video platforms: downloads media
README.md - Spotify handling → Spotify and audio search: looks up tracks
README.md - yt-dlp engine → FFmpeg processing: processes media
README.md - Spotify handling → FFmpeg processing: creates MP3
- YouTube runtime check → yt-dlp engine: checks readiness
README.md - Batch coordinator → Progress and log: reports item updates
downloader.py - Progress and log → Download interface: updates display
downloader.py - Batch coordinator → Downloaded files: saves downloads
README.md - Batch coordinator → ZIP packaging: packages when selected
downloader.py - ZIP packaging → Downloaded files: writes archive
downloader.py - Downloaded files → Local storage: writes files
README.md - Download options → Saved preferences: persists choices
README.md - Saved preferences → Local storage: stores configuration
README.md