How tharana-dev/video-downloader works
This is a command-line media downloader. The main workflow gathers a URL and download preferences, scouts metadata and available resolutions, downloads and converts the selected media with yt-dlp/FFmpeg, then records successful downloads. The README also describes viewing the log, but the sampled logger implements only appending records; no log-viewer implementation is present. The graph follows the sampled entry-point calls and README-documented capabilities.
Main entry points: downloader.py Media downloader · main.py Workflow entry · input_file.py URL and preferences · logger.py Download log writer
Components 13
Input and scouting
- Workflow entry
main.py - URL and preferences
input_file.py - Metadata and quality scout
input_file.py - Filename and destination
input_file.py
Download processing
- Media downloader
downloader.py - Progress display
downloader.py - Downloaded media file
Download records
- Download log writer
logger.py - Download history
- Log viewer
Other components
- CLI user
- Supported media platforms
- FFmpeg processing
Connections 13
- CLI user → Workflow entry: runs
Readme.md - Workflow entry → URL and preferences: requests details
main.py - URL and preferences → Supported media platforms: scouts metadata
input_file.py - URL and preferences → Metadata and quality scout: extracts metadata
input_file.py - URL and preferences → Filename and destination: collects preferences
input_file.py - Workflow entry → Media downloader: starts download
main.py - Media downloader → Supported media platforms: downloads media
downloader.py - Media downloader → Progress display: updates progress
downloader.py - Media downloader → FFmpeg processing: configures processing
downloader.py - Media downloader → Downloaded media file: writes media
downloader.py - Workflow entry → Download log writer: logs success
main.py - Download log writer → Download history: appends record
logger.py - CLI user → Log viewer: can request
Readme.md