package for load manga! :)
Project description
getManga
Tool for load manga from different websites
I just wanted to read the manga...
import main class:
from getManga import Manga
async def main():
site = 'mangalib.me' # Website's domen
title = 'shingeki-no-kyojin' #unique name
link = 'https://mangalib.me/shingeki-no-kyojin'
# Inislization:
manga = await Manga.get(site,title).parse()
manga2 = await Manga(link).parse()
# Methods:
manga.info #some information about manga
manga.img_list #return links for pages(take many time for work)
manga.chapter_list #return list of (volume_number, chapter_number, chapter_name)
manga.chapter_dict #return dict {volume_numbers: {chapter_numbers: chapter_name}}
chapter = manga.get_chapter(int) #return chapter №int
volume = manga.get_volume(int) #return volume №int
await chapter.img_list #return links for pages from volume
await volume.img_list #return links for pages from volume
#Start parsing
if __name__ == "__main__":
loop = get_event_loop()
loop.run_until_complete(main())
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
getmanga-0.1.6.tar.gz
(6.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file getmanga-0.1.6.tar.gz.
File metadata
- Download URL: getmanga-0.1.6.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e841b2260f80b7606c2eede9c57c17cf6a4d6174a408df6f73d45edd9214b675
|
|
| MD5 |
01e068e750bd68d62e5a273eff0fb577
|
|
| BLAKE2b-256 |
1b0d1e37a85c8b82f97645bc9fae2879c317ebf875454732d589631bcbdd54a6
|
File details
Details for the file getmanga-0.1.6-py3-none-any.whl.
File metadata
- Download URL: getmanga-0.1.6-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
542d8a3a2d054544a465869282076141f4a89d1bdf82aa875b77bf61e1672b79
|
|
| MD5 |
9547f8a1d139965f497f905c53be2714
|
|
| BLAKE2b-256 |
e20c210436429594fb28e8d4736810fe11459279ec90b8e7e043bb2319e4a4c9
|