Webtoons¶
English version¶
Use the WEBTOONS
fetcher for the english scans with the enum or the cli
-
class
pyscandl.modules.fetchers.
WebtoonsEN
(link: str = None, manga: str = None, chapstart=1, lang='')¶ -
__init__
(link: str = None, manga: str = None, chapstart=1, lang='')¶ Initialization of the fetcher. for your fetcher to be able to work you’ll need at either link or manga to be specified.
Parameters: - link (str) – link to the main page of the wanted scan
- manga (str) – unique id corresponding to the manga on the website that can be used instead of the link to access the manga
- chapstart – number of the first chapter of the download
-
go_to_chapter
(chapter_no)¶ Go to the specified chapter.
Parameters: chap – number of the specified chapter 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.
Return type: bool
-
next_chapter
()¶ Go to the next chapter in order.
-
next_image
()¶ Go to the next image in the current chapter.
-
quit
()¶ Closes everything used by the fetcher safely.
-
classmethod
scan
(link: str = None, manga: str = None, lang: str = '')¶ It is a class method to avoid initializing a fetcher with a chapter for othing, which would take time and resources for nothing. As a result you onnly get either the manga link or the manga id to do the method.
Gives a list of all the chapters available for that current manga. The number given must correspond to the number you give to specify the chapters you want to the fetcher. To facilitate the usage please return a list of int and floats for the .x chapters.
Parameters: - link (str) – link of the manga
- manga (str) – unique id of the manga
Return type: list[int/float]
Raises: MangaNotFound – the asked manga doesn’t exist
-
French version¶
Use the WEBTOONS_FR
fetcher for the french scans with the enum or the cli
-
class
pyscandl.modules.fetchers.
WebtoonsFR
(link: str = None, manga: str = None, chapstart=1, lang='')¶ -
__init__
(link: str = None, manga: str = None, chapstart=1, lang='')¶ Initialization of the fetcher. for your fetcher to be able to work you’ll need at either link or manga to be specified.
Parameters: - link (str) – link to the main page of the wanted scan
- manga (str) – unique id corresponding to the manga on the website that can be used instead of the link to access the manga
- chapstart – number of the first chapter of the download
-
go_to_chapter
(chapter_no)¶ Go to the specified chapter.
Parameters: chap – number of the specified chapter 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.
Return type: bool
-
next_chapter
()¶ Go to the next chapter in order.
-
next_image
()¶ Go to the next image in the current chapter.
-
quit
()¶ Closes everything used by the fetcher safely.
-
classmethod
scan
(link: str = None, manga: str = None, lang: str = '')¶ It is a class method to avoid initializing a fetcher with a chapter for othing, which would take time and resources for nothing. As a result you onnly get either the manga link or the manga id to do the method.
Gives a list of all the chapters available for that current manga. The number given must correspond to the number you give to specify the chapters you want to the fetcher. To facilitate the usage please return a list of int and floats for the .x chapters.
Parameters: - link (str) – link of the manga
- manga (str) – unique id of the manga
Return type: list[int/float]
Raises: MangaNotFound – the asked manga doesn’t exist
-