Skip to main content

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


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.7.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

getmanga-0.1.7-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file getmanga-0.1.7.tar.gz.

File metadata

  • Download URL: getmanga-0.1.7.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

Hashes for getmanga-0.1.7.tar.gz
Algorithm Hash digest
SHA256 1b9a64a08ce1b919e67c8f12ee90621023e02f6c03cf2a11d9dbf0c54933697a
MD5 8555f5e7bd3bcbf414ae6632ec30c6e8
BLAKE2b-256 33cddeff86ed45acca18a1b5908dd8a879ecf57af70fe04f29112837a7556346

See more details on using hashes here.

File details

Details for the file getmanga-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: getmanga-0.1.7-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

Hashes for getmanga-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 32500989d8ef99db07b5ef6e2ec7fde0acd9b4b23f35ef652792f8566c503416
MD5 1f114fa01c33783fe5e4774f652f2c93
BLAKE2b-256 edf0c806f88705e999e05b863e17869612a680c3425eb2feae8b75a15e07b7f0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page