Download manga from mangabat with Python
Project description
mangabat-dl
Download manga from mangabat with python
Minimum Python version
3.5.x
Installation
Python Packages Index (PyPI)
pip install mangabat-dl
Compiled for Windows 7, 8, and 10 (Using pyinstaller, CLI Only)
NOTE: According pyinstaller
it should support Windows 7,
but its recommended to use it on Windows 8+
From the source
Clone the repository
git clone https://github.com/mansuf/mangabat-dl.git
cd mangabat-dl
And then run setup.py
python setup.py install
Usage
Command Line Interface (CLI)
Options
MANGABAT_URL A valid mangabat url
--quiet, -q No output
--start-chapter Begin download from given chapter number
--end-chapter Finish download from given chapter number
--replace, -r Replace manga if exist
--folder, -f Store manga in given folder
--download-mode Set download mode, available options is "default" and "tachiyomi"
Example Usage
mangabat-dl "give mangabat url here"
Embedding
Use mangabat-dl
in your python script
Usage
import mangabat_dl
# Search 1 manga
result = mangabat_dl.search('hunter')
print(result)
# Output: <MangaResult title="..." authors="['...']">
manga = result.fetch()
print(manga.title)
# Output: ...
# Search all manga
results = mangabat_dl.search_all('hunter')
# Output: [<MangaResult title="..." authors="['...']">, ...]
# Search manga but return Iterator class
for manga in mangabat_dl.search_iter('hunter'):
print(manga)
# Fetch manga from mangabat url
manga = mangabat_dl.fetch('give mangabat url here')
...
# Download manga from mangabat url
manga = mangabat_dl.download_manga('give mangabat url here')
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mangabat-dl-0.0.11.tar.gz
(12.3 kB
view details)
Built Distribution
File details
Details for the file mangabat-dl-0.0.11.tar.gz
.
File metadata
- Download URL: mangabat-dl-0.0.11.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a6c1aea38f19f12ea56de713b80ee03792aef3eb654cea24a5cc229ba325aa8 |
|
MD5 | 687f5eace84a6f0d40dffbef593048dd |
|
BLAKE2b-256 | 90056bda28d620867476269e7cb88426eae6de1552395e7c17eeae7267a68e96 |
File details
Details for the file mangabat_dl-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: mangabat_dl-0.0.11-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18621ee7d4d52c46460ad3f19fb6b51b4f54d4fa49b2efada2d7a1812e8e616c |
|
MD5 | ff8ed7c98fa13c1ec9df0581d58f8650 |
|
BLAKE2b-256 | fcd952ab29bb9884586cd89467e60ce5371c8c65cbda6085b39fb1e5bef654a2 |