Skip to content

Commit

Permalink
Merge pull request #102 from TDanks2000/master
Browse files Browse the repository at this point in the history
feat(animepahe): fixed by adding cors proxy
  • Loading branch information
inumakieu authored Nov 6, 2022
2 parents 29b8e02 + c73d763 commit 95d436a
Show file tree
Hide file tree
Showing 19 changed files with 2,859 additions and 2,703 deletions.
1 change: 1 addition & 0 deletions dist/providers/anime/animepahe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ declare class AnimePahe extends AnimeParser {
protected baseUrl: string;
protected logo: string;
protected classPath: string;
private readonly sgProxy;
/**
* @param query Search query
*/
Expand Down
11 changes: 6 additions & 5 deletions dist/providers/anime/animepahe.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/providers/anime/animepahe.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions dist/providers/anime/enime.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ declare class Enime extends AnimeParser {
protected logo: string;
protected classPath: string;
private readonly enimeApi;
/**
* @param query Search query
* @param page Page number (optional)
*/
rawSearch: (query: string, page?: number, perPage?: number) => Promise<any>;
/**
* @param query Search query
* @param page Page number (optional)
Expand All @@ -14,6 +19,7 @@ declare class Enime extends AnimeParser {
* @param id Anime id
*/
fetchAnimeInfo: (id: string) => Promise<IAnimeInfo>;
fetchAnimeInfoByIdRaw: (id: string) => Promise<any>;
/**
* @param id anilist id
*/
Expand Down
16 changes: 15 additions & 1 deletion dist/providers/anime/enime.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 95d436a

Please sign in to comment.