How shivam3828y/yt_playlist_downloader works
This is a desktop YouTube video and playlist downloader with MP4 and MP3 output, plus a small command-line playlist entry point. The main workflow is: a user enters a link and selects mode and format; the UI dispatches work to a single-item or playlist downloader; yt-dlp fetches media, FFmpeg handles merging or audio extraction, and shared utilities stage and move finished files to the configured download folder. The excerpts show these runtime paths directly. The standalone converter is present, but no caller is shown; its integration is therefore not inferred.
Main entry points: single_downloader.py Single downloader · ui_app.py Desktop UI · bulk_downloader.py Playlist downloader · utils.py Session and file utilities
Components 12
User interface
- Desktop UI
ui_app.py - CLI entry
main.py
Download workflows
- Single downloader
core/single_downloader.py - Playlist downloader
core/bulk_downloader.py - yt-dlp
Configuration and utilities
- Download settings
config.py - Session and file utilities
core/utils.py
Media processing
- FFmpeg
- Video-to-MP3 converter
src/converter.py
Other components
- User
- YouTube
- Download folder
Connections 15
- User → Desktop UI: enters link
README.md - Desktop UI → Download settings: reads settings
ui_app.py - Desktop UI → Single downloader: dispatches single
ui_app.py - Desktop UI → Playlist downloader: dispatches playlist
ui_app.py - CLI entry → Download settings: reads settings
main.py - CLI entry → Session and file utilities: sets up logging
main.py - CLI entry → Single downloader: calls playlist flow
main.py - Single downloader → Session and file utilities: stages and finalizes
core/single_downloader.py - Playlist downloader → Session and file utilities: stages and finalizes
core/bulk_downloader.py - Single downloader → yt-dlp: downloads media
core/single_downloader.py - Playlist downloader → yt-dlp: downloads playlist
core/bulk_downloader.py - yt-dlp → YouTube: fetches media
- Single downloader → FFmpeg: configures processing
core/single_downloader.py - Playlist downloader → FFmpeg: converts leftovers
core/bulk_downloader.py - Session and file utilities → Download folder: moves finished files
core/utils.py