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)

...

# 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


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.4.tar.gz (8.4 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.4-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mangadex-downloader-0.0.4.tar.gz
  • Upload date:
  • Size: 8.4 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.59.0 CPython/3.9.2

File hashes

Hashes for mangadex-downloader-0.0.4.tar.gz
Algorithm Hash digest
SHA256 20fb8fc924cd7ac13c2a84d2b33691742e56e236176a949703061f84c696fbb4
MD5 c5606118fd0f9d02aad04c814478626e
BLAKE2b-256 b69dec9dce494889d50c6bfb90b4d6b4246297dca88949408245224768a66f5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mangadex_downloader-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.59.0 CPython/3.9.2

File hashes

Hashes for mangadex_downloader-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c8c734f4ef4f6ffa622cdd2c5c524f4bdc9e0dc06d35da5fe0444290d1248fc8
MD5 dff3cb0a704af2311f55b526e11157fd
BLAKE2b-256 d44a56be6898df840b48e43a3ac7d677e84ce0b029e45db36d8a3145bde5cfa6

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