# mandown

[](http://mypy-lang.org/)
[](https://pypi.org/project/mandown)
[](https://aur.archlinux.org/packages/mandown-git)
[](https://github.com/potatoeggy/mandown/releases/latest)
[](/LICENSE)
Mandown is a comic downloader and a CBZ, EPUB, MOBI, and/or PDF converter. It also supports image post-processing to make them more readable on certain devices similarly to [Kindle Comic Converter](https://github.com/ciromattia/kcc).
## Features
- Download comics from [supported sites](#supported-sites)
- Supports downloading a range of chapters
- Supports multithreaded downloading
- Process downloaded images
- Rotate or split double-page spreads
- Trim borders
- Resize images
- Convert downloaded comics to CBZ, EPUB, MOBI, or PDF
- Convert any other CBZ, EPUB, MOBI, or PDF comic to CBZ, EPUB, MOBI, or PDF
- [A library to easily do all of this from other Python scripts](#basic-library-usage)
## Usage
Run `mandown --help` or see the [docs](/docs/) for more information and examples.
```
mandown get <URL>
```
To convert the downloaded contents to CBZ/EPUB/MOBI/PDF, append the `--convert` option. To apply image processing to the downloaded images, append the `--process` option.
```
mandown get <URL> --convert epub --process rotate_double_pages
```
To download only a certain range of chapters, append the `--start` and/or `--end` options.
> **Note:** `--start` and `--end` are _inclusive_, i.e., using `--start 2 --end 3` will download chapters 2 and 3.
To convert an existing folder or comic file without downloading anything (like a stripped-down version of <https://github.com/ciromattia/kcc>), use the `convert` command.
```
mandown convert <FORMAT> <PATH_TO_COMIC>
```
To process an existing folder without downloading anything, use the `process` command.
```
mandown process <PROCESS_OPERATIONS> <PATH_TO_FOLDER>
```
Where `PROCESS_OPERATIONS` is an option found from running `mandown process --help`.
## Installation
Install the package from PyPI:
```
pip3 install mandown
```
Install the optional large dependencies for some features of Mandown:
```
# graphical interface (GUI)
pip3 install PySide6
```
Arch Linux users may also install the package from the [AUR](https://aur.archlinux.org/packages/mandown-git):
```
git clone https://aur.archlinux.org/mandown-git.git
makepkg -si
```
Or, to build from source:
Mandown uses [poetry](https://github.com/python-poetry/poetry) for dependency management.
```
git clone https://github.com/potatoeggy/mandown.git
poetry install
poetry build
pip3 install dist/mandown*.whl
```
## Supported sites
To request a new site, please file a [new issue](https://github.com/potatoeggy/mandown/issues/new?title=Source%20request:).
- <https://bato.to>
- <https://comicfury.com>
- https://\*.thecomicseries.com
- <https://natomanga.com>
- <https://webtoons.com>
- <https://mangadex.org>
- <https://readcomiconline.li>
- <https://www.kuaikanmanhua.com>
## Basic library usage
See the [docs](/docs/) for more information and examples.
To just download the images:
```python
import mandown
mandown.download("https://comic-site.com/the-best-comic")
```
To download and convert to EPUB:
```python
import mandown
comic = mandown.query("https://comic-site.com/the-best-comic")
mandown.download(comic)
mandown.convert(comic, title=comic.metadata.title, to="epub")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/potatoeggy/mandown",
"name": "mandown",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.14,>=3.10",
"maintainer_email": null,
"keywords": "manga, comic, downloader, download, webtoons, webtoon",
"author": "potatoeggy",
"author_email": "eggyrules@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/bc/0e/051ebb1caf1f0571f838c5c92b1afd87f09ca77a26f771eabe045146c83e/mandown-1.12.2.tar.gz",
"platform": null,
"description": "# mandown\n\n\n[](http://mypy-lang.org/)\n[](https://pypi.org/project/mandown)\n[](https://aur.archlinux.org/packages/mandown-git)\n[](https://github.com/potatoeggy/mandown/releases/latest)\n[](/LICENSE)\n\nMandown is a comic downloader and a CBZ, EPUB, MOBI, and/or PDF converter. It also supports image post-processing to make them more readable on certain devices similarly to [Kindle Comic Converter](https://github.com/ciromattia/kcc).\n\n## Features\n\n- Download comics from [supported sites](#supported-sites)\n - Supports downloading a range of chapters\n - Supports multithreaded downloading\n- Process downloaded images\n - Rotate or split double-page spreads\n - Trim borders\n - Resize images\n- Convert downloaded comics to CBZ, EPUB, MOBI, or PDF\n - Convert any other CBZ, EPUB, MOBI, or PDF comic to CBZ, EPUB, MOBI, or PDF\n- [A library to easily do all of this from other Python scripts](#basic-library-usage)\n\n## Usage\n\nRun `mandown --help` or see the [docs](/docs/) for more information and examples.\n\n```\nmandown get <URL>\n```\n\nTo convert the downloaded contents to CBZ/EPUB/MOBI/PDF, append the `--convert` option. To apply image processing to the downloaded images, append the `--process` option.\n\n```\nmandown get <URL> --convert epub --process rotate_double_pages\n```\n\nTo download only a certain range of chapters, append the `--start` and/or `--end` options.\n\n> **Note:** `--start` and `--end` are _inclusive_, i.e., using `--start 2 --end 3` will download chapters 2 and 3.\n\nTo convert an existing folder or comic file without downloading anything (like a stripped-down version of <https://github.com/ciromattia/kcc>), use the `convert` command.\n\n```\nmandown convert <FORMAT> <PATH_TO_COMIC>\n```\n\nTo process an existing folder without downloading anything, use the `process` command.\n\n```\nmandown process <PROCESS_OPERATIONS> <PATH_TO_FOLDER>\n```\n\nWhere `PROCESS_OPERATIONS` is an option found from running `mandown process --help`.\n\n## Installation\n\nInstall the package from PyPI:\n\n```\npip3 install mandown\n```\n\nInstall the optional large dependencies for some features of Mandown:\n\n```\n# graphical interface (GUI)\npip3 install PySide6\n```\n\nArch Linux users may also install the package from the [AUR](https://aur.archlinux.org/packages/mandown-git):\n\n```\ngit clone https://aur.archlinux.org/mandown-git.git\nmakepkg -si\n```\n\nOr, to build from source:\n\nMandown uses [poetry](https://github.com/python-poetry/poetry) for dependency management.\n\n```\ngit clone https://github.com/potatoeggy/mandown.git\npoetry install\npoetry build\npip3 install dist/mandown*.whl\n```\n\n## Supported sites\n\nTo request a new site, please file a [new issue](https://github.com/potatoeggy/mandown/issues/new?title=Source%20request:).\n\n- <https://bato.to>\n- <https://comicfury.com>\n- https://\\*.thecomicseries.com\n- <https://natomanga.com>\n- <https://webtoons.com>\n- <https://mangadex.org>\n- <https://readcomiconline.li>\n- <https://www.kuaikanmanhua.com>\n\n## Basic library usage\n\nSee the [docs](/docs/) for more information and examples.\n\nTo just download the images:\n\n```python\nimport mandown\n\nmandown.download(\"https://comic-site.com/the-best-comic\")\n```\n\nTo download and convert to EPUB:\n\n```python\nimport mandown\n\ncomic = mandown.query(\"https://comic-site.com/the-best-comic\")\nmandown.download(comic)\nmandown.convert(comic, title=comic.metadata.title, to=\"epub\")\n```\n",
"bugtrack_url": null,
"license": "AGPL-3.0-only",
"summary": "Comic/manga/webtoon downloader and CBZ/EPUB/MOBI/PDF converter",
"version": "1.12.2",
"project_urls": {
"Documentation": "https://github.com/potatoeggy/mandown",
"Homepage": "https://github.com/potatoeggy/mandown",
"Repository": "https://github.com/potatoeggy/mandown"
},
"split_keywords": [
"manga",
" comic",
" downloader",
" download",
" webtoons",
" webtoon"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4db03faf2d8ab9c9a77de288402354553a0d5378fcb99398d4821890fd916a4f",
"md5": "d40f9165c7981c970a1c5fe8c6009ca6",
"sha256": "ceca7bc61a71f232a838faa4cde25d79337f6b8e105ef50baced403d0aaff249"
},
"downloads": -1,
"filename": "mandown-1.12.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d40f9165c7981c970a1c5fe8c6009ca6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.10",
"size": 52074,
"upload_time": "2025-07-18T21:34:42",
"upload_time_iso_8601": "2025-07-18T21:34:42.730983Z",
"url": "https://files.pythonhosted.org/packages/4d/b0/3faf2d8ab9c9a77de288402354553a0d5378fcb99398d4821890fd916a4f/mandown-1.12.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bc0e051ebb1caf1f0571f838c5c92b1afd87f09ca77a26f771eabe045146c83e",
"md5": "2cab5c21cd74f034120a6dcd9bacd9e6",
"sha256": "2fe41ae7472685128c96da9a567e5309a1ab4de1073ac0bdfd67bb33e9935782"
},
"downloads": -1,
"filename": "mandown-1.12.2.tar.gz",
"has_sig": false,
"md5_digest": "2cab5c21cd74f034120a6dcd9bacd9e6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.14,>=3.10",
"size": 41599,
"upload_time": "2025-07-18T21:34:44",
"upload_time_iso_8601": "2025-07-18T21:34:44.092198Z",
"url": "https://files.pythonhosted.org/packages/bc/0e/051ebb1caf1f0571f838c5c92b1afd87f09ca77a26f771eabe045146c83e/mandown-1.12.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-18 21:34:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "potatoeggy",
"github_project": "mandown",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "mandown"
}