Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
/ getManga Public archive

Tool for load manga from different websites

License

Notifications You must be signed in to change notification settings

Tynukua/getManga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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())

About

Tool for load manga from different websites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages