Download manga from Mangadex through Python
Project description
mangadex-downloader
Download manga from Mangadex through Python
Installation
pip install mangadex-downloader
Features
- Download manga directly with python from mangadex
- Extract all information manga from mangadex
- Tachiyomi support
Usage
from mangadex_downloader import Mangadex
# by default, verbose is False and language is English
m = Mangadex(language='English', verbose=True)
# if you want to see all information in manga
# plus you want to download it
# do: m.extract_info('give mangadex url here')
# see example below
# this will download all chapters in manga
info = m.extract_info('https://mangadex.org/title/43610/my-tiny-senpai-from-work')
print(info)
# Output: <MangaData title="My Tiny Senpai From Work" chapters=51 language=jp>
print(info.title)
# Output: 'My Tiny Senpai From Work'
print(info.chapters)
# Output: [{'language': 'English': 'url': ..., 'group': ..., 'uploader': ..., 'volume': ..., 'chapter': ..., 'chapter-id': ...}, ...]
# or, you want to see all information in manga
# but you don't wanna download it
# do: m.extract_info('give mangadex url here', download=False)
# see example below
# this will NOT download all chapters in manga
info = m.extract_info('https://mangadex.org/title/43610/my-tiny-senpai-from-work', download=False)
...
# if want to download a list containing mangadex urls
# do: m.download('mangadex urls', 'mangadex urls', ...)
# see example below
# this will download all urls
m.download(
'https://mangadex.org/title/43610/my-tiny-senpai-from-work',
'https://mangadex.org/title/23279/wonder-cat-kyuu-chan',
'https://mangadex.org/title/23439/tonikaku-cawaii'
)
Minimum Python version
Python 3.x
TODO
- add multi-download
- rework Mangadex() class
- add download range chapters
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
Close
Hashes for mangadex-downloader-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb23b0c0c12f9c6f67d3a2536d88e2c52cfe289e85950cefac302401dcf93065 |
|
MD5 | 9fb9274dcb85dba8128d9ea792339854 |
|
BLAKE2b-256 | f932b08e6b5ad3d136e993292a5c5838d0c8feab9769d80e2e71054d0745cbe0 |
Close
Hashes for mangadex_downloader-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be51c5372a532a92406b30f509ee8f40b0977050d2d7c7dc345dc422bc27a0b5 |
|
MD5 | 2122ff4a6b081f331e87b288645a0201 |
|
BLAKE2b-256 | 802c4993149f92a5aaabade9891c47861e4644072faffb2bce186d2490482c3e |