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.
You can install pymangaj using pip:
pip install pymangaj
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'...]
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/'}]
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 |
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions to pymangaj are welcome! If you have any bug reports, feature requests, or suggestions, please open an issue on the GitHub repository.