Metadata-Version: 2.1
Name: mandown
Version: 0.3.0
Summary: Command line application and library to download manga from various sources
Home-page: https://github.com/potatoeggy/mandown
License: AGPL-3.0-only
Keywords: manga,downloader,download
Author: Daniel Chen
Author-email: danielchen04@hotmail.ca
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: beautifulsoup4 (>=4.10.0,<5.0.0)
Requires-Dist: feedparser (>=6.0.8,<7.0.0)
Requires-Dist: requests (>=2.27.0,<3.0.0)
Requires-Dist: typer (>=0.4.0,<0.5.0)
Project-URL: Documentation, https://github.com/potatoeggy/mandown
Project-URL: Repository, https://github.com/potatoeggy/mandown
Description-Content-Type: text/markdown

# mandown

<p align="center">
    <a href="https://pypi.org/project/mandown"><img src="https://img.shields.io/pypi/v/mandown" /></a>
    <a href="https://github.com/potatoeggy/mandown/releases/latest"><img src="https://img.shields.io/github/v/release/potatoeggy/mandown?display_name=tag" /></a>
    <a href="https://github.com/potatoeggy/mandown/issues"><img src="https://img.shields.io/github/issues/potatoeggy/mandown" /></a>
    <a href="/LICENSE"><img src="https://img.shields.io/github/license/potatoeggy/mandown" /></a>
    <img src="https://img.shields.io/github/forks/potatoeggy/mandown" /></a>
    <img src="https://img.shields.io/github/stars/potatoeggy/mandown" />
</p>

Python library and command line application to download books from various sources including manga

Currently only supports MangaSee.

## Installation

Install the package from PyPI:

```
pip3 install mandown
```

Or, to build from source:

```
git clone https://github.com/potatoeggy/mandown.git
poetry install
poetry build
pip3 install dist/mandown*.whl
```

## Usage

```
mandown <URL>
```

Run `mandown --help` for more info.

## Library usage

```python
import os
from mandown import mandown

manga = mandown.query(url_to_manga)
print(manga.metadata, manga.chapters)
for c in manga.chapters:
    mandown.download_chapter(c, dest_folder=os.getcwd(), maxthreads=4)
```

