Download manga from Mangadex through Python
Project description
mangadex-downloader
Download manga from Mangadex through Python
Key Features
- Download manga directly with python from mangadex
- Tachiyomi support (Local files support)
Installation
From PyPI
# For Windows
py -3 -m install mangadex-downloader
# For Linux / Mac OS
python3 -m pip install mangadex-downloader
From Git
NOTE: You must have git installed. If you don't have it, install it from here https://git-scm.com/.
# For Windows
py -3 -m pip install git+https://github.com/mansuf/mangadex-downloader.git@v0.2.0
# For Linux / Mac OS
python3 -m pip install git+https://github.com/mansuf/mangadex-downloader.git@v0.2.0
Usage
NOTE: This app will download manga in english language only. Other languages will be implemented soon.
Command Line Interface (CLI)
Options
positional arguments:
URL MangaDex URL
options:
-h, --help show this help message and exit
--folder FOLDER Store manga in given folder
--proxy SOCKS / HTTP Proxy
Set http/socks proxy
--proxy-env use http/socks proxy from environments
--verbose Enable verbose output
--start-chapter START_CHAPTER
Start download chapter from given chapter number
--end-chapter END_CHAPTER
Stop download chapter from given chapter number
--use-compressed-image
Use low size images manga (compressed quality)
--no-oneshot-chapter If exist, don't download oneshot chapter
Usage
mangadex-dl "insert MangaDex URL here"
# or
mangadex-downloader "insert MangaDex URL here"
# Use this if "mangadex-dl" or "mangadex-downloader" didn't work
# For Windows
py -3 -m mangadex_downloader "insert MangaDex URL here"
# For Linux / Mac OS
python3 -m mangadex_downloader "insert MangaDex URL here"
Embedding (API)
from mangadex_downloader import download
# The parameters are:
# - url: str
# - folder: str (default: None)
# - compressed_image: bool (default: False)
# - start_chapter: float (default: None)
# - end_chapter: float (default: None)
# - no_oneshot_chapter: bool (default: None)
# Simple usage
download("insert MangaDex URL here")
# Advanced usage
download(
"insert MangaDex URL here",
folder="Homework", # Store manga in "Homework" folder
compressed_image=True, # Use compressed images for low size
start_chapter=5.0, # Start downloading from chapter 5
end_chapter=10.0, # Stop downloading from chapter 10
no_oneshot_chapter=True # for those of you who hates oneshot :)
)
Minimum Python version
Python 3.5.x
Issues
You can open a issue here, if its related to Mangadex.
For more information, click here
Contributing
You can check the guidelines here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mangadex-downloader-0.2.0.tar.gz.
File metadata
- Download URL: mangadex-downloader-0.2.0.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c96cfc8aad1480b9006f03f77dc913730a0f99adc58d28d7225d089a2d4313e
|
|
| MD5 |
da2f929cadfca32c7fe027c199a1dc76
|
|
| BLAKE2b-256 |
fe8a46c6b5793957a97d5708e5248c86c2c6c08ee89ca00babb22e66e79ad1e9
|
File details
Details for the file mangadex_downloader-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mangadex_downloader-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d09b50321d043545fcb27692e9f4a72307d9837befde006c96a02ab5e729f401
|
|
| MD5 |
7844f2c4f1e962bf7bf43ea96fd81a17
|
|
| BLAKE2b-256 |
20c9e246e06833eefdad73c33d14d2038000d331479a6f174b9405d9f84de5a8
|