Pyscandl
latest

Table of content:

  • Installation
  • Usage
  • Pyscandl
  • Fetchers
    • What is a fetcher ?
    • Can I make my own fetchers too ?
    • The 2 types of Fetchers
    • Already implemented fetchers and fetcher listing
      • Fetcher enumeration
      • Fanfox
      • FRScan
      • Mangadex
      • Naver
        • Naver webtoon collection
        • Naver bestChallenge collection
        • Naver challenge collection
      • NHentai
      • Webtoons
  • Autodl
  • Exceptions
Pyscandl
  • »
  • Fetchers »
  • Naver
  • Edit on GitHub

Naver¶

Warning

This fetcher was made following an issue request for it, i personally don’t speak korean at all so i id it all while using the source-code and google translate to get website specific info. As a result, the fetcher might not be free of bugs and it will be hard for me to debug ths kind of issue as i’m not a korean reader. If you ever encounter some while using it, please report them so i can address the issue as soon as possible.

Naver comics is a popular korean website to consult and read webtoons. It devides the entries in 3 categories depending on the quality, Webtoon being the highest, followed by bestChallenge and finally Challenge. The more detailed explanation about the 3 different tiers can be found here: https://kubera.fandom.com/wiki/Naver

You normally should know this already if you use this site but just in case you can see in which category the webtoon belongs with the url of the webtoon, it is the second part of the url juste after https://comic.naver.com/ with either webtoon, bestChallenge or challenge.

To download the webtoon, just use the fetcher corresponding to the right category.

Note

The manga id is what follows titleId= and the chapter number what follows no=.

Naver webtoon collection¶

class pyscandl.modules.fetchers.NaverWebtoon(link: str = None, manga: str = None, chapstart=1)¶
__init__(link: str = None, manga: str = None, chapstart=1)¶

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(chap)¶

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)¶

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
  • DownedSite – the website can’t answer for the moment

Naver bestChallenge collection¶

class pyscandl.modules.fetchers.NaverBestChallenge(link: str = None, manga: str = None, chapstart=1)¶
__init__(link: str = None, manga: str = None, chapstart=1)¶

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(chap)¶

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)¶

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
  • DownedSite – the website can’t answer for the moment

Naver challenge collection¶

class pyscandl.modules.fetchers.NaverChallenge(link: str = None, manga: str = None, chapstart=1)¶
__init__(link: str = None, manga: str = None, chapstart=1)¶

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(chap)¶

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)¶

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
  • DownedSite – the website can’t answer for the moment
Next Previous

© Copyright 2020, Thomas MONTERO | Ara0n. Revision 78fb10fe.

Built with Sphinx using a theme provided by Read the Docs.