Mangadex

class modules.fetchers.mangadex.Mangadex(link: str = None, manga: str = None, chapstart=1)

This is the fetcher in charge of https://mangadex.org/

__init__(link: str = None, manga: str = None, chapstart=1)

Initializes the instance of the nhentai fetcher, it needs either manga or link to work.

Parameters:
  • link (str) – link of the scan wanted
  • manga (str) – numbered id corresponding to the manga on the website, ex: 286
  • chapstart (int/float/str) – number of the chapter that the download is supposed to start
Raises:

MangaNotFound – the scan asked for can’t be found

go_to_chapter(chap_num)

Make the fetcher go to the asked chapter.

Parameters:chap_num (int/str/float) – chapter number that was asked for
Raises:MangaNotFound – the asked chapter doesn’t exist
is_last_chapter()

Checks if the current chapter is the last available one

Return type:bool
is_last_image()

Checks if it’s the last image in the current chapter. :rtype: bool

next_chapter()

Goes to the next chapter

next_image()

Goes to the next image in the scan being fetched.

quit()

Method used to close everything that was used after finishing to use the fetcher