Skip to main content

Unofficial API for the Manganelo (and Mangakakalot) website.

Project description

Unofficial Manganelo API

Package to scrape the website Manganelo (and Mangakakalot)

nixonjoshua98 at gmail dot com

Installation

Python 3.7.x

pip install manganelo

Usages

Manga Search

from manganelo import SearchManga

search = SearchManga("Naruto")

search.start()

for result in search:
    print(result.title, result.url)

Manga Info

from manganelo import MangaInfo

# ...

info = MangaInfo(search[0].url)

for k, v in info.items():
    print(f"{k}: {v}")

Download Chapters

from manganelo import DownloadChapter

# ...

for chapter in info.get("chapters", []):
    file = f"./Naruto {chapter.chapter_num}.pdf"

    dl = DownloadChapter(chapter, file)

    print(f"Downloaded: {dl.ok}")

Extra API

An extra set of functionality can be found in manganelo.api_ which are currently being developed and tested

from manganelo import api_

search = api_.SearchMangaThread("Naruto")

search.start()  # Start the search thread

# do stuff here while we search in the background

search.wait()  # Wait for the search to finish if it hasn't already

for r in search:
    print(r)

Project details


Download files

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

Files for manganelo, version 1.4.0
Filename, size File type Python version Upload date Hashes
Filename, size manganelo-1.4.0-py3-none-any.whl (10.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size manganelo-1.4.0.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page