Search and download mangas.
Project description
PyMangaJ
Pymangaj is a Python library for searching and retrieving manga pages from different sources. It provides a simple interface to fetch manga pages from popular manga websites.
Installation
You can install pymangaj using pip:
pip install pymangaj
Getting Started
Search Pages
To use pymangaj, import the pymangaj module and call the search() method. Pass the manga name, chapter, and the sources you want to search from as arguments. The method will return a list of manga pages.
from pymangaj import pymangaj, Sources
pymangaj.search("Naruto", 1, sources=[Sources.CHAPMANGANATO, Sources.LER_MANGA])
['https://v2.mkklcdnv6tempv2.com/img/tab_2/00/13/32/ng952689/vol_72_chapter_699_the_seal_of_reconciliation/1-o.jpg', 'https://v2.mkklcdnv6tempv2.com/img/tab_2/00/13/32/ng952689/vol_72_chapter_699_the_seal_of_reconciliation/2-o.jpg'...]
Search Titles
Import the pymangaj module and call the search_titles()` method. Pass the manga name you want to search. The method will return a list of manga titles.
from pymangaj import pymangaj, Sources
pymangaj.search_titles("Naruto", source=Sources.LER_MANGA)
[{'title': 'Naruto: Konoha Shinden – Yukemuri Ninpouchou', 'url': 'https://lermanga.org/mangas/naruto-konoha-shinden-yukemuri-ninpouchou/'}, {'title': 'Naruto Gaiden: Uzu no Naka no Tsumujikaze', 'url': 'https://lermanga.org/mangas/naruto-gaiden-uzu-no-naka-no-tsumujikaze/'}]
Sources
pymangaj supports the following manga sources:
| Source | Language | Status | Source |
|---|---|---|---|
| MangaLivre | PT-BR | ❌ | MANGA_LIVRE |
| MuitoManga | PT-BR | ❌ | MUITO_MANGA |
| Manganato | EN-US | ✅ | CHAPMANGANATO |
| LerManga | PT-BR | ✅ | LER_MANGA |
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contribution
Contributions to pymangaj are welcome! If you have any bug reports, feature requests, or suggestions, please open an issue on the GitHub repository.
Authors
Contributors
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymangaj-0.2.0.tar.gz.
File metadata
- Download URL: pymangaj-0.2.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f972747f15e3a1cac34386700e43ce78c253669569fd3624f45968e757c86b9
|
|
| MD5 |
62fff214d192f17fc2d163189ed6706e
|
|
| BLAKE2b-256 |
8376a3aa6ceaead5babbed3511636323dc67f5b23838496b58cc4870632639b9
|
File details
Details for the file pymangaj-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pymangaj-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29033ee842bd748b03c7392383dbccb8e683d3235112432ef03cfd7d62e99798
|
|
| MD5 |
2280e25348f4cb0b595b063171881daf
|
|
| BLAKE2b-256 |
4725079ca4a236c88d1fe10a7fcd4bb4cf4befc60498d47135234d0e738499f4
|