Unofficial API for the Manganelo (and Mangakakalot) website.
Project description
Unofficial Manganelo API
Package to scrape the website Manganelo (and Mangakakalot)
Warning: API usages are still being worked on and may change over time
Installation
Python 3.7 +
pip install manganelo
Usages
from manganelo import (MangaInfo, SearchManga, DownloadChapter)
# Perform a search for a Manga
search = SearchManga("Naruto", threaded=False)
# Turn the generator into a list
results = list(search.results())
# Get the homepage of the first search result
info = MangaInfo(results[0].url)
# Iterate through all the chapters
for chapter in info["chapters"]:
file = f"./Naruto {chapter.chapter_num}.pdf"
# Download the chapter
dl = DownloadChapter(chapter, file)
print(f"Downloaded: {dl.ok}")
Contact Me
- nixonjoshua98-at-gmail-dot-com
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.
Source Distribution
manganelo-1.4.1.1.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for manganelo-1.4.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ffb7771a8652c17ee41a350f4ed6da10f539b3631caede1c3fe3f5ddbd2037b |
|
MD5 | 9902e9db111ba84864a91014e5f05a24 |
|
BLAKE2b-256 | d2137cc11d3d9131e8bb02dfaee1c65aea6964b61a9a540be429cbf47870a4fd |