A simple manga extractor. Extracts any comic info, chapter list and chapter pages. In development.
Project description
MEXT - Manga/Manhua/Manhwa Extractor
A simple manga extractor. Extracts any comic info, chapter list and chapter pages. This is an app that strictly provides API.
Still in development.
Installations
Not yet on pypi but will soon be, and then it will be like below
pip install mext
Usage
This package uses multiple provider codes to extract manga/manhua/manhwa data from online sites.
The providers and it's usage is listed below.
It's easy to use from python code.
-
Step 1: Import
Mext
like thisfrom mext import Mext
-
Step 2: Get the URL of manga or chapter and pass it to
Mext
manga_url = 'xxx1' chapter_url = 'xxx2' # To get manga me = Mext(['manga'], manga_url) # To get one particular chapter me = Mext(['chapter'], chapter_url) # Pass manga url to get chapter list belonging to manga me = Mext(['chapters'], manga_url) # Pass manga url when you need both manga and chapter me = Mext(['manga', 'chapters'], manga_url)
Providers
- Mangadex
- ...others coming soon
Mangadex
Get Manga using Manga URL
from mext import Mext
manga_url = 'https://mangadex.org/title/d1c0d3f9-f359-467c-8474-0b2ea8e06f3d/bocchi-sensei-teach-me-mangadex'
me = Mext(['manga'], manga_url)
data = me.get() #You'll get back a instance of Manga
print(vars(data['manga']))
Get Chapter using Chapter URL
from mext import Mext
chapter_url = 'https://mangadex.org/chapter/e183d3f4-fde0-4288-a1ed-8547490f84b3'
me = Mext(['chapter'], chapter_url)
data = me.get() #You'll get back a instance of Chapter
print(vars(data['chapter']))
Get Chapter List belonging to a manga using Manga URL
from mext import Mext
manga_url = 'https://mangadex.org/title/f7972eed-0040-4aac-b8de-fc99c522c25a/anti-kissmanga-anthology'
me = Mext(['chapters'], manga_url)
data = me.get() #You'll get back a list of instances of Chapter
print(data)
Credits
Mangadex API - MangaDex.py
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
Built Distribution
File details
Details for the file mext-0.0.3.tar.gz
.
File metadata
- Download URL: mext-0.0.3.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b514f40fee7fcc4af2c6ac15dbb03c6480f5c9423fe78cb0b960e71923c86e1 |
|
MD5 | f4ac9b83fd9a46492e08e02485545380 |
|
BLAKE2b-256 | 374e99f7c53bfebb92423e3df2d06c2e096f7acd9372aca332f1fcbe6b36e630 |
File details
Details for the file mext-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: mext-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e21da8a1282b2f1b041e665c677833e792dd52a3d7f740886c14f2d45cf9e08 |
|
MD5 | 564dc3b132e25503b7f076caa1c319fe |
|
BLAKE2b-256 | 79eb32471b148f852e60c479bd18214b25157f8cceff73324fbb927920defe11 |