Skip to content

Latest commit

 

History

History
124 lines (95 loc) · 2.34 KB

README.md

File metadata and controls

124 lines (95 loc) · 2.34 KB

MyManhwa

MyManhwa scrapes popular scanlation and aggregator sites to get manhwa and chapter information.

🔨   Installation

Install python:

https://www.python.org/downloads/

Download source file and add to your project folder

https://github.com/Aeonss/MyManhwa/blob/master/MyManhwa.py

Download the requirements:

pip install -r requirements.txt

🚀   Usage

Get manhwa information

from MyManhwa import Manhwa
manhwa = Manhwa("https://www.asurascans.com/manga/8239705535-revenge-of-the-iron-blooded-sword-hound/")

# Get manhwa information

# Manhwa title
title = manhwa.title

# Manhwa description
description = manhwa.description

# Manhwa cover thumbnail
image = manhwa.image

# Manhwa rating by users
rating = manhwa.rating

# Manhwa status (ongoing, completed, dropped)
status = manhwa.status

# Manhwa type (manga, manhwa, manhua)
type = manhwa.type

# Manhwa tags (action, fantasy, etc); Result is a list of tags
tags = manhwa.tags

# Manhwa chapters links (list of chapter links)
chapters = manhwa.chapters

Get manhwa chapter information

from MyManhwa import ManhwaChapter
chapter = ManhwaChapter("https://www.asurascans.com/0906168628-revenge-of-the-iron-blooded-sword-hound-chapter-2/")

# Get chapter information

# Get the chapter image urls (list of image urls)
pages = chapter.pages

# Get the manhwa name
name = chapter.name

# Get the main manhwa url
manhwa = chapter.manhwa

# Get the next chapter url
next = chapter.next

# Get the previous chapter url
prev = chapter.prev

🌐   Supported Sites

Site URL Theme
AsuraScans https://www.asuratoon.com/ MangaStream
FlameScans https://flamecomics.com/ MangaReader
ReaperScans https://reaperscans.com/
Void-Scans https://void-scans.com/ MangaStream
Toonily https://toonily.com/

📘   License

MyManhwa is released under the MIT license.