Unofficial API for the Manganelo/Manganato website.
Project description
Unofficial Manganelo API
Package to scrape the Manganelo website. Want to contribute? Pull requests are encouraged!
Installation
Python 3.7+
pip install manganelo
Change Log
1.6.0
- results method is now a cached property
Examples
Standard Usage
search = SearchManga("Raid", threaded=False)
results = search.results
best_result = results[0]
manga_info = MangaInfo(best_result.url, threaded=False)
manga_page = manga_info.results
for chapter in manga_page.chapters:
file = f"./Raid {chapter.num}.pdf"
dl = DownloadChapter(chapter.url, file)
results = dl.results
if results.saved_ok:
print(results.path, results.percent_saved)
Rewrite Version (will eventually become standard)
import manganelo.rewrite as manganelo
results = manganelo.search(title="Naruto")
page = manganelo.manga_page(url="http://manganelo.com/manga/black_clover")
path = page.download_icon(path="./Icon.png")
print(path)
chapters = results[0].chapter_list()
path = chapters[0].download(path=f"./Chapter.pdf")
print(path)
Contact Me
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.18.3.tar.gz
(11.2 kB
view hashes)
Built Distribution
manganelo-1.18.3-py3-none-any.whl
(15.0 kB
view hashes)
Close
Hashes for manganelo-1.18.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794df9f3f6473d681226fc45b2d60cae8eb23ac6c6ce489ab3f7d51d45afc031 |
|
MD5 | d2bd9dfcfc23c6129c0622a44dd48cab |
|
BLAKE2b-256 | 6fbe0e8280eca3cf33c61e9d2c88e1a80d78c700b2a9bbf33ff597172a3ec1df |