A Python-based tool for downloading and organizing manga content from MangaWorld.
- Downloads multiple chapters concurrently.
- Supports batch downloading via a list of URLs.
- Convert downloaded chapters into PDFs.
- Track and display download progress.
- Organize and format manga chapters efficiently.
- Python 3
aiohttp
- for asynchronous HTTP requestsrequests
- for HTTP requestsbeautifulsoup4
(bs4) - for HTML parsingPillow
- for image processingrich
- for progress display in terminal
project-root/
├── helpers/
│ ├── format_utils.py # Functions for formatting manga data.
│ ├── download_utils.py # Utilities for downloading content from URLs.
│ ├── pdf_generator.py # Tools for generating PDF files from manga chapters.
│ └── progress_utils.py # Utilities for tracking and displaying progress.
├── manga_downloader.py # Core functionality for managing manga downloads.
├── main.py # Main script to run the downloader.
└── URLs.txt # Text file containing manga URLs
- Clone the repository:
git clone https://github.com/Lysagxra/MangaWorldDownloader.git
- Navigate to the project directory:
cd MangaWorldDownloader
- Install the required dependencies:
pip install -r requirements.txt
To download a single manga, you can use the manga_downloader.py
script.
Run the script followed by the manga URL you want to download:
python3 manga_downloader.py <manga_url>
python3 manga_downloader.py https://www.mangaworld.ac/manga/2754/sayonara-eri
-
Create a
URLs.txt
file in the project root and list the manga URLs you want to download. -
Run the main script via the command line:
python3 main.py
The downloaded files will be saved in the Downloads
directory.
This tool includes a feature to generate PDFs from downloaded manga chapters. You can use the -p
argument from the command line to enable this functionality.
To generate PDFs for the downloaded manga, run the following command:
python3 main.py -p
This will create PDF files for each chapter and save them in the specified output directory. The generated PDFs maintain the original quality of the downloaded images and are optimized for readability.