react-native-consumet 1.3.0 → 1.4.0
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/Consumet.podspec +26 -26
- package/LICENSE +673 -673
- package/README.md +102 -102
- package/android/build.gradle +106 -106
- package/android/gradle.properties +5 -5
- package/android/src/main/AndroidManifest.xml +4 -4
- package/android/src/main/AndroidManifestNew.xml +3 -3
- package/android/src/main/java/com/consumet/ConsumetModule.kt +63 -63
- package/android/src/main/java/com/consumet/ConsumetPackage.kt +33 -33
- package/android/src/main/java/com/consumet/DdosGuardModule.kt +213 -213
- package/android/src/main/java/com/consumet/DeobfuscatorModule.kt +89 -89
- package/android/src/main/java/com/consumet/HttpRequestModule.kt +417 -417
- package/ios/Consumet.h +6 -6
- package/ios/Consumet.mm +18 -18
- package/lib/commonjs/extension-registry.json +60 -64
- package/lib/commonjs/extractors/{streamp2p.js → StreamP2P.js} +1 -1
- package/lib/commonjs/extractors/StreamP2P.js.map +1 -0
- package/lib/commonjs/extractors/asianload.js.map +1 -1
- package/lib/commonjs/extractors/filemoon.js.map +1 -1
- package/lib/commonjs/extractors/gdflix.js +167 -0
- package/lib/commonjs/extractors/gdflix.js.map +1 -0
- package/lib/commonjs/extractors/gofile.js +152 -0
- package/lib/commonjs/extractors/gofile.js.map +1 -0
- package/lib/commonjs/extractors/gogocdn.js.map +1 -1
- package/lib/commonjs/extractors/hubcloud.js +320 -0
- package/lib/commonjs/extractors/hubcloud.js.map +1 -0
- package/lib/commonjs/extractors/index.js +28 -0
- package/lib/commonjs/extractors/index.js.map +1 -1
- package/lib/commonjs/extractors/kisskh/kkey.js.map +1 -1
- package/lib/commonjs/extractors/kisskh/staticdata.js.map +1 -1
- package/lib/commonjs/extractors/kwik.js +1 -1
- package/lib/commonjs/extractors/kwik.js.map +1 -1
- package/lib/commonjs/extractors/megacloud.js.map +1 -1
- package/lib/commonjs/extractors/megaplay.js +169 -0
- package/lib/commonjs/extractors/megaplay.js.map +1 -0
- package/lib/commonjs/extractors/megaup.js.map +1 -1
- package/lib/commonjs/extractors/mixdrop.js.map +1 -1
- package/lib/commonjs/extractors/mp4player.js.map +1 -1
- package/lib/commonjs/extractors/mp4upload.js.map +1 -1
- package/lib/commonjs/extractors/rapidcloud.js.map +1 -1
- package/lib/commonjs/extractors/streamhub.js.map +1 -1
- package/lib/commonjs/extractors/streamlare.js.map +1 -1
- package/lib/commonjs/extractors/streamsb.js.map +1 -1
- package/lib/commonjs/extractors/streamtape.js.map +1 -1
- package/lib/commonjs/extractors/streamwish.js.map +1 -1
- package/lib/commonjs/extractors/vidhide.js.map +1 -1
- package/lib/commonjs/extractors/vidmoly.js.map +1 -1
- package/lib/commonjs/extractors/vizcloud.js.map +1 -1
- package/lib/commonjs/extractors/voe.js.map +1 -1
- package/lib/commonjs/index.js +24 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/models/anime-parser.js.map +1 -1
- package/lib/commonjs/models/base-parser.js.map +1 -1
- package/lib/commonjs/models/base-provider.js.map +1 -1
- package/lib/commonjs/models/base-types.js.map +1 -1
- package/lib/commonjs/models/extension-manifest.js.map +1 -1
- package/lib/commonjs/models/extractor-context.js.map +1 -1
- package/lib/commonjs/models/index.js.map +1 -1
- package/lib/commonjs/models/lightnovel-parser.js.map +1 -1
- package/lib/commonjs/models/manga-parser.js.map +1 -1
- package/lib/commonjs/models/movie-parser.js.map +1 -1
- package/lib/commonjs/models/provider-context.js.map +1 -1
- package/lib/commonjs/models/types.js +4 -0
- package/lib/commonjs/models/types.js.map +1 -1
- package/lib/commonjs/models/video-extractor.js.map +1 -1
- package/lib/commonjs/providers/anime/anify.js.map +1 -1
- package/lib/commonjs/providers/anime/anikoto/anikoto.js +186 -0
- package/lib/commonjs/providers/anime/anikoto/anikoto.js.map +1 -0
- package/lib/commonjs/providers/anime/anikoto/create-anikoto.js +533 -0
- package/lib/commonjs/providers/anime/anikoto/create-anikoto.js.map +1 -0
- package/lib/commonjs/providers/anime/animedrive.js.map +1 -1
- package/lib/commonjs/providers/anime/animekai/animekai.js.map +1 -1
- package/lib/commonjs/providers/anime/animekai/create-animekai.js.map +1 -1
- package/lib/commonjs/providers/anime/animepahe/animepahe.js.map +1 -1
- package/lib/commonjs/providers/anime/animepahe/create-animepahe.js +2 -2
- package/lib/commonjs/providers/anime/animepahe/create-animepahe.js.map +1 -1
- package/lib/commonjs/providers/anime/animesuge/animesuge.js.map +1 -1
- package/lib/commonjs/providers/anime/animesuge/create-animesuge.js.map +1 -1
- package/lib/commonjs/providers/anime/animeunity.js.map +1 -1
- package/lib/commonjs/providers/anime/index.js +4 -4
- package/lib/commonjs/providers/anime/index.js.map +1 -1
- package/lib/commonjs/providers/anime/kickassanime.js.map +1 -1
- package/lib/commonjs/providers/anime/marin.js.map +1 -1
- package/lib/commonjs/providers/anime/zoro/create-zoro.js.map +1 -1
- package/lib/commonjs/providers/anime/zoro/zoro.js.map +1 -1
- package/lib/commonjs/providers/index.js.map +1 -1
- package/lib/commonjs/providers/light-novels/index.js.map +1 -1
- package/lib/commonjs/providers/light-novels/novelupdates.js.map +1 -1
- package/lib/commonjs/providers/light-novels/readlightnovels.js.map +1 -1
- package/lib/commonjs/providers/manga/asurascans.js.map +1 -1
- package/lib/commonjs/providers/manga/brmangas.js.map +1 -1
- package/lib/commonjs/providers/manga/comick.js.map +1 -1
- package/lib/commonjs/providers/manga/flamescans.js.map +1 -1
- package/lib/commonjs/providers/manga/index.js.map +1 -1
- package/lib/commonjs/providers/manga/mangadex.js.map +1 -1
- package/lib/commonjs/providers/manga/mangahere.js.map +1 -1
- package/lib/commonjs/providers/manga/mangahost.js.map +1 -1
- package/lib/commonjs/providers/manga/mangakakalot.js.map +1 -1
- package/lib/commonjs/providers/manga/mangapark.js.map +1 -1
- package/lib/commonjs/providers/manga/mangapill.js.map +1 -1
- package/lib/commonjs/providers/manga/mangareader.js.map +1 -1
- package/lib/commonjs/providers/manga/mangasee123.js.map +1 -1
- package/lib/commonjs/providers/manga/readmanga.js.map +1 -1
- package/lib/commonjs/providers/manga/vyvymanga.js.map +1 -1
- package/lib/commonjs/providers/meta/anilist.js +2 -2
- package/lib/commonjs/providers/meta/anilist.js.map +1 -1
- package/lib/commonjs/providers/meta/index.js.map +1 -1
- package/lib/commonjs/providers/meta/mal.js.map +1 -1
- package/lib/commonjs/providers/meta/tmdb.js.map +1 -1
- package/lib/commonjs/providers/movies/dramacool.js.map +1 -1
- package/lib/commonjs/providers/movies/himovies/create-himovies.js.map +1 -1
- package/lib/commonjs/providers/movies/himovies/himovies.js.map +1 -1
- package/lib/commonjs/providers/movies/index.js +18 -1
- package/lib/commonjs/providers/movies/index.js.map +1 -1
- package/lib/commonjs/providers/movies/multimovies/create-multimovies.js.map +1 -1
- package/lib/commonjs/providers/movies/multimovies/multimovies.js.map +1 -1
- package/lib/commonjs/providers/movies/multistream/index.js.map +1 -1
- package/lib/commonjs/providers/movies/multistream/utils.js.map +1 -1
- package/lib/commonjs/providers/movies/netflixmirror/create-netflixmirror.js.map +1 -1
- package/lib/commonjs/providers/movies/netflixmirror/netflixmirror.js.map +1 -1
- package/lib/commonjs/providers/movies/vegamovies/create-vegamovies.js +812 -0
- package/lib/commonjs/providers/movies/vegamovies/create-vegamovies.js.map +1 -0
- package/lib/commonjs/providers/movies/vegamovies/vegamovies.js +56 -0
- package/lib/commonjs/providers/movies/vegamovies/vegamovies.js.map +1 -0
- package/lib/commonjs/providers/movies/yflix/create-yflix.js.map +1 -1
- package/lib/commonjs/providers/movies/yflix/yflix.js.map +1 -1
- package/lib/commonjs/providers/movies/yflix.js.map +1 -1
- package/lib/commonjs/utils/ExtractorManager.js +10 -2
- package/lib/commonjs/utils/ExtractorManager.js.map +1 -1
- package/lib/commonjs/utils/ProviderManager.js.map +1 -1
- package/lib/commonjs/utils/constants.js.map +1 -1
- package/lib/commonjs/utils/create-extractor-context.js.map +1 -1
- package/lib/commonjs/utils/create-provider-context.js.map +1 -1
- package/lib/commonjs/utils/extension-utils.js +11 -2
- package/lib/commonjs/utils/extension-utils.js.map +1 -1
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/commonjs/utils/provider-maps.js +5 -2
- package/lib/commonjs/utils/provider-maps.js.map +1 -1
- package/lib/commonjs/utils/queries.js.map +1 -1
- package/lib/commonjs/utils/url-polyfill.js.map +1 -1
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/module/extension-registry.json +60 -64
- package/lib/module/extractors/{streamp2p.js → StreamP2P.js} +1 -1
- package/lib/module/extractors/StreamP2P.js.map +1 -0
- package/lib/module/extractors/asianload.js.map +1 -1
- package/lib/module/extractors/filemoon.js.map +1 -1
- package/lib/module/extractors/gdflix.js +162 -0
- package/lib/module/extractors/gdflix.js.map +1 -0
- package/lib/module/extractors/gofile.js +147 -0
- package/lib/module/extractors/gofile.js.map +1 -0
- package/lib/module/extractors/gogocdn.js.map +1 -1
- package/lib/module/extractors/hubcloud.js +315 -0
- package/lib/module/extractors/hubcloud.js.map +1 -0
- package/lib/module/extractors/index.js +5 -1
- package/lib/module/extractors/index.js.map +1 -1
- package/lib/module/extractors/kisskh/kkey.js.map +1 -1
- package/lib/module/extractors/kisskh/staticdata.js.map +1 -1
- package/lib/module/extractors/kwik.js +1 -1
- package/lib/module/extractors/kwik.js.map +1 -1
- package/lib/module/extractors/megacloud.js.map +1 -1
- package/lib/module/extractors/megaplay.js +163 -0
- package/lib/module/extractors/megaplay.js.map +1 -0
- package/lib/module/extractors/megaup.js.map +1 -1
- package/lib/module/extractors/mixdrop.js.map +1 -1
- package/lib/module/extractors/mp4player.js.map +1 -1
- package/lib/module/extractors/mp4upload.js.map +1 -1
- package/lib/module/extractors/rapidcloud.js.map +1 -1
- package/lib/module/extractors/streamhub.js.map +1 -1
- package/lib/module/extractors/streamlare.js.map +1 -1
- package/lib/module/extractors/streamsb.js.map +1 -1
- package/lib/module/extractors/streamtape.js.map +1 -1
- package/lib/module/extractors/streamwish.js.map +1 -1
- package/lib/module/extractors/vidhide.js.map +1 -1
- package/lib/module/extractors/vidmoly.js.map +1 -1
- package/lib/module/extractors/vizcloud.js.map +1 -1
- package/lib/module/extractors/voe.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/models/anime-parser.js.map +1 -1
- package/lib/module/models/base-parser.js.map +1 -1
- package/lib/module/models/base-provider.js.map +1 -1
- package/lib/module/models/base-types.js.map +1 -1
- package/lib/module/models/extension-manifest.js.map +1 -1
- package/lib/module/models/extractor-context.js.map +1 -1
- package/lib/module/models/index.js.map +1 -1
- package/lib/module/models/lightnovel-parser.js.map +1 -1
- package/lib/module/models/manga-parser.js.map +1 -1
- package/lib/module/models/movie-parser.js.map +1 -1
- package/lib/module/models/provider-context.js.map +1 -1
- package/lib/module/models/types.js +4 -0
- package/lib/module/models/types.js.map +1 -1
- package/lib/module/models/video-extractor.js.map +1 -1
- package/lib/module/providers/anime/anify.js.map +1 -1
- package/lib/module/providers/anime/anikoto/anikoto.js +181 -0
- package/lib/module/providers/anime/anikoto/anikoto.js.map +1 -0
- package/lib/module/providers/anime/anikoto/create-anikoto.js +529 -0
- package/lib/module/providers/anime/anikoto/create-anikoto.js.map +1 -0
- package/lib/module/providers/anime/animedrive.js.map +1 -1
- package/lib/module/providers/anime/animekai/animekai.js.map +1 -1
- package/lib/module/providers/anime/animekai/create-animekai.js.map +1 -1
- package/lib/module/providers/anime/animepahe/animepahe.js.map +1 -1
- package/lib/module/providers/anime/animepahe/create-animepahe.js +2 -2
- package/lib/module/providers/anime/animepahe/create-animepahe.js.map +1 -1
- package/lib/module/providers/anime/animesuge/animesuge.js.map +1 -1
- package/lib/module/providers/anime/animesuge/create-animesuge.js.map +1 -1
- package/lib/module/providers/anime/animeunity.js.map +1 -1
- package/lib/module/providers/anime/index.js +4 -4
- package/lib/module/providers/anime/index.js.map +1 -1
- package/lib/module/providers/anime/kickassanime.js.map +1 -1
- package/lib/module/providers/anime/marin.js.map +1 -1
- package/lib/module/providers/anime/zoro/create-zoro.js.map +1 -1
- package/lib/module/providers/anime/zoro/zoro.js.map +1 -1
- package/lib/module/providers/index.js.map +1 -1
- package/lib/module/providers/light-novels/index.js.map +1 -1
- package/lib/module/providers/light-novels/novelupdates.js.map +1 -1
- package/lib/module/providers/light-novels/readlightnovels.js.map +1 -1
- package/lib/module/providers/manga/asurascans.js.map +1 -1
- package/lib/module/providers/manga/brmangas.js.map +1 -1
- package/lib/module/providers/manga/comick.js.map +1 -1
- package/lib/module/providers/manga/flamescans.js.map +1 -1
- package/lib/module/providers/manga/index.js.map +1 -1
- package/lib/module/providers/manga/mangadex.js.map +1 -1
- package/lib/module/providers/manga/mangahere.js.map +1 -1
- package/lib/module/providers/manga/mangahost.js.map +1 -1
- package/lib/module/providers/manga/mangakakalot.js.map +1 -1
- package/lib/module/providers/manga/mangapark.js.map +1 -1
- package/lib/module/providers/manga/mangapill.js.map +1 -1
- package/lib/module/providers/manga/mangareader.js.map +1 -1
- package/lib/module/providers/manga/mangasee123.js.map +1 -1
- package/lib/module/providers/manga/readmanga.js.map +1 -1
- package/lib/module/providers/manga/vyvymanga.js.map +1 -1
- package/lib/module/providers/meta/anilist.js +1 -1
- package/lib/module/providers/meta/anilist.js.map +1 -1
- package/lib/module/providers/meta/index.js.map +1 -1
- package/lib/module/providers/meta/mal.js.map +1 -1
- package/lib/module/providers/meta/tmdb.js.map +1 -1
- package/lib/module/providers/movies/dramacool.js.map +1 -1
- package/lib/module/providers/movies/himovies/create-himovies.js.map +1 -1
- package/lib/module/providers/movies/himovies/himovies.js.map +1 -1
- package/lib/module/providers/movies/index.js +6 -1
- package/lib/module/providers/movies/index.js.map +1 -1
- package/lib/module/providers/movies/multimovies/create-multimovies.js.map +1 -1
- package/lib/module/providers/movies/multimovies/multimovies.js.map +1 -1
- package/lib/module/providers/movies/multistream/index.js.map +1 -1
- package/lib/module/providers/movies/multistream/utils.js.map +1 -1
- package/lib/module/providers/movies/netflixmirror/create-netflixmirror.js.map +1 -1
- package/lib/module/providers/movies/netflixmirror/netflixmirror.js.map +1 -1
- package/lib/module/providers/movies/vegamovies/create-vegamovies.js +808 -0
- package/lib/module/providers/movies/vegamovies/create-vegamovies.js.map +1 -0
- package/lib/module/providers/movies/vegamovies/vegamovies.js +47 -0
- package/lib/module/providers/movies/vegamovies/vegamovies.js.map +1 -0
- package/lib/module/providers/movies/yflix/create-yflix.js.map +1 -1
- package/lib/module/providers/movies/yflix/yflix.js.map +1 -1
- package/lib/module/providers/movies/yflix.js.map +1 -1
- package/lib/module/utils/ExtractorManager.js +10 -2
- package/lib/module/utils/ExtractorManager.js.map +1 -1
- package/lib/module/utils/ProviderManager.js.map +1 -1
- package/lib/module/utils/constants.js.map +1 -1
- package/lib/module/utils/create-extractor-context.js.map +1 -1
- package/lib/module/utils/create-provider-context.js.map +1 -1
- package/lib/module/utils/extension-utils.js +12 -3
- package/lib/module/utils/extension-utils.js.map +1 -1
- package/lib/module/utils/index.js.map +1 -1
- package/lib/module/utils/provider-maps.js +5 -2
- package/lib/module/utils/provider-maps.js.map +1 -1
- package/lib/module/utils/queries.js.map +1 -1
- package/lib/module/utils/url-polyfill.js.map +1 -1
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/typescript/commonjs/src/extractors/{streamp2p.d.ts → StreamP2P.d.ts} +1 -1
- package/lib/typescript/commonjs/src/extractors/{streamp2p.d.ts.map → StreamP2P.d.ts.map} +1 -1
- package/lib/typescript/commonjs/src/extractors/gdflix.d.ts +8 -0
- package/lib/typescript/commonjs/src/extractors/gdflix.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/extractors/gofile.d.ts +8 -0
- package/lib/typescript/commonjs/src/extractors/gofile.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/extractors/hubcloud.d.ts +8 -0
- package/lib/typescript/commonjs/src/extractors/hubcloud.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/extractors/index.d.ts +5 -1
- package/lib/typescript/commonjs/src/extractors/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/megaplay.d.ts +9 -0
- package/lib/typescript/commonjs/src/extractors/megaplay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +2 -2
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/provider-context.d.ts +12 -0
- package/lib/typescript/commonjs/src/models/provider-context.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/types.d.ts +9 -1
- package/lib/typescript/commonjs/src/models/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/anikoto/anikoto.d.ts +144 -0
- package/lib/typescript/commonjs/src/providers/anime/anikoto/anikoto.d.ts.map +1 -0
- package/lib/typescript/{module/src/providers/anime/aniwatchtv/create-aniwatchtv.d.ts → commonjs/src/providers/anime/anikoto/create-anikoto.d.ts} +10 -12
- package/lib/typescript/commonjs/src/providers/anime/anikoto/create-anikoto.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/anime/index.d.ts +4 -4
- package/lib/typescript/commonjs/src/providers/anime/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/providers/movies/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/vegamovies/create-vegamovies.d.ts +22 -0
- package/lib/typescript/commonjs/src/providers/movies/vegamovies/create-vegamovies.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/movies/vegamovies/vegamovies.d.ts +25 -0
- package/lib/typescript/commonjs/src/providers/movies/vegamovies/vegamovies.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/ExtractorManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/extension-utils.d.ts +9 -0
- package/lib/typescript/commonjs/src/utils/extension-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/provider-maps.d.ts +2 -1
- package/lib/typescript/commonjs/src/utils/provider-maps.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/{streamp2p.d.ts → StreamP2P.d.ts} +1 -1
- package/lib/typescript/module/src/extractors/{streamp2p.d.ts.map → StreamP2P.d.ts.map} +1 -1
- package/lib/typescript/module/src/extractors/gdflix.d.ts +8 -0
- package/lib/typescript/module/src/extractors/gdflix.d.ts.map +1 -0
- package/lib/typescript/module/src/extractors/gofile.d.ts +8 -0
- package/lib/typescript/module/src/extractors/gofile.d.ts.map +1 -0
- package/lib/typescript/module/src/extractors/hubcloud.d.ts +8 -0
- package/lib/typescript/module/src/extractors/hubcloud.d.ts.map +1 -0
- package/lib/typescript/module/src/extractors/index.d.ts +5 -1
- package/lib/typescript/module/src/extractors/index.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/megaplay.d.ts +9 -0
- package/lib/typescript/module/src/extractors/megaplay.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +2 -2
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/models/provider-context.d.ts +12 -0
- package/lib/typescript/module/src/models/provider-context.d.ts.map +1 -1
- package/lib/typescript/module/src/models/types.d.ts +9 -1
- package/lib/typescript/module/src/models/types.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/anikoto/anikoto.d.ts +144 -0
- package/lib/typescript/module/src/providers/anime/anikoto/anikoto.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src/providers/anime/aniwatchtv/create-aniwatchtv.d.ts → module/src/providers/anime/anikoto/create-anikoto.d.ts} +10 -12
- package/lib/typescript/module/src/providers/anime/anikoto/create-anikoto.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/anime/index.d.ts +4 -4
- package/lib/typescript/module/src/providers/anime/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/meta/anilist.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/index.d.ts +5 -0
- package/lib/typescript/module/src/providers/movies/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/vegamovies/create-vegamovies.d.ts +22 -0
- package/lib/typescript/module/src/providers/movies/vegamovies/create-vegamovies.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/movies/vegamovies/vegamovies.d.ts +25 -0
- package/lib/typescript/module/src/providers/movies/vegamovies/vegamovies.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/ExtractorManager.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/extension-utils.d.ts +9 -0
- package/lib/typescript/module/src/utils/extension-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/provider-maps.d.ts +2 -1
- package/lib/typescript/module/src/utils/provider-maps.d.ts.map +1 -1
- package/package.json +217 -217
- package/react-native.config.js +12 -12
- package/src/extension-registry.json +60 -64
- package/src/extractors/gdflix.ts +167 -0
- package/src/extractors/gofile.ts +182 -0
- package/src/extractors/hubcloud.ts +357 -0
- package/src/extractors/index.ts +8 -0
- package/src/extractors/kwik.ts +1 -1
- package/src/extractors/megaplay.ts +182 -0
- package/src/index.tsx +8 -0
- package/src/models/provider-context.ts +12 -0
- package/src/models/types.ts +8 -0
- package/src/providers/anime/anikoto/anikoto.ts +215 -0
- package/src/providers/anime/anikoto/create-anikoto.ts +637 -0
- package/src/providers/anime/animepahe/create-animepahe.ts +2 -2
- package/src/providers/anime/index.ts +4 -4
- package/src/providers/meta/anilist.ts +1 -1
- package/src/providers/movies/index.ts +6 -0
- package/src/providers/movies/vegamovies/create-vegamovies.ts +921 -0
- package/src/providers/movies/vegamovies/vegamovies.ts +63 -0
- package/src/utils/ExtractorManager.ts +7 -1
- package/src/utils/extension-utils.ts +13 -0
- package/src/utils/provider-maps.ts +5 -2
- package/lib/commonjs/extractors/streamp2p.js.map +0 -1
- package/lib/commonjs/providers/anime/aniwatchtv/aniwatchtv.js +0 -187
- package/lib/commonjs/providers/anime/aniwatchtv/aniwatchtv.js.map +0 -1
- package/lib/commonjs/providers/anime/aniwatchtv/create-aniwatchtv.js +0 -572
- package/lib/commonjs/providers/anime/aniwatchtv/create-aniwatchtv.js.map +0 -1
- package/lib/module/extractors/streamp2p.js.map +0 -1
- package/lib/module/providers/anime/aniwatchtv/aniwatchtv.js +0 -184
- package/lib/module/providers/anime/aniwatchtv/aniwatchtv.js.map +0 -1
- package/lib/module/providers/anime/aniwatchtv/create-aniwatchtv.js +0 -569
- package/lib/module/providers/anime/aniwatchtv/create-aniwatchtv.js.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/aniwatchtv/aniwatchtv.d.ts +0 -134
- package/lib/typescript/commonjs/src/providers/anime/aniwatchtv/aniwatchtv.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/aniwatchtv/create-aniwatchtv.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/aniwatchtv/aniwatchtv.d.ts +0 -134
- package/lib/typescript/module/src/providers/anime/aniwatchtv/aniwatchtv.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/aniwatchtv/create-aniwatchtv.d.ts.map +0 -1
- package/src/providers/anime/aniwatchtv/aniwatchtv.ts +0 -198
- package/src/providers/anime/aniwatchtv/create-aniwatchtv.ts +0 -632
- /package/src/extractors/{streamp2p.ts → StreamP2P.ts} +0 -0
package/src/extractors/index.ts
CHANGED
|
@@ -17,6 +17,10 @@ import VizCloud from './vizcloud';
|
|
|
17
17
|
import { VidHide } from './vidhide';
|
|
18
18
|
import Voe from './voe';
|
|
19
19
|
import { MegaUp } from './megaup';
|
|
20
|
+
import { MegaPlay } from './megaplay';
|
|
21
|
+
import { GDFlix } from './gdflix';
|
|
22
|
+
import { Gofile } from './gofile';
|
|
23
|
+
import { HubCloud } from './hubcloud';
|
|
20
24
|
|
|
21
25
|
export {
|
|
22
26
|
AsianLoad,
|
|
@@ -38,4 +42,8 @@ export {
|
|
|
38
42
|
VidHide,
|
|
39
43
|
Voe,
|
|
40
44
|
MegaUp,
|
|
45
|
+
MegaPlay,
|
|
46
|
+
GDFlix,
|
|
47
|
+
Gofile,
|
|
48
|
+
HubCloud,
|
|
41
49
|
};
|
package/src/extractors/kwik.ts
CHANGED
|
@@ -73,7 +73,7 @@ export function Kwik(ctx: ExtractorContext): IVideoExtractor {
|
|
|
73
73
|
return lines.join('\n');
|
|
74
74
|
}
|
|
75
75
|
// @ts-ignore
|
|
76
|
-
const extract = async (videoUrl: PolyURL, referer = 'https://animepahe.
|
|
76
|
+
const extract = async (videoUrl: PolyURL, referer = 'https://animepahe.pw/'): Promise<ISource> => {
|
|
77
77
|
const extractedData: ISource = {
|
|
78
78
|
// subtitles: [],
|
|
79
79
|
// intro: { start: 0, end: 0 },
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import axios from 'axios';
|
|
2
|
+
|
|
3
|
+
import { type ExtractorContext, type ISource, type IVideo, type IVideoExtractor, type ISubtitle } from '../models';
|
|
4
|
+
import type { PolyURL } from '../utils/url-polyfill';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* MegaPlay extractor factory that relies on the shared extractor context
|
|
8
|
+
* @param ctx ExtractorContext containing axios, load, USER_AGENT, PolyURL
|
|
9
|
+
* @returns Object with extract method implementing IVideoExtractor interface
|
|
10
|
+
*/
|
|
11
|
+
export function MegaPlay(ctx: ExtractorContext): IVideoExtractor {
|
|
12
|
+
const serverName = 'MegaPlay';
|
|
13
|
+
const sources: IVideo[] = [];
|
|
14
|
+
const client = ctx.axios ?? axios;
|
|
15
|
+
const load = ctx.load;
|
|
16
|
+
const userAgent =
|
|
17
|
+
ctx.USER_AGENT ||
|
|
18
|
+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36';
|
|
19
|
+
|
|
20
|
+
const extract = async (videoUrl: PolyURL, referer?: string): Promise<ISource> => {
|
|
21
|
+
try {
|
|
22
|
+
const embedHref = typeof videoUrl === 'string' ? videoUrl : videoUrl.href;
|
|
23
|
+
const urlObj = typeof videoUrl === 'object' && videoUrl.origin ? videoUrl : new (ctx.PolyURL || URL)(embedHref);
|
|
24
|
+
const origin = urlObj.origin || 'https://megaplay.buzz';
|
|
25
|
+
const pageReferer = referer || embedHref;
|
|
26
|
+
|
|
27
|
+
const pageHeaders = {
|
|
28
|
+
'User-Agent': userAgent,
|
|
29
|
+
'Referer': pageReferer,
|
|
30
|
+
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const { data: html } = await client.get(embedHref, { headers: pageHeaders });
|
|
34
|
+
|
|
35
|
+
const $ = load(html);
|
|
36
|
+
const playerDiv = $('#megaplay-player');
|
|
37
|
+
|
|
38
|
+
if (!playerDiv.length) {
|
|
39
|
+
throw new Error('[MegaPlay] Could not find player element (#megaplay-player)');
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const mediaId = playerDiv.attr('data-id');
|
|
43
|
+
if (!mediaId) {
|
|
44
|
+
throw new Error('[MegaPlay] Could not find data-id on player element');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const sParam = urlObj.searchParams?.get('s');
|
|
48
|
+
const sQuery = sParam ? `&s=${encodeURIComponent(sParam)}` : '';
|
|
49
|
+
|
|
50
|
+
const ajaxHeaders = {
|
|
51
|
+
'X-Requested-With': 'XMLHttpRequest',
|
|
52
|
+
'Referer': `${origin}/`,
|
|
53
|
+
'User-Agent': userAgent,
|
|
54
|
+
'Accept': 'application/json, text/javascript, */*; q=0.01',
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
let defSourcesJson: any = null;
|
|
58
|
+
let defStreamUrl: string | null = null;
|
|
59
|
+
try {
|
|
60
|
+
const { data: resData } = await client.get(`${origin}/stream/getSources?id=${mediaId}${sQuery}`, {
|
|
61
|
+
headers: ajaxHeaders,
|
|
62
|
+
});
|
|
63
|
+
defSourcesJson = typeof resData === 'string' ? JSON.parse(resData) : resData;
|
|
64
|
+
defStreamUrl =
|
|
65
|
+
defSourcesJson?.sources?.file ||
|
|
66
|
+
(Array.isArray(defSourcesJson?.sources) ? defSourcesJson.sources[0]?.file : null);
|
|
67
|
+
} catch {
|
|
68
|
+
// Fallback to getSourcesNew
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
let newSourcesJson: any = null;
|
|
72
|
+
let newStreamUrl: string | null = null;
|
|
73
|
+
try {
|
|
74
|
+
const { data: newResData } = await client.get(`${origin}/stream/getSourcesNew?id=${mediaId}${sQuery}`, {
|
|
75
|
+
headers: ajaxHeaders,
|
|
76
|
+
});
|
|
77
|
+
newSourcesJson = typeof newResData === 'string' ? JSON.parse(newResData) : newResData;
|
|
78
|
+
newStreamUrl =
|
|
79
|
+
newSourcesJson?.sources?.file ||
|
|
80
|
+
(Array.isArray(newSourcesJson?.sources) ? newSourcesJson.sources[0]?.file : null);
|
|
81
|
+
} catch {
|
|
82
|
+
// Ignore if defStreamUrl succeeded
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
const streamUrl = defStreamUrl || newStreamUrl;
|
|
86
|
+
if (!streamUrl) {
|
|
87
|
+
throw new Error('[MegaPlay] No video stream URL found from /getSources or /getSourcesNew');
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
const cleanStreamUrl = String(streamUrl).replace(/\\/g, '');
|
|
91
|
+
const isM3U8 = cleanStreamUrl.includes('.m3u8');
|
|
92
|
+
|
|
93
|
+
const extractedSources: IVideo[] = [];
|
|
94
|
+
const defaultSource: IVideo = {
|
|
95
|
+
url: cleanStreamUrl,
|
|
96
|
+
isM3U8,
|
|
97
|
+
quality: 'auto',
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
if (isM3U8) {
|
|
101
|
+
try {
|
|
102
|
+
const { data: m3u8Data } = await client.get(cleanStreamUrl, {
|
|
103
|
+
headers: {
|
|
104
|
+
'Referer': `${origin}/`,
|
|
105
|
+
'User-Agent': userAgent,
|
|
106
|
+
},
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
if (typeof m3u8Data === 'string' && m3u8Data.includes('#EXT-X-STREAM-INF')) {
|
|
110
|
+
const lines = m3u8Data.split('\n');
|
|
111
|
+
const streamBasePath = cleanStreamUrl.substring(0, cleanStreamUrl.lastIndexOf('/'));
|
|
112
|
+
const streamOrigin = new (ctx.PolyURL || URL)(cleanStreamUrl).origin;
|
|
113
|
+
|
|
114
|
+
for (let i = 0; i < lines.length; i++) {
|
|
115
|
+
const line = lines[i]?.trim();
|
|
116
|
+
if (line && line.startsWith('#EXT-X-STREAM-INF')) {
|
|
117
|
+
const resolutionMatch = line.match(/RESOLUTION=\d+x(\d+)/);
|
|
118
|
+
const quality = resolutionMatch ? `${resolutionMatch[1]}p` : `quality_${extractedSources.length + 1}`;
|
|
119
|
+
const nextLine = lines[i + 1]?.trim();
|
|
120
|
+
if (nextLine && !nextLine.startsWith('#')) {
|
|
121
|
+
const variantUrl =
|
|
122
|
+
nextLine.startsWith('http://') || nextLine.startsWith('https://')
|
|
123
|
+
? nextLine
|
|
124
|
+
: nextLine.startsWith('/')
|
|
125
|
+
? `${streamOrigin}${nextLine}`
|
|
126
|
+
: `${streamBasePath}/${nextLine}`;
|
|
127
|
+
|
|
128
|
+
extractedSources.push({
|
|
129
|
+
url: variantUrl,
|
|
130
|
+
isM3U8: true,
|
|
131
|
+
quality,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
} catch {
|
|
138
|
+
// If fetching variants fails, defaultSource will be returned
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
const finalSources = extractedSources.length > 0 ? [...extractedSources, defaultSource] : [defaultSource];
|
|
143
|
+
|
|
144
|
+
const tracks = defSourcesJson?.tracks || newSourcesJson?.tracks || [];
|
|
145
|
+
const subtitles: ISubtitle[] = [];
|
|
146
|
+
if (Array.isArray(tracks)) {
|
|
147
|
+
for (const track of tracks) {
|
|
148
|
+
if (track?.file) {
|
|
149
|
+
subtitles.push({
|
|
150
|
+
url: String(track.file).replace(/\\/g, ''),
|
|
151
|
+
lang: track.label || track.kind || 'English',
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const intro = defSourcesJson?.intro || newSourcesJson?.intro;
|
|
158
|
+
const outro = defSourcesJson?.outro || newSourcesJson?.outro;
|
|
159
|
+
|
|
160
|
+
return {
|
|
161
|
+
sources: finalSources,
|
|
162
|
+
subtitles,
|
|
163
|
+
headers: {
|
|
164
|
+
Referer: `${origin}/`,
|
|
165
|
+
},
|
|
166
|
+
intro: intro ? { start: intro.start, end: intro.end } : undefined,
|
|
167
|
+
outro: outro ? { start: outro.start, end: outro.end } : undefined,
|
|
168
|
+
embedURL: embedHref,
|
|
169
|
+
};
|
|
170
|
+
} catch (error) {
|
|
171
|
+
throw new Error((error as Error).message);
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
return {
|
|
176
|
+
serverName,
|
|
177
|
+
sources,
|
|
178
|
+
extract,
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export default MegaPlay;
|
package/src/index.tsx
CHANGED
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
VidHide,
|
|
52
52
|
Voe,
|
|
53
53
|
MegaUp,
|
|
54
|
+
MegaPlay,
|
|
55
|
+
GDFlix,
|
|
56
|
+
Gofile,
|
|
57
|
+
HubCloud,
|
|
54
58
|
} from './extractors';
|
|
55
59
|
|
|
56
60
|
// Models (domain types, enums, and constants)
|
|
@@ -127,6 +131,10 @@ export {
|
|
|
127
131
|
MegaCloud,
|
|
128
132
|
VidHide,
|
|
129
133
|
Voe,
|
|
134
|
+
MegaPlay,
|
|
135
|
+
GDFlix,
|
|
136
|
+
Gofile,
|
|
137
|
+
HubCloud,
|
|
130
138
|
};
|
|
131
139
|
|
|
132
140
|
// Models: TypeScript types
|
|
@@ -119,6 +119,18 @@ export interface ExtractorRegistry {
|
|
|
119
119
|
MegaUp: (ctx?: ExtractorContext) => {
|
|
120
120
|
extract: (url: PolyURL) => Promise<any>;
|
|
121
121
|
};
|
|
122
|
+
MegaPlay: (ctx?: ExtractorContext) => {
|
|
123
|
+
extract: (url: PolyURL, referer?: string) => Promise<any>;
|
|
124
|
+
};
|
|
125
|
+
GDFlix: (ctx?: ExtractorContext) => {
|
|
126
|
+
extract: (url: PolyURL | string, ...args: any[]) => Promise<any>;
|
|
127
|
+
};
|
|
128
|
+
Gofile: (ctx?: ExtractorContext) => {
|
|
129
|
+
extract: (url: PolyURL | string, ...args: any[]) => Promise<any>;
|
|
130
|
+
};
|
|
131
|
+
HubCloud: (ctx?: ExtractorContext) => {
|
|
132
|
+
extract: (url: PolyURL | string, ...args: any[]) => Promise<any>;
|
|
133
|
+
};
|
|
122
134
|
}
|
|
123
135
|
|
|
124
136
|
export type ProviderConfig = {
|
package/src/models/types.ts
CHANGED
|
@@ -169,6 +169,10 @@ export interface IVideo {
|
|
|
169
169
|
* The **MAIN URL** of the video provider that should take you to the video
|
|
170
170
|
*/
|
|
171
171
|
url: string;
|
|
172
|
+
/**
|
|
173
|
+
* The name of the server providing this video stream
|
|
174
|
+
*/
|
|
175
|
+
server?: string;
|
|
172
176
|
/**
|
|
173
177
|
* The Quality of the video should include the `p` suffix
|
|
174
178
|
*/
|
|
@@ -213,6 +217,10 @@ export enum StreamingServers {
|
|
|
213
217
|
Luffy = 'luffy',
|
|
214
218
|
Multi = 'multi',
|
|
215
219
|
Kwik = 'kwik',
|
|
220
|
+
MegaPlay = 'megaplay',
|
|
221
|
+
GDFlix = 'gdflix',
|
|
222
|
+
Gofile = 'gofile',
|
|
223
|
+
HubCloud = 'hubcloud',
|
|
216
224
|
}
|
|
217
225
|
|
|
218
226
|
export enum MediaStatus {
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { AnimeParser } from '../../../models';
|
|
2
|
+
import { createProviderContext } from '../../../utils/create-provider-context';
|
|
3
|
+
import createAniKoto, { type AniKotoProviderInstance } from './create-anikoto';
|
|
4
|
+
|
|
5
|
+
export class AniKoto extends AnimeParser {
|
|
6
|
+
private instance: AniKotoProviderInstance;
|
|
7
|
+
override logo: string;
|
|
8
|
+
override name: string;
|
|
9
|
+
override baseUrl: string;
|
|
10
|
+
override classPath: string;
|
|
11
|
+
override isNSFW: boolean;
|
|
12
|
+
override isWorking: boolean;
|
|
13
|
+
override readonly isDubAvailableSeparately: boolean;
|
|
14
|
+
|
|
15
|
+
constructor(customBaseURL?: string) {
|
|
16
|
+
super();
|
|
17
|
+
|
|
18
|
+
// Use the context factory to create a complete context with all defaults
|
|
19
|
+
const defaultContext = createProviderContext();
|
|
20
|
+
|
|
21
|
+
this.instance = createAniKoto(defaultContext, customBaseURL);
|
|
22
|
+
|
|
23
|
+
this.logo = this.instance.logo;
|
|
24
|
+
this.name = this.instance.name;
|
|
25
|
+
this.baseUrl = this.instance.baseUrl;
|
|
26
|
+
this.classPath = this.instance.classPath;
|
|
27
|
+
this.isNSFW = this.instance.isNSFW ?? false;
|
|
28
|
+
this.isWorking = this.instance.isWorking ?? true;
|
|
29
|
+
this.isDubAvailableSeparately = this.instance.isDubAvailableSeparately ?? false;
|
|
30
|
+
|
|
31
|
+
// Bind all methods to preserve proper typing
|
|
32
|
+
this.search = this.instance.search;
|
|
33
|
+
this.fetchAdvancedSearch = this.instance.fetchAdvancedSearch;
|
|
34
|
+
this.fetchTopAiring = this.instance.fetchTopAiring;
|
|
35
|
+
this.fetchMostPopular = this.instance.fetchMostPopular;
|
|
36
|
+
this.fetchMostFavorite = this.instance.fetchMostFavorite;
|
|
37
|
+
this.fetchLatestCompleted = this.instance.fetchLatestCompleted;
|
|
38
|
+
this.fetchRecentlyUpdated = this.instance.fetchRecentlyUpdated;
|
|
39
|
+
this.fetchRecentlyAdded = this.instance.fetchRecentlyAdded;
|
|
40
|
+
this.fetchTopUpcoming = this.instance.fetchTopUpcoming;
|
|
41
|
+
this.fetchStudio = this.instance.fetchStudio;
|
|
42
|
+
this.fetchSubbedAnime = this.instance.fetchSubbedAnime;
|
|
43
|
+
this.fetchDubbedAnime = this.instance.fetchDubbedAnime;
|
|
44
|
+
this.fetchMovie = this.instance.fetchMovie;
|
|
45
|
+
this.fetchTV = this.instance.fetchTV;
|
|
46
|
+
this.fetchOVA = this.instance.fetchOVA;
|
|
47
|
+
this.fetchONA = this.instance.fetchONA;
|
|
48
|
+
this.fetchSpecial = this.instance.fetchSpecial;
|
|
49
|
+
this.fetchGenres = this.instance.fetchGenres;
|
|
50
|
+
this.genreSearch = this.instance.genreSearch;
|
|
51
|
+
this.fetchSchedule = this.instance.fetchSchedule;
|
|
52
|
+
this.fetchSpotlight = this.instance.fetchSpotlight;
|
|
53
|
+
this.fetchSearchSuggestions = this.instance.fetchSearchSuggestions;
|
|
54
|
+
this.fetchAnimeInfo = this.instance.fetchAnimeInfo;
|
|
55
|
+
this.fetchEpisodeSources = this.instance.fetchEpisodeSources;
|
|
56
|
+
this.fetchEpisodeServers = this.instance.fetchEpisodeServers;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Search for anime titles
|
|
61
|
+
* @param query Search keyword
|
|
62
|
+
* @param page Page number (default: 1)
|
|
63
|
+
*/
|
|
64
|
+
search!: AniKotoProviderInstance['search'];
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Fetch advanced anime search results with various filters
|
|
68
|
+
*/
|
|
69
|
+
fetchAdvancedSearch!: AniKotoProviderInstance['fetchAdvancedSearch'];
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Fetch top airing anime
|
|
73
|
+
* @param page Page number (default: 1)
|
|
74
|
+
*/
|
|
75
|
+
fetchTopAiring!: AniKotoProviderInstance['fetchTopAiring'];
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Fetch most popular anime
|
|
79
|
+
* @param page Page number (default: 1)
|
|
80
|
+
*/
|
|
81
|
+
fetchMostPopular!: AniKotoProviderInstance['fetchMostPopular'];
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Fetch most favorite anime
|
|
85
|
+
* @param page Page number (default: 1)
|
|
86
|
+
*/
|
|
87
|
+
fetchMostFavorite!: AniKotoProviderInstance['fetchMostFavorite'];
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Fetch latest completed anime
|
|
91
|
+
* @param page Page number (default: 1)
|
|
92
|
+
*/
|
|
93
|
+
fetchLatestCompleted!: AniKotoProviderInstance['fetchLatestCompleted'];
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Fetch recently updated anime
|
|
97
|
+
* @param page Page number (default: 1)
|
|
98
|
+
*/
|
|
99
|
+
fetchRecentlyUpdated!: AniKotoProviderInstance['fetchRecentlyUpdated'];
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Fetch recently added anime
|
|
103
|
+
* @param page Page number (default: 1)
|
|
104
|
+
*/
|
|
105
|
+
fetchRecentlyAdded!: AniKotoProviderInstance['fetchRecentlyAdded'];
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Fetch top upcoming anime
|
|
109
|
+
* @param page Page number (default: 1)
|
|
110
|
+
*/
|
|
111
|
+
fetchTopUpcoming!: AniKotoProviderInstance['fetchTopUpcoming'];
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Fetch anime by studio
|
|
115
|
+
* @param studioId Studio slug / id
|
|
116
|
+
* @param page Page number (default: 1)
|
|
117
|
+
*/
|
|
118
|
+
fetchStudio!: AniKotoProviderInstance['fetchStudio'];
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Fetch subbed anime
|
|
122
|
+
* @param page Page number (default: 1)
|
|
123
|
+
*/
|
|
124
|
+
fetchSubbedAnime!: AniKotoProviderInstance['fetchSubbedAnime'];
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Fetch dubbed anime
|
|
128
|
+
* @param page Page number (default: 1)
|
|
129
|
+
*/
|
|
130
|
+
fetchDubbedAnime!: AniKotoProviderInstance['fetchDubbedAnime'];
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Fetch movie anime
|
|
134
|
+
* @param page Page number (default: 1)
|
|
135
|
+
*/
|
|
136
|
+
fetchMovie!: AniKotoProviderInstance['fetchMovie'];
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Fetch TV series anime
|
|
140
|
+
* @param page Page number (default: 1)
|
|
141
|
+
*/
|
|
142
|
+
fetchTV!: AniKotoProviderInstance['fetchTV'];
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Fetch OVA anime
|
|
146
|
+
* @param page Page number (default: 1)
|
|
147
|
+
*/
|
|
148
|
+
fetchOVA!: AniKotoProviderInstance['fetchOVA'];
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Fetch ONA anime
|
|
152
|
+
* @param page Page number (default: 1)
|
|
153
|
+
*/
|
|
154
|
+
fetchONA!: AniKotoProviderInstance['fetchONA'];
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Fetch special anime
|
|
158
|
+
* @param page Page number (default: 1)
|
|
159
|
+
*/
|
|
160
|
+
fetchSpecial!: AniKotoProviderInstance['fetchSpecial'];
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Fetch genres list
|
|
164
|
+
*/
|
|
165
|
+
fetchGenres!: AniKotoProviderInstance['fetchGenres'];
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Search anime by genre
|
|
169
|
+
* @param genre Genre name / slug
|
|
170
|
+
* @param page Page number (default: 1)
|
|
171
|
+
*/
|
|
172
|
+
genreSearch!: AniKotoProviderInstance['genreSearch'];
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Fetch anime release schedule
|
|
176
|
+
* @param date Date in YYYY-MM-DD format
|
|
177
|
+
*/
|
|
178
|
+
fetchSchedule!: AniKotoProviderInstance['fetchSchedule'];
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Fetch spotlight anime from homepage
|
|
182
|
+
*/
|
|
183
|
+
fetchSpotlight!: AniKotoProviderInstance['fetchSpotlight'];
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Fetch search suggestions
|
|
187
|
+
* @param query Search query
|
|
188
|
+
*/
|
|
189
|
+
fetchSearchSuggestions!: AniKotoProviderInstance['fetchSearchSuggestions'];
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Fetch anime info and episode list
|
|
193
|
+
* @param id Anime slug / id
|
|
194
|
+
*/
|
|
195
|
+
fetchAnimeInfo!: AniKotoProviderInstance['fetchAnimeInfo'];
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Fetch episode video sources
|
|
199
|
+
* @param episodeId Episode id
|
|
200
|
+
* @param server Server type (default: MegaPlay)
|
|
201
|
+
* @param subOrDub Sub or Dub (default: Sub)
|
|
202
|
+
*/
|
|
203
|
+
fetchEpisodeSources!: AniKotoProviderInstance['fetchEpisodeSources'];
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Fetch episode servers
|
|
207
|
+
* @param episodeId Episode id
|
|
208
|
+
* @param subOrDub Sub or Dub (default: Sub)
|
|
209
|
+
*/
|
|
210
|
+
fetchEpisodeServers!: AniKotoProviderInstance['fetchEpisodeServers'];
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// Export AniKoto as AniWatchTv as well for backwards compatibility
|
|
214
|
+
export { AniKoto as AniWatchTv };
|
|
215
|
+
export default AniKoto;
|