Const config
config: { animePageUrl: (slug: string) => string; animeRegex: RegExp; baseUrl: string; cdnUrl: string; decryptKey: string; episodeRegex: RegExp; episodesApiUrl: (slug: string) => string; getSlugFromUrl: (url: string) => undefined | string; searchUrl: string; sourcesApiUrl: (slug: string) => string; defaultHeaders: any } = ...
Type declaration
-
animePageUrl: (slug: string) => string
-
-
Parameters
Returns string
-
animeRegex: RegExp
-
baseUrl: string
-
cdnUrl: string
-
decryptKey: string
-
episodeRegex: RegExp
-
episodesApiUrl: (slug: string) => string
-
-
Parameters
Returns string
-
getSlugFromUrl: (url: string) => undefined | string
-
- (url: string): undefined | string
-
Parameters
Returns undefined | string
-
searchUrl: string
-
sourcesApiUrl: (slug: string) => string
-
-
Parameters
Returns string
-
defaultHeaders: function
- defaultHeaders(): { Referer: string; User-Agent: string; x-access-token: string }
-
Returns { Referer: string; User-Agent: string; x-access-token: string }
-
Referer: string
-
User-Agent: string
-
x-access-token: string