Skip to main content

Unofficial API for the Manganelo/Manganato website.

Project description

Downloads Downloads Downloads

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

Email: joshuanixonofficial@gmail.com

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.18.3.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

manganelo-1.18.3-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

Supported by

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