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.

Source Distribution

manganelo-1.4.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manganelo-1.4.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file manganelo-1.4.0.tar.gz.

File metadata

  • Download URL: manganelo-1.4.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for manganelo-1.4.0.tar.gz
Algorithm Hash digest
SHA256 fc190cb3350de53be082c2935a38d42102ec862809747da68177c2be3aac16f6
MD5 379bb69e33d3e30c97dded7d43cc33c8
BLAKE2b-256 9700a210a02b74a74fa9b02503d93a347ed017a5ce7afcdbd729131d68e885e6

See more details on using hashes here.

File details

Details for the file manganelo-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: manganelo-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for manganelo-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8faf09aa679411eb21bc91125065e5f64180c553d1826808b583a68431e57589
MD5 e62ae8b16533119bab2dfeb6c9774c68
BLAKE2b-256 6be5ec0792206c5a565a595e3049ed4ec014398e70c2cf1fee4baff3cf9cad07

See more details on using hashes here.

Supported by

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