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

Uploaded Source

Built Distribution

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

mangapy-3.0.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mangapy-3.0.2.tar.gz
  • Upload date:
  • Size: 23.1 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-3.0.2.tar.gz
Algorithm Hash digest
SHA256 ae4e6c709a5d3bc32eb3ae1b5705581db4ec72a056622e5fcd2a97c308371dd4
MD5 522e109fdd1197c41d4baff6ff86effb
BLAKE2b-256 2572933910ba33240aa7f9df4bce52123bf81c479fda5fcf85d50e13994297c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mangapy-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.0 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-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7aa1cc7854658ff41f15f72cf6649ae1e38866aaa0284eca8109005c550452f3
MD5 38690249ec18ddaf753711030ce822f1
BLAKE2b-256 ec8d19747bda7bb8f2f2a4e82501bff2cee9d3ab6a03680dc464b3cecf29f70d

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