Fanfox

class modules.fetchers.fanfox.Fanfox(link: str = None, manga: str = None, chapstart=1)

This is the fetcher in charge of https://fanfox.net/

__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) – manga name with all the non alpha numeric characters with “_”, ex: fullmetal_alchemist
  • 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:
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