Skip to main content

package for load manga! :)

Project description


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 = '' # Website's domen
    title = 'shingeki-no-kyojin' #unique name
    link = ''
    # Inislization:
    manga = await Manga.get(site,title).parse()
    manga2 = await Manga(link).parse()

    # Methods: 				#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()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for getmanga, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size getmanga-0.1.7-py3-none-any.whl (8.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size getmanga-0.1.7.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page