Skip to content

hashi173/Mangadex-Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š MangaDex Downloader Pro

Python License Platform

A powerful, fast, and user-friendly manga downloader for MangaDex with multi-threaded downloads

Features β€’ Installation β€’ Usage β€’ Screenshots β€’ Building β€’ FAQ


🌟 Features

⚑ High-Speed Downloads

  • 10x Faster - Multi-threaded downloads (up to 20 concurrent threads)
  • Smart Retry - Automatic retry for failed downloads
  • Resume Support - Continue interrupted downloads
  • Bandwidth Control - Limit download speed (optional)

🌍 Multi-Language Support

  • Auto-Detect - Automatically detect available translations
  • 45+ Languages - English, Japanese, Spanish, Russian, Chinese, Korean, and more
  • Smart Filter - Only show chapters in selected language

πŸ“¦ Multiple Export Formats

  • CBZ (Comic Book Archive) - Per chapter or merged
  • PDF - Per chapter or merged
  • Images - Original quality (JPG/PNG/WebP)
  • Organized - Auto-named as 00.png (cover), 01.png, 02.png, etc.

🎨 Modern User Interface

  • Dark Theme - Beautiful gradient design
  • Real-time Progress - Chapter and page progress bars with speed display
  • Cover Preview - See manga cover before downloading
  • Easy Controls - Pause, Resume, Stop anytime

πŸ›‘οΈ Reliability

  • Error Handling - Detailed error logs and reporting
  • File Integrity Check - Verify and auto-fix corrupt files
  • Missing Page Detection - Identify and retry failed pages
  • No Data Loss - Safe download with automatic cleanup

πŸ“‹ Requirements

  • Python 3.8+ (for running from source)
  • Operating System: Windows 10/11, macOS 10.14+, or Linux
  • Internet Connection: Stable connection recommended
  • VPN (Optional): ProtonVPN recommended for optimal performance

πŸš€ Installation

Option 1: Download Executable (Windows - Easiest)

  1. Go to Releases
  2. Download MangaDexDownloaderPro.exe
  3. Run MangaDexDownloaderPro.exe

No Python installation required! ✨

Option 2: Run from Source (All Platforms)

Step 1: Install Python

Download Python 3.8+ from python.org

Important: Check βœ… "Add Python to PATH" during installation

Step 2: Clone Repository

git clone https://github.com/hashi173/Mangadex-Downloader.git
cd Mangadex-Downloader

Step 3: Install Dependencies

Windows:

python -m venv . venv
.venv\Scripts\activate
pip install -r requirements.txt

macOS/Linux:

python3 -m venv . venv
source .venv/bin/activate
pip install -r requirements.txt

Step 4: Run Application

python source/main.py

πŸ“– Usage

Quick Start Guide

  1. Launch the App

    # If using executable
    MangaDexDownloaderPro.exe
    
    # If running from source
    python source/main.py
  2. (Optional) Connect VPN

    • Download ProtonVPN (free)
    • Connect to any server (recommended: Japan, US, Europe)
    • Better performance and avoid rate limits
  3. Load Manga

    • Go to MangaDex. org
    • Find your manga and copy URL
    • Paste URL into app
    • Click πŸ” Detect to find available languages
    • Select language from dropdown
    • Click Load button
  4. Select Chapters

    • Click βœ“ All to select all chapters
    • Or click individual chapters to toggle
    • Click βœ— Clear to deselect all
  5. Choose Export Format (optional)

    • Per Chapter: Separate CBZ/PDF for each chapter
    • All (Merged): Single CBZ/PDF with all chapters combined
  6. Start Download

    • Choose save location (click Browse)
    • Click ⬇ Download button
    • Monitor real-time progress with speed display
  7. Control Download

    • ⏸ Pause: Temporarily pause download
    • β–Ά Resume: Continue paused download
    • ⏹ Stop: Stop and save progress

🎯 Features Explained

⚑ Turbo Download Mode

Downloads up to 20 pages simultaneously:

Normal Mode:    [β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘] 20% - 1 page/time  (~1 MB/s)
Turbo Mode:    [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–‘] 90% - 10 pages/time (~4 MB/s) ⚑
Ultra Mode:    [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“] 100% - 20 pages/time (~8 MB/s) πŸš€

🌍 Language Auto-Detection

Automatically detects all available translations:

πŸ” Detecting languages... 

Found: 
βœ“ English (150 chapters)
βœ“ Spanish (120 chapters)
βœ“ Russian (100 chapters)
βœ“ French (80 chapters)

πŸ”„ Smart Retry System

Automatically retries failed downloads:

Download Phase: 
βœ“ Page 01-49: Success
βœ— Page 50: Failed

Retry Phase: 
πŸ”„ Retrying page 50...  Success! 

Result:  50/50 pages βœ“

πŸ“¦ Export Formats

CBZ (Comic Book Archive)

  • Standard format for comic readers
  • Compatible with: CDisplayEx, YACReader, Panels, etc.
  • Preserves image quality

PDF (Portable Document Format)

  • Universal format, read on any device
  • Auto-resized to A4 for optimal viewing
  • Perfect for tablets and e-readers

πŸ“‚ Output Structure

downloads/
└── Manga Title/
    β”œβ”€β”€ Chapter 1/
    β”‚   β”œβ”€β”€ 00.png          ← Cover image
    β”‚   β”œβ”€β”€ 01.png          ← Page 1
    β”‚   β”œβ”€β”€ 02.png          ← Page 2
    β”‚   └── ... 
    β”œβ”€β”€ Chapter 1. cbz       ← CBZ archive (if enabled)
    β”œβ”€β”€ Chapter 1.pdf       ← PDF file (if enabled)
    β”œβ”€β”€ Chapter 2/
    β”œβ”€β”€ Chapter 2.cbz
    β”œβ”€β”€ Chapter 2.pdf
    β”œβ”€β”€ ...
    β”œβ”€β”€ Manga Title_Complete.cbz  ← All chapters merged
    └── Manga Title_Complete.pdf  ← All chapters merged

πŸ–ΌοΈ Screenshots

Main Interface

MangaDex Downloader Pro - Main Interface

Modern dark theme interface with real-time progress tracking


πŸ”§ Building from Source

Build Executable (Windows)

  1. Install PyInstaller

    pip install pyinstaller
  2. Run Build Script

    python build_exe.py
  3. Output

    dist/MangaDexDownloaderPro.exe
    

Build with Spec File (Advanced)

pyinstaller MangaDexDownloaderPro.spec

Create Release Package

python build_release.py

Output: MangaDexDownloaderPro_v1.0.0_Windows_x64.zip


❓ FAQ

Q: Do I need a VPN?

A: Not required, but highly recommended. ProtonVPN (free) helps with:

  • Faster download speeds (avoid ISP throttling)
  • Bypassing regional restrictions
  • Avoiding rate limits

Q: Why is my download slow?

A: Try these solutions:

  1. Connect to ProtonVPN (different server)
  2. Close other applications using internet
  3. Check your internet speed
  4. Try downloading during off-peak hours

Q: Can I download multiple manga at once?

A: Currently downloads one manga at a time for optimal performance. Queue system coming soon!

Q: Where are my downloads saved?

A: Default: downloads/ folder in app directory. Change via Browse button.

Q: What if download fails?

A: The app automatically:

  1. Retries failed pages 3 times
  2. After completing all chapters, retries all failures again
  3. Shows detailed error report with missing pages

Q: Can I resume interrupted downloads?

A: Yes! The app saves progress. Simply restart and it continues from where it stopped.

Q: What comic readers support CBZ files?

A: Popular options:

  • Windows: CDisplayEx, YACReader, SumatraPDF
  • macOS: YACReader, Simple Comic, Panels
  • iOS: Panels, Chunky Reader, YACReader
  • Android: Tachiyomi, Perfect Viewer

Q: Are PDFs optimized for tablets?

A: Yes! PDFs are auto-resized to A4 format, perfect for tablets and e-readers.

Q: Is this legal?

A: This tool downloads from MangaDex, which hosts user-uploaded scanlations. Always support official releases when available!


πŸ› Troubleshooting

Issue: "ModuleNotFoundError"

Solution:

pip install -r requirements.txt

Issue: Cover image not loading

Solution:

  • Check VPN connection
  • Wait a few seconds and try again
  • Some manga may not have covers

Issue: "Connection timeout"

Solution:

  1. Connect to ProtonVPN
  2. Try a different VPN server
  3. Check firewall settings

Issue: Language detection shows 0 languages

Solution:

  • Check internet connection
  • Verify manga URL is correct
  • Try loading manga again

Issue: Antivirus blocks executable

Solution:

  • This is a false positive from PyInstaller
  • Add executable to whitelist/exclusions
  • Or run from source code

πŸ› οΈ Technical Details

Dependencies

requests>=2.31.0      # HTTP requests
Pillow>=10.0.0        # Image processing  
reportlab>=4.0.4      # PDF generation
PyPDF2>=3.0.1         # PDF merging
urllib3>=2.0.0        # HTTP connection pooling

Architecture

mangadex-downloader/
β”œβ”€β”€ source/
β”‚   β”œβ”€β”€ main.py                        # Entry point
β”‚   β”œβ”€β”€ api/
β”‚   β”‚   └── mangadex_api.py           # MangaDex API wrapper
β”‚   β”œβ”€β”€ downloader/
β”‚   β”‚   └── turbo_downloader.py       # Multi-threaded downloader
β”‚   └── gui/
β”‚       └── main_window.py            # Tkinter GUI
β”œβ”€β”€ build_exe.py                       # Build script
β”œβ”€β”€ requirements.txt                   # Dependencies
└── README.md

Performance

Mode Threads Speed Time (50 pages)
Normal 3 ~1 MB/s ~100s
Turbo 10 ~4 MB/s ~25s ⚑
Ultra 20 ~8 MB/s ~12s πŸš€

Memory Usage: ~150-250 MB
CPU Usage: Low (10-20%)


Development Setup

# Clone your fork
git clone https://github.com/YOUR_USERNAME/Mangadex-Downloader.git

# Create virtual environment
python -m venv . venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Run tests (if available)
python -m pytest

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

MIT License

Copyright (c) 2024 MangaDex Downloader Pro

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software. 

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 

πŸ™ Acknowledgments

  • MangaDex - For providing the API and hosting manga
  • Scanlation Groups - For translating manga
  • Python Community - For amazing libraries
  • ProtonVPN - For free VPN service
  • Contributors - Thank you for your contributions!

Made with ❀️ for manga lovers worldwide by Hashi

⭐ Star this repo if you like it! ⭐

⬆ Back to top

About

A simple and functional Mangadex downloader.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages