Skip to main content

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


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.0.3.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mangadex_downloader-0.0.3-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file mangadex-downloader-0.0.3.tar.gz.

File metadata

  • Download URL: mangadex-downloader-0.0.3.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • 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.57.0 CPython/3.9.1

File hashes

Hashes for mangadex-downloader-0.0.3.tar.gz
Algorithm Hash digest
SHA256 25cde742145eb8c1a9e15126387b6cb582a1d0ee9db951100c903b4329668064
MD5 7cad6125276d6df3562ab09540e60f97
BLAKE2b-256 eccff1f4054eb874d981520d01b8654cda05ab44fa6c8f26ba9b95c26ebc3e84

See more details on using hashes here.

File details

Details for the file mangadex_downloader-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: mangadex_downloader-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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.57.0 CPython/3.9.1

File hashes

Hashes for mangadex_downloader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 49919032db89b38817fcb6230d5a3efc9b219ab56e0654bb99411334c2fcddf1
MD5 1392d123693c6acc27f1b237493261af
BLAKE2b-256 2f0aef67234b38d9e323591de372a5666656e1a81744660b57eb0948ce1afb0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page