Skip to main content

Unofficial Manganelo API

Package to scrape the Manganelo website. Pull requests are encouraged!
Warning: API usages are still being worked on and may change over time

Installation

Python 3.7 +

pip install manganelo

Examples

Manga searching
from manganelo import SearchManga

"""
Threaded
    Request is made on a seperate thread and is joined when results() is called, 
    this means that you can do things while the request is being sent.

Not threaded (Single-threaded):
    Request is made on the same thread meaning execution will halt while it is sent
"""
search = SearchManga("Mythical Realm", threaded=True)

# .results() returns a generator - We create a list from the generator here
results = list(search.results())

# results = [MangaSearchResult(title=?, url=?), MangaSearchResult(title=?, url=?)]
Indiviual Manga Homepage
...

from manganelo import MangaInfo

best_result = results[0]

manga_info = MangaInfo(best_result.url, threaded=True)

manga_page = manga_info.results()
Indiviual Manga Homepage Data (manga_page)

Search Query: Mythical Realm

Attribute Value (Shortened)
url https://manganelo.com/manga/the_mythical_realm
title The Mythical Realm
authors ['Wu Zui', 'Liao Jia Le']
status Ongoing
genres ['Action', 'Adventure', 'Comedy', 'Fantasy', 'Manhua', 'Martial arts', 'Shounen']
alternative_titles ['仙侠世界 (Chinese)', 'Xian Xia Shi Jie', 'Thế Giới Tiên Hiệp (Vietnamese - Tiếng Việt - TV)']
chapters [MangaChapter(url='https://manganelo.com/chapter/the_mythical_realm/chapter_0', title='Chapter 0 : Prologue', chapter_num=0)...]
last_updated 2020-04-28 23:13:00
views 38488304
icon https://avt.mkklcdnv6.com/43/w/1-1583465436.jpg
description From OSTNT: The Mythical Realm: A world of blood, a world where the strong triumph ov...
Chapter Download
...

from manganelo import DownloadChapter

for chapter in manga_page.chapters:
    file = f"./Naruto {chapter.chapter_num}.pdf"

    dl = DownloadChapter(chapter.url, file)

    print(f"Downloaded: {dl.ok}")
Complete Usage
from manganelo import (MangaInfo, SearchManga, DownloadChapter)

search = SearchManga("Naruto", threaded=False)

results = list(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"./Naruto {chapter.chapter_num}.pdf"

    dl = DownloadChapter(chapter.url, file)

    print(f"Downloaded: {dl.ok}")

Warnings

  • DownloadChapter object will undergo a rework which may change the overall usage
  • Attributes may be renamed. For example .chapter_num to .num
  • Custom exceptions have not been added
  • Manganelo may change their website URL or HTML at any time, I will try to keep up-to-date but may not be able to respond to changes instantly
  • Pull requests are welcomed!

Contact Me

I am happy to respond to emails at joshuanixonofficial@gmail.com

Release files for manganelo 1.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for manganelo 1.4.3
File Size Uploaded
manganelo-1.4.3.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for manganelo 1.4.3
File Interpreter ABI Platform
manganelo-1.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / manganelo-1.4.3.tar.gz

Download URL manganelo-1.4.3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d071fddb381e348e66624199a19e7ab57aadb370f71f4e6bdfb58809e9dd168c
BLAKE2b-256 checksum
How to use checksums
4e9345594c5ea8b10263ac8dbc3cf9c5323721b533d4bf4dcb6ca66210371b10
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / manganelo-1.4.3-py3-none-any.whl

Download URL manganelo-1.4.3-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e7fb1ab27815e40828d3184cefcbcc8ea56b64e5b04cbe85f9b99114225d061
BLAKE2b-256 checksum
How to use checksums
e2393dc0f7c86368d4e03dab67165d1f282c6abdf07dbc9b4f746887869717ea
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

1.23

2 release files

1.22.2

2 release files

1.22.1

2 release files

1.22.0

2 release files

1.21.0

2 release files

1.20.4

2 release files

1.18.3

2 release files

1.18.2

2 release files

1.18

2 release files

1.17

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.5

2 release files

1.4.4

2 release files

This release

1.4.3 This release

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.2

2 release files

1.1.1

2 release files

1.1

2 release files

1.0

2 release files

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page