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.
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.
Still in development.
This has been tested only on Windows 11 64-bit.
Requirements
- Node.js
Installations
pip install mext
Proxy
To use proxy IP's
export HTTP_PROXY='http://10.10.10.10:8000'
export HTTPS_PROXY='http://10.10.10.10:1212'
Steps:
-
Import
Mextlike thisfrom mext import Mext
-
Get the URL of manga or chapter and pass it to
Mextsite_url = 'xxx0' manga_url = 'xxx1' chapter_url = 'xxx2' # Initialize me = Mext() # To get manga manga = me.get_manga(manga_url) # To get manga list manga_list = me.get_manga_list(site_url) # To get one particular chapter chapter = me.get_chapter(chapter_url) # Pass manga url to get chapter list belonging to manga chapter_list = me.get_manga_chapters(manga_url)
Providers
- MangaDex
- AsuraScans
- MangaUpdates (In development)
- ReaperScans (In development)
- ManhuaPlus (In development)
...others coming soon
Usage
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'
manga = me.get_manga(manga_url) # You'll get back a instance of Mext with Manga data
print(manga.to_dict())
Get Chapter using Chapter URL
from mext import Mext
chapter_url = 'https://mangadex.org/chapter/e183d3f4-fde0-4288-a1ed-8547490f84b3'
chapter = me.get_chapter(chapter_url) # You'll get back a instance of Mext with Chapter data
print(chapter.to_dict())
Get Chapters 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'
chapter_list = me.get_manga_chapters(manga_url) # You'll get back a list of instances of Mext with a list of Chapter data
chapter_list = me.chapter_list
print(chapter_list.to_dict())
Credits
Made using
- Mangadex API Documentation Mangadex API
- Manga-py manga-py
- Mangadex API - MangaDex.py
Contributions
Ready for any genuine support and valid pull requests.
Metadata
Release files for mext 2.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mext-2.0.10.tar.gz | 21.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mext-2.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.1 kB
Release files / mext-2.0.10.tar.gz
| Download URL | mext-2.0.10.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcb73427b4b38b4a2335fcd88976027a56249c70a700e5fc49df9066922e0e7a
|
|
BLAKE2b-256 checksum How to use checksums |
325f611458d33f5ad9d127f2ebd1d2bcbc84492ac48f12b69d86a3d33ece6e05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / mext-2.0.10-py3-none-any.whl
| Download URL | mext-2.0.10-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f1b7141d310f9b1aa0b1ffd7d282f0eeeacde072a0021246aa61ac1e364ca35
|
|
BLAKE2b-256 checksum How to use checksums |
ed48c3ad6abc96f87170b2062036e12f71bd4e65caec7e3b827f9a024dc8dce6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for mext 2.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.