NHentai

class pyscandl.modules.fetchers.NHentai(link: str = None, manga: int = None)

This is the fetcher in charge of https://nhentai.net/ The fetcher is of standalone type, it considers every manga as a unique non chaptered scan.

__init__(link: str = None, manga: int = None)

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: 177013
  • chapstart – number of the chapter that the download is supposed to start, it’s not used here but needs to be in the definition to respect the fetcher api
Raises:

MangaNotFound – the scan asked for can’t be found

next_image()

Goes to the next image in the scan being fetched.

is_last_image()

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