Metadata-Version: 2.1
Name: mandown
Version: 0.1.2
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.8,<4.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
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">
    <img src="https://img.shields.io/pypi/v/mandown" />
    <img src="https://img.shields.io/github/v/release/potatoeggy/mandown?display_name=tag" />
    <img src="https://img.shields.io/github/issues/potatoeggy/mandown" />
    <img src="https://img.shields.io/github/forks/potatoeggy/mandown" />
    <img src="https://img.shields.io/github/stars/potatoeggy/mandown" />
    <img src="https://img.shields.io/github/license/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:

```
pip install mandown
```

Or, to build from source:

```
git clone https://github.com/potatoeggy/mandown.git
poetry install
poetry build
```

## Usage

```
mandown URL DESTINATION_FOLDER
```

Run `python cli.py --help` for more info.

## Library usage

```python
from mandown import mandown

md.download(url_to_manga, destination_folder, start_chapter=None, end_chapter=None, maxthreads=4)

manga = md.query(url_to_manga)
print(manga.metadata, manga.chapters)
```

