Options
All
  • Public
  • Public/Protected
  • All
Menu

External module nd.novel.api

Index

Functions

Const CheckIsNovel

  • CheckIsNovel($: CheerioStatic): boolean

Const CreateChapterListApi

Const FetchApi

Const GetChapterDateApi

  • GetChapterDateApi($: CheerioStatic): Moment

Const GetChapterDateListApiV2

  • GetChapterDateListApiV2($: CheerioStatic): Cheerio

Const GetChapterFile

  • GetChapterFile(chapter: string): string

Const GetChapterNameApi

  • GetChapterNameApi($: CheerioStatic): string

Const GetChapterNumber

  • GetChapterNumber(link: string): string

Const GetLink

  • GetLink(id: string): undefined | URL

Const GetLinkWithChapter

  • GetLinkWithChapter(id: string, chapter: string | undefined): undefined | URL

Const GetNID

  • GetNID(str: string): string

Const GetNovelContent

Const GetNovelDateApi

  • GetNovelDateApi($: CheerioStatic): Moment

Const GetNovelNameApi

  • GetNovelNameApi($: CheerioStatic): string

Const IsID

  • IsID(str: string): boolean

Const NormalizeNovelName

  • NormalizeNovelName(name: string): string

Const PassLink

  • PassLink(str: string): URL

download

  • download(url: URL): RequestPromise

Const getDateElement

  • getDateElement(element: Cheerio): string

Const getFirstContentV2

  • getFirstContentV2($: CheerioStatic): undefined | HtmlNode

Const getNovelContentV1

  • getNovelContentV1($: CheerioStatic): HtmlNode[]

Const getNovelContentV2

  • getNovelContentV2($: CheerioStatic): HtmlNode[]

Const getShortContentV1

  • getShortContentV1($: CheerioStatic): undefined | HtmlNode

Const getShortContentV2

  • getShortContentV2($: CheerioStatic): undefined | HtmlNode

Const getTitleElement

  • getTitleElement(element: Cheerio): string

Const isClosedElement

  • isClosedElement(cheerio: Cheerio): boolean

Const isSoldElement

  • isSoldElement(cheerio: Cheerio): boolean

Generated using TypeDoc