Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

PATH_NOVEL_MAIN

PATH_NOVEL_MAIN: string

Optional optionsInit

optionsInit: IOptions

Static IDKEY

IDKEY: string = null

Accessors

IDKEY

  • get IDKEY(): string

Methods

Protected _checkExists

Protected _createChapterUrl

  • _createChapterUrl<T>(__namedParameters: object, optionsRuntime?: T & IOptionsRuntime): URL

Protected _fetchChapter

  • _fetchChapter<T>(url: URL, optionsRuntime: T & IOptionsRuntime): Bluebird<object>

Protected _fixOptionsRuntime

Protected _get_meta

  • _get_meta(inputUrl: any, optionsRuntime: any, cache?: object): void
  • Parameters

    • inputUrl: any
    • optionsRuntime: any
    • Optional cache: object
      • Optional dom?: IJSDOM

    Returns void

Protected _parseChapter

Protected _processNovel

  • _processNovel<T>(novel: INovel, optionsRuntime: IOptionsRuntime, _cache_: object, ...argv: any[]): Promise<T>

Protected _saveReadme

  • _saveReadme(optionsRuntime: IOptionsRuntime, options?: object, ...opts: any[]): Promise<object>

checkSessionData

  • todo

    讓此方法有意義

    用來說明目前站點的所需 session cookies

    Type parameters

    • T

    Parameters

    Returns T

createMainUrl

  • createMainUrl(url: string): URL
  • createMainUrl(url: URL): URL

download

Protected emit

  • emit(event: EventEmitter, eventName: string, ...argv: any[]): (true | false | internal)[]

getOutputDir

  • getOutputDir<T>(options?: T & IOptions, novelName?: string): [string, T & IOptions]

getStatic

  • getStatic<T>(): T

get_volume_list

makeUrl

  • makeUrl(urlobj: IParseUrl, options?: any): URL

parseUrl

  • parseUrl(url: URL | string, options?: any): IParseUrl

processNovel

  • processNovel<T>(novel: INovel, optionsRuntime: IOptionsRuntime, _cache_: object, ...argv: any[]): Bluebird<object>

session

trimFilename

  • trimFilename(name: any): string

trimFilenameChapter

  • trimFilenameChapter(name: any): string

trimFilenameNovel

  • trimFilenameNovel(name: any): string

trimFilenameVolume

  • trimFilenameVolume(name: any): string

Static check

  • check(url: string | URL | IParseUrl, options?: any): boolean

Static create

Generated using TypeDoc