Giter Site home page Giter Site logo

pymangaj's Introduction

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

pymangaj's People

Contributors

jjeanjacques10 avatar fabiobarkoski avatar

Stargazers

 avatar Elender avatar Danilo Palumbo avatar

Watchers

James Cloos avatar  avatar

Forkers

fabiobarkoski

pymangaj's Issues

Migrate metadata from `setup.py` to `pyproject.toml`

According to setuptools, it's recommended not to use the setup.py to declare the metadata. If it's ok, I can make the migration and add the package dependencies inside the metadata file, in that way will be easier to declare the metadata and handle the package dependencies, e.g. declare the test dependencies outside of the core dependencies of the package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.