How andres2008-03/descargar_yt works
This is a small Tkinter YouTube video/audio downloader. A user enters a URL and chooses a quality; the UI callback starts a background download, which selects a format and invokes yt-dlp. Download progress and completion/errors travel through a queue for the main thread to display. The excerpts support this workflow and the quality options, but do not show where files are ultimately saved beyond yt-dlp’s output template.
Main entry points: main.py App controller · GUI.py Download UI · descargas.py Download worker
Components 7
User interface
- Download UI
GUI.py
Download control
- App controller
main.py - Progress queue
main.py
Download processing
- Format selector
descargas.py - Download worker
descargas.py
Other components
- User
- yt-dlp
Connections 10
- User → Download UI: enters URL
GUI.py - User → Download UI: chooses quality
GUI.py - Download UI → App controller: invokes callback
GUI.py - App controller → Download UI: creates window
main.py - App controller → Download worker: starts thread
main.py - Download worker → Format selector: selects format
descargas.py - Download worker → yt-dlp: downloads URL
descargas.py - Download worker → Progress queue: writes progress
descargas.py - App controller → Progress queue: reads updates
main.py - App controller → Download UI: updates status
main.py