Prerequisites
Before installing Universal Manga Downloader, ensure your system meets these requirements:Python 3.10 or higher is required. Check your version with
python --version or python3 --version.- Python 3.10+ with pip installed
- Git for cloning the repository
- 8GB RAM recommended for browser automation
- 500MB disk space for dependencies and browser binaries
System compatibility
- Windows 10/11
- macOS 10.15+
- Linux (Ubuntu 20.04+, Debian 11+, or equivalent)
Installation steps
Clone the repository
Download the source code from GitHub:
The repository is approximately 50MB. The clone operation may take 1-2 minutes depending on your connection speed.
Install Python dependencies
Install all required packages using pip:This will install the following core dependencies:
discord.py- Discord bot integrationaiohttp- Async HTTP clientPillow- Image processingplaywright- Browser automationcrawl4ai- Intelligent web scrapingpython-dotenv- Environment variable managementimg2pdf- PDF generationfastapi- Web API frameworkuvicorn- ASGI serverwebsockets- Real-time communication
Install Playwright browsers
Playwright requires browser binaries for automation. Install Chromium:This downloads and configures the Chromium browser (~300MB). The process may take several minutes.If you need all browsers for development:
Configure environment variables
Create a Add your configuration:Configuration options explained:
.env file in the project root directory:.env
The
DISCORD_TOKEN is only required if you plan to use the Discord bot deployment method. For web and desktop usage, you can leave the .env file empty or skip this step.DISCORD_TOKEN- Your Discord bot token from the Discord Developer PortalHEADLESS=true- Runs browser automation invisibly (recommended for servers)HEADLESS=false- Shows browser window during scraping (useful for debugging)GOOGLE_API_KEY- Optional API key for enhanced features
Directory structure
After installation, your project directory should look like this:The
PDF/ directory will be automatically created when you download your first manga. This is where all generated PDFs are stored.Optional: Install Node.js dependencies
If you plan to use or develop the web interface, install the Next.js dependencies:Ensure Node.js is installed
Troubleshooting
Python not found
If you seepython: command not found, try using python3 instead:
Permission errors on Linux/macOS
Add--user flag to install in your home directory:
Playwright installation fails
If Playwright installation fails, try installing system dependencies first:Import errors
If you seeModuleNotFoundError: No module named 'core', ensure you’re running commands from the project root directory:
crawl4ai installation issues
Ifcrawl4ai fails to install, you may need to install build tools:
Next steps
Now that you have Universal Manga Downloader installed, you’re ready to download your first manga!Quick start
Download your first manga in 5 minutes
Web deployment
Set up the modern web interface
Desktop app
Launch the standalone GUI
Core concepts
Learn about the architecture