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)
...
# New in v0.0.4
# added Mangadex.extract_basic_info()
# grab all information in manga without the chapters
info = m.extract_basic_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.chapters)
# Output: None
# 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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20fb8fc924cd7ac13c2a84d2b33691742e56e236176a949703061f84c696fbb4 |
|
MD5 | c5606118fd0f9d02aad04c814478626e |
|
BLAKE2b-256 | b69dec9dce494889d50c6bfb90b4d6b4246297dca88949408245224768a66f5e |
Close
Hashes for mangadex_downloader-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8c734f4ef4f6ffa622cdd2c5c524f4bdc9e0dc06d35da5fe0444290d1248fc8 |
|
MD5 | dff3cb0a704af2311f55b526e11157fd |
|
BLAKE2b-256 | d44a56be6898df840b48e43a3ac7d677e84ce0b029e45db36d8a3145bde5cfa6 |