Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymangaj-0.2.0.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distribution

pymangaj-0.2.0-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page