Const config
config: { animeRegex: RegExp; baseUrl: string; episodeRegex: RegExp; episodesUrl: (start: string, end: string, id: string) => string; searchUrl: (search: string) => string; defaultHeaders: any } = ...
Type declaration
-
animeRegex: RegExp
-
baseUrl: string
-
episodeRegex: RegExp
-
episodesUrl: (start: string, end: string, id: string) => string
-
- (start: string, end: string, id: string): string
-
Parameters
-
start: string
-
end: string
-
id: string
Returns string
-
searchUrl: (search: string) => string
-
-
Parameters
Returns string
-
defaultHeaders: function
- defaultHeaders(): { Referer: string; User-Agent: string }
-
Returns { Referer: string; User-Agent: string }
-
Referer: string
-
User-Agent: string