Skip to content

Commit

Permalink
refactor 9anime
Browse files Browse the repository at this point in the history
  • Loading branch information
riimuru committed Feb 23, 2023
1 parent dd9f337 commit aa011fd
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 22 deletions.
1 change: 1 addition & 0 deletions dist/models/base-parser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ declare abstract class BaseParser extends BaseProvider {
*/
setProxy(proxy: ProxyConfig): void;
private rotateProxy;
private toMap;
protected client: AxiosInstance;
/**
* Search for books/anime/manga/etc using the given query
Expand Down
4 changes: 2 additions & 2 deletions dist/models/base-parser.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/models/base-parser.js.map

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

2 changes: 0 additions & 2 deletions dist/providers/anime/9anime.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/9anime.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/utils/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GogoCDN, StreamSB, VidCloud, MixDrop, Kwik, RapidCloud, StreamTape, VizCloud, Filemoon, BilibiliExtractor, AsianLoad } from '../extractors';
import { USER_AGENT, splitAuthor, floorID, formatTitle, genElement, capitalizeFirstLetter, range, getDays, days, isJson, convertDuration, substringAfter, substringBefore, compareTwoStrings, toMap } from './utils';
import { USER_AGENT, splitAuthor, floorID, formatTitle, genElement, capitalizeFirstLetter, range, getDays, days, isJson, convertDuration, substringAfter, substringBefore, compareTwoStrings } from './utils';
import { anilistSearchQuery, anilistMediaDetailQuery, kitsuSearchQuery, anilistTrendingQuery, anilistPopularQuery, anilistAiringScheduleQuery, anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery, anilistCharacterQuery } from './queries';
import { parsePostInfo } from './getComics';
export { USER_AGENT, GogoCDN, StreamSB, splitAuthor, floorID, formatTitle, parsePostInfo, genElement, capitalizeFirstLetter, VidCloud, MixDrop, Kwik, anilistSearchQuery, anilistMediaDetailQuery, kitsuSearchQuery, range, RapidCloud, StreamTape, VizCloud, anilistTrendingQuery, anilistPopularQuery, anilistAiringScheduleQuery, anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery, Filemoon, anilistCharacterQuery, getDays, days, isJson, convertDuration, BilibiliExtractor, AsianLoad, substringAfter, substringBefore, compareTwoStrings, toMap, };
export { USER_AGENT, GogoCDN, StreamSB, splitAuthor, floorID, formatTitle, parsePostInfo, genElement, capitalizeFirstLetter, VidCloud, MixDrop, Kwik, anilistSearchQuery, anilistMediaDetailQuery, kitsuSearchQuery, range, RapidCloud, StreamTape, VizCloud, anilistTrendingQuery, anilistPopularQuery, anilistAiringScheduleQuery, anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery, Filemoon, anilistCharacterQuery, getDays, days, isJson, convertDuration, BilibiliExtractor, AsianLoad, substringAfter, substringBefore, compareTwoStrings, };
3 changes: 1 addition & 2 deletions dist/utils/index.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/utils/index.js.map

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

1 change: 0 additions & 1 deletion dist/utils/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ export declare function convertDuration(milliseconds: number): string;
export declare const compareTwoStrings: (first: string, second: string) => number;
export declare const substringAfter: (str: string, toFind: string) => string;
export declare const substringBefore: (str: string, toFind: string) => string;
export declare const toMap: <T>(arr: T[]) => [number, T][];
4 changes: 1 addition & 3 deletions dist/utils/utils.js

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

Loading

0 comments on commit aa011fd

Please sign in to comment.