Const config
config: { baseUrl: string; chapterRegex: RegExp; chaptersLimit: number; chaptersUrl: (id: number, page: number) => string; mangaRegex: RegExp; pagesUrl: (hid: string) => string; parseHid: (url: string) => undefined | string; searchUrl: (search: string) => string; defaultHeaders: any } = ...
Type declaration
-
baseUrl: string
-
chapterRegex: RegExp
-
chaptersLimit: number
-
chaptersUrl: (id: number, page: number) => string
-
- (id: number, page: number): string
-
Parameters
Returns string
-
mangaRegex: RegExp
-
pagesUrl: (hid: string) => string
-
-
Parameters
Returns string
-
parseHid: (url: string) => undefined | string
-
- (url: string): undefined | string
-
Parameters
Returns undefined | string
-
searchUrl: (search: string) => string
-
-
Parameters
Returns string
-
defaultHeaders: function
- defaultHeaders(): { Cookie: string; Referer: string; User-Agent: string }
-
Returns { Cookie: string; Referer: string; User-Agent: string }
-
Cookie: string
-
Referer: string
-
User-Agent: string