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
mangadex-downloader-0.2.0.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for mangadex-downloader-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c96cfc8aad1480b9006f03f77dc913730a0f99adc58d28d7225d089a2d4313e |
|
MD5 | da2f929cadfca32c7fe027c199a1dc76 |
|
BLAKE2b-256 | fe8a46c6b5793957a97d5708e5248c86c2c6c08ee89ca00babb22e66e79ad1e9 |
Close
Hashes for mangadex_downloader-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d09b50321d043545fcb27692e9f4a72307d9837befde006c96a02ab5e729f401 |
|
MD5 | 7844f2c4f1e962bf7bf43ea96fd81a17 |
|
BLAKE2b-256 | 20c9e246e06833eefdad73c33d14d2038000d331479a6f174b9405d9f84de5a8 |