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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
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 |
Close
Hashes for manganelo-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8faf09aa679411eb21bc91125065e5f64180c553d1826808b583a68431e57589 |
|
MD5 | e62ae8b16533119bab2dfeb6c9774c68 |
|
BLAKE2-256 | 6be5ec0792206c5a565a595e3049ed4ec014398e70c2cf1fee4baff3cf9cad07 |