react-native-consumet 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/extractors/StreamP2P.js +2 -2
- package/lib/commonjs/extractors/StreamP2P.js.map +1 -1
- package/lib/commonjs/extractors/filemoon.js +2 -2
- package/lib/commonjs/extractors/filemoon.js.map +1 -1
- package/lib/commonjs/extractors/gogocdn.js +2 -2
- package/lib/commonjs/extractors/gogocdn.js.map +1 -1
- package/lib/commonjs/extractors/index.js +2 -2
- package/lib/commonjs/extractors/index.js.map +1 -1
- package/lib/commonjs/extractors/megaup.js +2 -1
- package/lib/commonjs/extractors/megaup.js.map +1 -1
- package/lib/commonjs/extractors/rapidcloud.js +4 -4
- package/lib/commonjs/extractors/rapidcloud.js.map +1 -1
- package/lib/commonjs/extractors/streamsb.js +3 -3
- package/lib/commonjs/extractors/streamsb.js.map +1 -1
- package/lib/commonjs/extractors/streamwish.js +2 -2
- package/lib/commonjs/extractors/streamwish.js.map +1 -1
- package/lib/commonjs/models/anime-parser.js +3 -2
- package/lib/commonjs/models/anime-parser.js.map +1 -1
- package/lib/commonjs/models/base-parser.js +3 -2
- package/lib/commonjs/models/base-parser.js.map +1 -1
- package/lib/commonjs/models/lightnovel-parser.js +3 -2
- package/lib/commonjs/models/lightnovel-parser.js.map +1 -1
- package/lib/commonjs/models/manga-parser.js +3 -2
- package/lib/commonjs/models/manga-parser.js.map +1 -1
- package/lib/commonjs/models/movie-parser.js +3 -2
- package/lib/commonjs/models/movie-parser.js.map +1 -1
- package/lib/commonjs/providers/anime/animekai.js +1 -1
- package/lib/commonjs/utils/ProviderManager.js +11 -2
- package/lib/commonjs/utils/ProviderManager.js.map +1 -1
- package/lib/commonjs/utils/constants.js +15 -0
- package/lib/commonjs/utils/constants.js.map +1 -0
- package/lib/commonjs/utils/index.js +0 -87
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/commonjs/utils/provider-maps.js +17 -49
- package/lib/commonjs/utils/provider-maps.js.map +1 -1
- package/lib/commonjs/utils/utils.js +25 -7
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/module/extractors/StreamP2P.js +1 -1
- package/lib/module/extractors/StreamP2P.js.map +1 -1
- package/lib/module/extractors/filemoon.js +1 -1
- package/lib/module/extractors/filemoon.js.map +1 -1
- package/lib/module/extractors/gogocdn.js +1 -1
- package/lib/module/extractors/gogocdn.js.map +1 -1
- package/lib/module/extractors/index.js +1 -1
- package/lib/module/extractors/index.js.map +1 -1
- package/lib/module/extractors/megaup.js +1 -0
- package/lib/module/extractors/megaup.js.map +1 -1
- package/lib/module/extractors/rapidcloud.js +1 -1
- package/lib/module/extractors/rapidcloud.js.map +1 -1
- package/lib/module/extractors/streamsb.js +1 -1
- package/lib/module/extractors/streamsb.js.map +1 -1
- package/lib/module/extractors/streamwish.js +1 -1
- package/lib/module/extractors/streamwish.js.map +1 -1
- package/lib/module/models/anime-parser.js +1 -1
- package/lib/module/models/anime-parser.js.map +1 -1
- package/lib/module/models/base-parser.js +1 -1
- package/lib/module/models/base-parser.js.map +1 -1
- package/lib/module/models/lightnovel-parser.js +1 -1
- package/lib/module/models/lightnovel-parser.js.map +1 -1
- package/lib/module/models/manga-parser.js +1 -1
- package/lib/module/models/manga-parser.js.map +1 -1
- package/lib/module/models/movie-parser.js +1 -1
- package/lib/module/models/movie-parser.js.map +1 -1
- package/lib/module/providers/anime/animekai.js +1 -1
- package/lib/module/providers/anime/animekai.js.map +1 -1
- package/lib/module/utils/ProviderManager.js +11 -2
- package/lib/module/utils/ProviderManager.js.map +1 -1
- package/lib/module/utils/constants.js +11 -0
- package/lib/module/utils/constants.js.map +1 -0
- package/lib/module/utils/index.js +4 -3
- package/lib/module/utils/index.js.map +1 -1
- package/lib/module/utils/provider-maps.js +17 -49
- package/lib/module/utils/provider-maps.js.map +1 -1
- package/lib/module/utils/utils.js +3 -3
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/typescript/commonjs/src/extractors/filemoon.d.ts +1 -1
- package/lib/typescript/commonjs/src/extractors/filemoon.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/index.d.ts +1 -1
- package/lib/typescript/commonjs/src/extractors/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/megaup.d.ts +1 -0
- package/lib/typescript/commonjs/src/extractors/megaup.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/anime-parser.d.ts +2 -1
- package/lib/typescript/commonjs/src/models/anime-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/base-parser.d.ts +1 -1
- package/lib/typescript/commonjs/src/models/base-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/lightnovel-parser.d.ts +1 -1
- package/lib/typescript/commonjs/src/models/lightnovel-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/manga-parser.d.ts +2 -1
- package/lib/typescript/commonjs/src/models/manga-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/movie-parser.d.ts +3 -1
- package/lib/typescript/commonjs/src/models/movie-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/ProviderManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/constants.d.ts +8 -0
- package/lib/typescript/commonjs/src/utils/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/index.d.ts +1 -3
- package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/provider-maps.d.ts +7 -5
- package/lib/typescript/commonjs/src/utils/provider-maps.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/utils.d.ts +1 -4
- package/lib/typescript/commonjs/src/utils/utils.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/filemoon.d.ts +1 -1
- package/lib/typescript/module/src/extractors/filemoon.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/index.d.ts +1 -1
- package/lib/typescript/module/src/extractors/index.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/megaup.d.ts +1 -0
- package/lib/typescript/module/src/extractors/megaup.d.ts.map +1 -1
- package/lib/typescript/module/src/models/anime-parser.d.ts +2 -1
- package/lib/typescript/module/src/models/anime-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/models/base-parser.d.ts +1 -1
- package/lib/typescript/module/src/models/base-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/models/lightnovel-parser.d.ts +1 -1
- package/lib/typescript/module/src/models/lightnovel-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/models/manga-parser.d.ts +2 -1
- package/lib/typescript/module/src/models/manga-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/models/movie-parser.d.ts +3 -1
- package/lib/typescript/module/src/models/movie-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/ProviderManager.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/constants.d.ts +8 -0
- package/lib/typescript/module/src/utils/constants.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/index.d.ts +1 -3
- package/lib/typescript/module/src/utils/index.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/provider-maps.d.ts +7 -5
- package/lib/typescript/module/src/utils/provider-maps.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/utils.d.ts +1 -4
- package/lib/typescript/module/src/utils/utils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/extractors/StreamP2P.ts +1 -1
- package/src/extractors/filemoon.ts +2 -3
- package/src/extractors/gogocdn.ts +1 -1
- package/src/extractors/index.ts +1 -1
- package/src/extractors/megaup.ts +1 -0
- package/src/extractors/rapidcloud.ts +1 -1
- package/src/extractors/streamsb.ts +1 -1
- package/src/extractors/streamwish.ts +1 -1
- package/src/models/anime-parser.ts +2 -1
- package/src/models/base-parser.ts +1 -1
- package/src/models/lightnovel-parser.ts +1 -1
- package/src/models/manga-parser.ts +2 -1
- package/src/models/movie-parser.ts +3 -1
- package/src/providers/anime/animekai.ts +1 -1
- package/src/utils/ProviderManager.ts +11 -2
- package/src/utils/constants.ts +11 -0
- package/src/utils/index.ts +10 -38
- package/src/utils/provider-maps.ts +17 -34
- package/src/utils/utils.ts +3 -4
- package/lib/commonjs/utils/providers-list.js +0 -21
- package/lib/commonjs/utils/providers-list.js.map +0 -1
- package/lib/module/utils/providers-list.js +0 -18
- package/lib/module/utils/providers-list.js.map +0 -1
- package/lib/typescript/commonjs/src/utils/providers-list.d.ts +0 -14
- package/lib/typescript/commonjs/src/utils/providers-list.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/providers-list.d.ts +0 -14
- package/lib/typescript/module/src/utils/providers-list.d.ts.map +0 -1
- package/src/utils/providers-list.ts +0 -27
|
@@ -249,11 +249,20 @@ export class ProviderManager {
|
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
const instance = factory(this.providerContext);
|
|
252
|
-
|
|
252
|
+
let providerInstance = instance;
|
|
253
253
|
// Validate the instance has required methods
|
|
254
254
|
this.validateProviderInstance(instance, metadata.category);
|
|
255
|
+
// Attempt to attach the prototype from local provider classes so instanceof works in app code
|
|
256
|
+
try {
|
|
257
|
+
// Prefer metadata.name (e.g., 'Zoro') to match local constructor map keys
|
|
258
|
+
const lookupKey = (metadata as any).name;
|
|
259
|
+
providerInstance = this.attachProviderPrototype(instance, lookupKey, metadata.category);
|
|
260
|
+
} catch (protoErr) {
|
|
261
|
+
// Non-fatal – if we can't attach prototype, just proceed with the plain instance
|
|
262
|
+
console.warn(`⚠️ Could not attach prototype for '${metadata.name}':`, protoErr);
|
|
263
|
+
}
|
|
255
264
|
|
|
256
|
-
return
|
|
265
|
+
return providerInstance;
|
|
257
266
|
} catch (error) {
|
|
258
267
|
throw new Error(`Failed to execute provider code: ${error instanceof Error ? error.message : String(error)}`);
|
|
259
268
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure constants with no dependencies
|
|
3
|
+
* This file exists to break circular dependencies
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const USER_AGENT =
|
|
7
|
+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36';
|
|
8
|
+
|
|
9
|
+
export const days = ['Saturday', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'];
|
|
10
|
+
|
|
11
|
+
export const ANIFY_URL = 'https://anify.eltik.cc';
|
package/src/utils/index.ts
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
GogoCDN,
|
|
3
|
-
StreamSB,
|
|
4
|
-
MixDrop,
|
|
5
|
-
Kwik,
|
|
6
|
-
RapidCloud,
|
|
7
|
-
MegaCloud,
|
|
8
|
-
StreamTape,
|
|
9
|
-
VizCloud,
|
|
10
|
-
Filemoon,
|
|
11
|
-
AsianLoad,
|
|
12
|
-
StreamHub,
|
|
13
|
-
VidMoly,
|
|
14
|
-
MegaUp,
|
|
15
|
-
} from '../extractors';
|
|
1
|
+
// Re-export helper utilities (no extractors to avoid circular deps)
|
|
16
2
|
import {
|
|
17
3
|
USER_AGENT,
|
|
18
4
|
splitAuthor,
|
|
@@ -42,28 +28,26 @@ import {
|
|
|
42
28
|
anilistCharacterQuery,
|
|
43
29
|
anilistStaffInfoQuery,
|
|
44
30
|
} from './queries';
|
|
45
|
-
import getKKey from '../extractors/kisskh/kkey';
|
|
46
31
|
|
|
32
|
+
// Export helper utilities
|
|
47
33
|
export {
|
|
48
34
|
USER_AGENT,
|
|
49
|
-
GogoCDN,
|
|
50
|
-
StreamSB,
|
|
51
|
-
StreamHub,
|
|
52
35
|
splitAuthor,
|
|
53
36
|
floorID,
|
|
54
37
|
formatTitle,
|
|
55
38
|
genElement,
|
|
56
39
|
capitalizeFirstLetter,
|
|
57
|
-
|
|
58
|
-
|
|
40
|
+
range,
|
|
41
|
+
getDays,
|
|
42
|
+
days,
|
|
43
|
+
isJson,
|
|
44
|
+
convertDuration,
|
|
45
|
+
substringAfter,
|
|
46
|
+
substringBefore,
|
|
47
|
+
calculateStringSimilarity,
|
|
59
48
|
anilistSearchQuery,
|
|
60
49
|
anilistMediaDetailQuery,
|
|
61
50
|
kitsuSearchQuery,
|
|
62
|
-
range,
|
|
63
|
-
RapidCloud,
|
|
64
|
-
MegaCloud,
|
|
65
|
-
StreamTape,
|
|
66
|
-
VizCloud,
|
|
67
51
|
anilistTrendingQuery,
|
|
68
52
|
anilistPopularQuery,
|
|
69
53
|
anilistAiringScheduleQuery,
|
|
@@ -71,19 +55,7 @@ export {
|
|
|
71
55
|
anilistAdvancedQuery,
|
|
72
56
|
anilistSiteStatisticsQuery,
|
|
73
57
|
anilistStaffInfoQuery,
|
|
74
|
-
Filemoon,
|
|
75
58
|
anilistCharacterQuery,
|
|
76
|
-
getDays,
|
|
77
|
-
days,
|
|
78
|
-
isJson,
|
|
79
|
-
convertDuration,
|
|
80
|
-
AsianLoad,
|
|
81
|
-
substringAfter,
|
|
82
|
-
substringBefore,
|
|
83
|
-
calculateStringSimilarity,
|
|
84
|
-
VidMoly,
|
|
85
|
-
getKKey,
|
|
86
|
-
MegaUp,
|
|
87
59
|
};
|
|
88
60
|
|
|
89
61
|
// Export provider context utilities
|
|
@@ -1,62 +1,45 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* This file maps provider keys to their classes for ProviderManager.
|
|
3
|
+
*
|
|
4
|
+
* We use lazy getters to break circular dependencies:
|
|
5
|
+
* - Meta providers (like Anilist) import anime providers (like AnimeKai)
|
|
6
|
+
* - AnimeKai imports extractors directly from extractors/
|
|
7
|
+
* - Utils no longer re-exports extractors (breaking one part of the circle)
|
|
8
|
+
* - Lazy loading breaks the other part at runtime
|
|
7
9
|
*/
|
|
8
10
|
|
|
9
|
-
// Use lazy getters to
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const getProviders = () => {
|
|
13
|
-
if (_PROVIDERS === null) {
|
|
14
|
-
// Import providers only when needed to break circular dependency
|
|
15
|
-
const providers = require('../providers');
|
|
16
|
-
_PROVIDERS = providers;
|
|
17
|
-
}
|
|
18
|
-
return _PROVIDERS;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
// Create lazy getters for provider objects
|
|
11
|
+
// Use lazy getters to avoid circular dependency issues
|
|
12
|
+
// Providers are loaded only when accessed, after all modules are initialized
|
|
22
13
|
export const animeProviders = {
|
|
23
14
|
get Zoro() {
|
|
24
|
-
|
|
25
|
-
return ANIME.Zoro;
|
|
15
|
+
return require('../providers/anime/zoro/zoro').default;
|
|
26
16
|
},
|
|
27
17
|
get AnimePahe() {
|
|
28
|
-
|
|
29
|
-
return ANIME.AnimePahe;
|
|
18
|
+
return require('../providers/anime/animepahe/animepahe').default;
|
|
30
19
|
},
|
|
31
20
|
};
|
|
32
21
|
|
|
33
22
|
export const movieProviders = {
|
|
34
23
|
get HiMovies() {
|
|
35
|
-
|
|
36
|
-
return MOVIES.HiMovies;
|
|
24
|
+
return require('../providers/movies/himovies/himovies').default;
|
|
37
25
|
},
|
|
38
26
|
get MultiMovies() {
|
|
39
|
-
|
|
40
|
-
return MOVIES.MultiMovies;
|
|
27
|
+
return require('../providers/movies/multimovies').default;
|
|
41
28
|
},
|
|
42
29
|
get MultiStream() {
|
|
43
|
-
|
|
44
|
-
return MOVIES.MultiStream;
|
|
30
|
+
return require('../providers/movies/multistream').default;
|
|
45
31
|
},
|
|
46
32
|
};
|
|
47
33
|
|
|
48
34
|
const metaProviders = {
|
|
49
35
|
get Anilist() {
|
|
50
|
-
|
|
51
|
-
return META.Anilist;
|
|
36
|
+
return require('../providers/meta/anilist').default;
|
|
52
37
|
},
|
|
53
38
|
get TMDB() {
|
|
54
|
-
|
|
55
|
-
return META.TMDB;
|
|
39
|
+
return require('../providers/meta/tmdb').default;
|
|
56
40
|
},
|
|
57
41
|
get MAL() {
|
|
58
|
-
|
|
59
|
-
return META.Myanimelist;
|
|
42
|
+
return require('../providers/meta/mal').default;
|
|
60
43
|
},
|
|
61
44
|
};
|
|
62
45
|
|
package/src/utils/utils.ts
CHANGED
|
@@ -3,10 +3,9 @@ import { compareTwoStrings } from 'string-similarity';
|
|
|
3
3
|
import { load } from 'cheerio';
|
|
4
4
|
// import * as blurhash from 'blurhash';
|
|
5
5
|
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export const ANIFY_URL = 'https://anify.eltik.cc';
|
|
6
|
+
// Re-export constants from constants.ts to maintain backward compatibility
|
|
7
|
+
export { USER_AGENT, days, ANIFY_URL } from './constants';
|
|
8
|
+
import { days } from './constants';
|
|
10
9
|
|
|
11
10
|
export const splitAuthor = (authors: string) => {
|
|
12
11
|
const res: string[] = [];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.PROVIDERS_LIST = void 0;
|
|
7
|
-
var _index = require("../providers/index.js");
|
|
8
|
-
/**
|
|
9
|
-
* List of providers
|
|
10
|
-
*
|
|
11
|
-
* add new providers here (order does not matter)
|
|
12
|
-
*/
|
|
13
|
-
const PROVIDERS_LIST = exports.PROVIDERS_LIST = {
|
|
14
|
-
ANIME: [new _index.ANIME.AnimePahe(), new _index.ANIME.Anify(), new _index.ANIME.Zoro(), new _index.ANIME.Marin(), new _index.ANIME.AnimeKai()],
|
|
15
|
-
MANGA: [new _index.MANGA.MangaDex(), new _index.MANGA.MangaHere(), new _index.MANGA.MangaKakalot(), new _index.MANGA.Mangapark(), new _index.MANGA.MangaPill(), new _index.MANGA.MangaReader(), new _index.MANGA.Mangasee123(), new _index.MANGA.ComicK(), new _index.MANGA.FlameScans(), new _index.MANGA.MangaHost(), new _index.MANGA.BRMangas()],
|
|
16
|
-
LIGHT_NOVELS: [new _index.LIGHT_NOVELS.ReadLightNovels()],
|
|
17
|
-
MOVIES: [new _index.MOVIES.DramaCool(), new _index.MOVIES.MultiMovies(), new _index.MOVIES.NetflixMirror(), new _index.MOVIES.HiMovies()],
|
|
18
|
-
META: [new _index.META.Anilist(), new _index.META.TMDB(), new _index.META.Myanimelist()],
|
|
19
|
-
OTHERS: []
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=providers-list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","PROVIDERS_LIST","exports","ANIME","AnimePahe","Anify","Zoro","Marin","AnimeKai","MANGA","MangaDex","MangaHere","MangaKakalot","Mangapark","MangaPill","MangaReader","Mangasee123","ComicK","FlameScans","MangaHost","BRMangas","LIGHT_NOVELS","ReadLightNovels","MOVIES","DramaCool","MultiMovies","NetflixMirror","HiMovies","META","Anilist","TMDB","Myanimelist","OTHERS"],"sourceRoot":"..\\..\\..\\src","sources":["utils/providers-list.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACA;AACO,MAAMC,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG;EAC5BE,KAAK,EAAE,CAAC,IAAIA,YAAK,CAACC,SAAS,CAAC,CAAC,EAAE,IAAID,YAAK,CAACE,KAAK,CAAC,CAAC,EAAE,IAAIF,YAAK,CAACG,IAAI,CAAC,CAAC,EAAE,IAAIH,YAAK,CAACI,KAAK,CAAC,CAAC,EAAE,IAAIJ,YAAK,CAACK,QAAQ,CAAC,CAAC,CAAC;EAC5GC,KAAK,EAAE,CACL,IAAIA,YAAK,CAACC,QAAQ,CAAC,CAAC,EACpB,IAAID,YAAK,CAACE,SAAS,CAAC,CAAC,EACrB,IAAIF,YAAK,CAACG,YAAY,CAAC,CAAC,EACxB,IAAIH,YAAK,CAACI,SAAS,CAAC,CAAC,EACrB,IAAIJ,YAAK,CAACK,SAAS,CAAC,CAAC,EACrB,IAAIL,YAAK,CAACM,WAAW,CAAC,CAAC,EACvB,IAAIN,YAAK,CAACO,WAAW,CAAC,CAAC,EACvB,IAAIP,YAAK,CAACQ,MAAM,CAAC,CAAC,EAClB,IAAIR,YAAK,CAACS,UAAU,CAAC,CAAC,EACtB,IAAIT,YAAK,CAACU,SAAS,CAAC,CAAC,EACrB,IAAIV,YAAK,CAACW,QAAQ,CAAC,CAAC,CACrB;EACDC,YAAY,EAAE,CAAC,IAAIA,mBAAY,CAACC,eAAe,CAAC,CAAC,CAAC;EAClDC,MAAM,EAAE,CAAC,IAAIA,aAAM,CAACC,SAAS,CAAC,CAAC,EAAE,IAAID,aAAM,CAACE,WAAW,CAAC,CAAC,EAAE,IAAIF,aAAM,CAACG,aAAa,CAAC,CAAC,EAAE,IAAIH,aAAM,CAACI,QAAQ,CAAC,CAAC,CAAC;EAC7GC,IAAI,EAAE,CAAC,IAAIA,WAAI,CAACC,OAAO,CAAC,CAAC,EAAE,IAAID,WAAI,CAACE,IAAI,CAAC,CAAC,EAAE,IAAIF,WAAI,CAACG,WAAW,CAAC,CAAC,CAAC;EACnEC,MAAM,EAAE;AACV,CAAC","ignoreList":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { ANIME, MANGA, LIGHT_NOVELS, MOVIES, META } from "../providers/index.js";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* List of providers
|
|
7
|
-
*
|
|
8
|
-
* add new providers here (order does not matter)
|
|
9
|
-
*/
|
|
10
|
-
export const PROVIDERS_LIST = {
|
|
11
|
-
ANIME: [new ANIME.AnimePahe(), new ANIME.Anify(), new ANIME.Zoro(), new ANIME.Marin(), new ANIME.AnimeKai()],
|
|
12
|
-
MANGA: [new MANGA.MangaDex(), new MANGA.MangaHere(), new MANGA.MangaKakalot(), new MANGA.Mangapark(), new MANGA.MangaPill(), new MANGA.MangaReader(), new MANGA.Mangasee123(), new MANGA.ComicK(), new MANGA.FlameScans(), new MANGA.MangaHost(), new MANGA.BRMangas()],
|
|
13
|
-
LIGHT_NOVELS: [new LIGHT_NOVELS.ReadLightNovels()],
|
|
14
|
-
MOVIES: [new MOVIES.DramaCool(), new MOVIES.MultiMovies(), new MOVIES.NetflixMirror(), new MOVIES.HiMovies()],
|
|
15
|
-
META: [new META.Anilist(), new META.TMDB(), new META.Myanimelist()],
|
|
16
|
-
OTHERS: []
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=providers-list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ANIME","MANGA","LIGHT_NOVELS","MOVIES","META","PROVIDERS_LIST","AnimePahe","Anify","Zoro","Marin","AnimeKai","MangaDex","MangaHere","MangaKakalot","Mangapark","MangaPill","MangaReader","Mangasee123","ComicK","FlameScans","MangaHost","BRMangas","ReadLightNovels","DramaCool","MultiMovies","NetflixMirror","HiMovies","Anilist","TMDB","Myanimelist","OTHERS"],"sourceRoot":"..\\..\\..\\src","sources":["utils/providers-list.ts"],"mappings":";;AAAA,SAASA,KAAK,EAAEC,KAAK,EAAEC,YAAY,EAAEC,MAAM,EAAEC,IAAI,QAAQ,uBAAc;;AAEvE;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAG;EAC5BL,KAAK,EAAE,CAAC,IAAIA,KAAK,CAACM,SAAS,CAAC,CAAC,EAAE,IAAIN,KAAK,CAACO,KAAK,CAAC,CAAC,EAAE,IAAIP,KAAK,CAACQ,IAAI,CAAC,CAAC,EAAE,IAAIR,KAAK,CAACS,KAAK,CAAC,CAAC,EAAE,IAAIT,KAAK,CAACU,QAAQ,CAAC,CAAC,CAAC;EAC5GT,KAAK,EAAE,CACL,IAAIA,KAAK,CAACU,QAAQ,CAAC,CAAC,EACpB,IAAIV,KAAK,CAACW,SAAS,CAAC,CAAC,EACrB,IAAIX,KAAK,CAACY,YAAY,CAAC,CAAC,EACxB,IAAIZ,KAAK,CAACa,SAAS,CAAC,CAAC,EACrB,IAAIb,KAAK,CAACc,SAAS,CAAC,CAAC,EACrB,IAAId,KAAK,CAACe,WAAW,CAAC,CAAC,EACvB,IAAIf,KAAK,CAACgB,WAAW,CAAC,CAAC,EACvB,IAAIhB,KAAK,CAACiB,MAAM,CAAC,CAAC,EAClB,IAAIjB,KAAK,CAACkB,UAAU,CAAC,CAAC,EACtB,IAAIlB,KAAK,CAACmB,SAAS,CAAC,CAAC,EACrB,IAAInB,KAAK,CAACoB,QAAQ,CAAC,CAAC,CACrB;EACDnB,YAAY,EAAE,CAAC,IAAIA,YAAY,CAACoB,eAAe,CAAC,CAAC,CAAC;EAClDnB,MAAM,EAAE,CAAC,IAAIA,MAAM,CAACoB,SAAS,CAAC,CAAC,EAAE,IAAIpB,MAAM,CAACqB,WAAW,CAAC,CAAC,EAAE,IAAIrB,MAAM,CAACsB,aAAa,CAAC,CAAC,EAAE,IAAItB,MAAM,CAACuB,QAAQ,CAAC,CAAC,CAAC;EAC7GtB,IAAI,EAAE,CAAC,IAAIA,IAAI,CAACuB,OAAO,CAAC,CAAC,EAAE,IAAIvB,IAAI,CAACwB,IAAI,CAAC,CAAC,EAAE,IAAIxB,IAAI,CAACyB,WAAW,CAAC,CAAC,CAAC;EACnEC,MAAM,EAAE;AACV,CAAC","ignoreList":[]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List of providers
|
|
3
|
-
*
|
|
4
|
-
* add new providers here (order does not matter)
|
|
5
|
-
*/
|
|
6
|
-
export declare const PROVIDERS_LIST: {
|
|
7
|
-
ANIME: (import("../providers/anime/animepahe/animepahe").AnimePahe | import("../providers/anime/zoro/zoro").Zoro | import("../providers/anime/anify").default | import("../providers/anime/marin").default | import("../providers/anime/animekai").default)[];
|
|
8
|
-
MANGA: (import("../providers/manga/mangadex").default | import("../providers/manga/comick").default | import("../providers/manga/mangahere").default | import("../providers/manga/mangakakalot").default | import("../providers/manga/mangasee123").default | import("../providers/manga/mangapark").default | import("../providers/manga/mangapill").default | import("../providers/manga/mangareader").default | import("../providers/manga/flamescans").default | import("../providers/manga/mangahost").default | import("../providers/manga/brmangas").default)[];
|
|
9
|
-
LIGHT_NOVELS: import("../providers/light-novels/readlightnovels").default[];
|
|
10
|
-
MOVIES: (import("../providers/movies/dramacool").default | import("../providers/movies/multimovies").default | import("../providers/movies/netflixmirror").default | import("../providers/movies/himovies/himovies").default)[];
|
|
11
|
-
META: (import("../providers/meta/anilist").default | import("../providers/meta/mal").default | import("../providers/meta/tmdb").default)[];
|
|
12
|
-
OTHERS: never[];
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=providers-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"providers-list.d.ts","sourceRoot":"","sources":["../../../../../src/utils/providers-list.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;CAmB1B,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List of providers
|
|
3
|
-
*
|
|
4
|
-
* add new providers here (order does not matter)
|
|
5
|
-
*/
|
|
6
|
-
export declare const PROVIDERS_LIST: {
|
|
7
|
-
ANIME: (import("../providers/anime/animepahe/animepahe").AnimePahe | import("../providers/anime/zoro/zoro").Zoro | import("../providers/anime/anify").default | import("../providers/anime/marin").default | import("../providers/anime/animekai").default)[];
|
|
8
|
-
MANGA: (import("../providers/manga/mangadex").default | import("../providers/manga/comick").default | import("../providers/manga/mangahere").default | import("../providers/manga/mangakakalot").default | import("../providers/manga/mangasee123").default | import("../providers/manga/mangapark").default | import("../providers/manga/mangapill").default | import("../providers/manga/mangareader").default | import("../providers/manga/flamescans").default | import("../providers/manga/mangahost").default | import("../providers/manga/brmangas").default)[];
|
|
9
|
-
LIGHT_NOVELS: import("../providers/light-novels/readlightnovels").default[];
|
|
10
|
-
MOVIES: (import("../providers/movies/dramacool").default | import("../providers/movies/multimovies").default | import("../providers/movies/netflixmirror").default | import("../providers/movies/himovies/himovies").default)[];
|
|
11
|
-
META: (import("../providers/meta/anilist").default | import("../providers/meta/mal").default | import("../providers/meta/tmdb").default)[];
|
|
12
|
-
OTHERS: never[];
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=providers-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"providers-list.d.ts","sourceRoot":"","sources":["../../../../../src/utils/providers-list.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;CAmB1B,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ANIME, MANGA, LIGHT_NOVELS, MOVIES, META } from '../providers';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* List of providers
|
|
5
|
-
*
|
|
6
|
-
* add new providers here (order does not matter)
|
|
7
|
-
*/
|
|
8
|
-
export const PROVIDERS_LIST = {
|
|
9
|
-
ANIME: [new ANIME.AnimePahe(), new ANIME.Anify(), new ANIME.Zoro(), new ANIME.Marin(), new ANIME.AnimeKai()],
|
|
10
|
-
MANGA: [
|
|
11
|
-
new MANGA.MangaDex(),
|
|
12
|
-
new MANGA.MangaHere(),
|
|
13
|
-
new MANGA.MangaKakalot(),
|
|
14
|
-
new MANGA.Mangapark(),
|
|
15
|
-
new MANGA.MangaPill(),
|
|
16
|
-
new MANGA.MangaReader(),
|
|
17
|
-
new MANGA.Mangasee123(),
|
|
18
|
-
new MANGA.ComicK(),
|
|
19
|
-
new MANGA.FlameScans(),
|
|
20
|
-
new MANGA.MangaHost(),
|
|
21
|
-
new MANGA.BRMangas(),
|
|
22
|
-
],
|
|
23
|
-
LIGHT_NOVELS: [new LIGHT_NOVELS.ReadLightNovels()],
|
|
24
|
-
MOVIES: [new MOVIES.DramaCool(), new MOVIES.MultiMovies(), new MOVIES.NetflixMirror(), new MOVIES.HiMovies()],
|
|
25
|
-
META: [new META.Anilist(), new META.TMDB(), new META.Myanimelist()],
|
|
26
|
-
OTHERS: [],
|
|
27
|
-
};
|