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
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.0.2.tar.gz.
File metadata
- Download URL: mangadex-downloader-0.0.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb23b0c0c12f9c6f67d3a2536d88e2c52cfe289e85950cefac302401dcf93065
|
|
| MD5 |
9fb9274dcb85dba8128d9ea792339854
|
|
| BLAKE2b-256 |
f932b08e6b5ad3d136e993292a5c5838d0c8feab9769d80e2e71054d0745cbe0
|
File details
Details for the file mangadex_downloader-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mangadex_downloader-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be51c5372a532a92406b30f509ee8f40b0977050d2d7c7dc345dc422bc27a0b5
|
|
| MD5 |
2122ff4a6b081f331e87b288645a0201
|
|
| BLAKE2b-256 |
802c4993149f92a5aaabade9891c47861e4644072faffb2bce186d2490482c3e
|