How hh12356/anydl works
anydl is a Flet desktop downloader: users choose video or music, paste a link, optionally set format or trim options, then start a download. The UI selects an engine and builds its arguments; DownloadManager launches it in a background process and relays output for progress, logs, and completion status. README capabilities include playlist folders, Spotify API settings, and site-specific cookies. The UI excerpt is partial, so uncertain internal wiring for these features is not expanded.
Main entry points: app.py Downloader UI · manager.py Download manager · main.py Application entry
Components 16
Desktop interface
- Application entry
main.py - Downloader UI
ui/app.py - Download options
ui/app.py - Spotify settings
ui/app.py - Spotify config
ui/app.py
Download orchestration
- Download manager
core/manager.py - Output queue
core/manager.py
Download engines
- yt-dlp
- spotDL
- scdl
Other components
- User
- Video sites
- Spotify API
- Firefox cookies
- FFmpeg
- Download files
Connections 19
- User → Application entry: launches
- Application entry → Downloader UI: runs
- User → Downloader UI: uses
- Downloader UI → Download options: collects
- Downloader UI → Spotify settings: opens
- Spotify settings → Spotify config: reads/writes
- Downloader UI → Download manager: starts process
- Download manager → yt-dlp: launches
- Download manager → spotDL: launches
- Download manager → scdl: launches
- Download manager → Output queue: enqueues output
- Downloader UI → Output queue: reads output
- yt-dlp → Video sites: downloads from
- spotDL → Spotify API: uses API
- spotDL → Download files: writes audio
- scdl → Download files: writes audio
- yt-dlp → Download files: writes media
- yt-dlp → Firefox cookies: reads cookies
- yt-dlp → FFmpeg: uses for media