Skip to main content

Manga downloader

Project description

mangapy

Manga downloader supporting the following sources:

  • fanfox.net
  • mangadex.org (via api.mangadex.org)

Installation

pipx install mangapy

Or, on macOS with Homebrew:

brew install alemar11/tap/mangapy

Usage

Terminal

Mangapy let you download manga chapters as images (default) or pdfs. Use 'mangapy -h' to get a list of all the availabe options.

Downloads all Bleach chatpers as images inside the Downloads folder (from Fanfox source).

mangapy title bleach -a -o ~/Downloads

Downloads all Bleach chatpers as a single .pdf file inside the Downloads folder (from Fanfox source).

mangapy title bleach -a -o ~/Downloads --pdf

Downloads Bleach chatper 1 as images inside the Downloads folder (from Fanfox source).

mangapy title bleach -c 1 -o ~/Downloads

Downloads Bleach chatpers from 0 to 10 (included) as images inside the Downloads folder using Fanfox as source.

mangapy title bleach -c 0-10 -o ~/Downloads -s fanfox

Disable network retries (useful for benchmarking).

mangapy title bleach -c 1 -o ~/Downloads --no-retry

Disable progress output.

mangapy title bleach -c 1 -o ~/Downloads --no-progress

You may need a proxy to download certain manga, to do so use the option -p or --proxy: Downloads the last One Piece chapter as images inside the Downloads folder (from Fanfox source) using the proxy during the search.

mangapy title "one piece" -o ~/Downloads -p '{"http": "194.226.34.132:8888", "https": "194.226.34.132:8888"}'

YAML

Mangapy let you download multiple manga chapters as images (default) or pdfs from a .yaml file. For every manga you can choose:

  • source (fanfox, mangadex)
  • whether or not save the manga as a single pdf
  • which chapter to download (single, range, all, last)
  • MangaDex-only options: translated_language, content_rating, data_saver
mangapy yaml PATH_TO_YOUR_YAML_FILE

Samples for YAML mode live in samples/. For local testing from source, run:

uv run python3 scripts/dev_run.py <sample-filename.yaml>
--- 
 debug: true # optional
 no_retry: false # optional, disable retries
 no_progress: false # optional, disable progress output
 output: "~/Downloads/mangapy"
 proxy: # optional
  http: "http://31.14.131.70:8080"
  https: "http://31.14.131.70:8080" 
 downloads:
  - source: "fanfox"
    title: "bleach"
    pdf: true
    download_single_chapter: "10"
    no_retry: true
  - source: "fanfox"
    title: "naruto"
    pdf: true
    download_chapters: "10-13"
  - source: "mangadex"
    title: "blue lock"
    translated_language: ["en"]
    content_rating: ["safe", "suggestive", "erotica"]
    data_saver: false
    download_all_chapters: true

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

mangapy-4.0.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

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

mangapy-4.0.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file mangapy-4.0.0.tar.gz.

File metadata

  • Download URL: mangapy-4.0.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mangapy-4.0.0.tar.gz
Algorithm Hash digest
SHA256 a19608681b68c6730be3a890d0ef03a55beabb4abdedbcde4a9ba7ec0795c53b
MD5 f0af49c78402d8074871a80244283610
BLAKE2b-256 ae1872efa32f132b8a28bda0f7d43d10ea3f0981291fe87a77fc94bb26a447cd

See more details on using hashes here.

File details

Details for the file mangapy-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: mangapy-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mangapy-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d429b699cd9e0cc0cff737054be8d70b4d1ffb836163b0db1f129b6a7f156024
MD5 34233f5baad523a8952424c78dcbcecb
BLAKE2b-256 9cc63762eaee200788595edf289ca2a3d9312db9b853e3fb7ddf9fb6a8b90eca

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