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
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { MovieParser } from '../../../models';
|
|
2
|
+
import { createProviderContext } from '../../../utils';
|
|
3
|
+
import { createVegaMovies, type VegaMoviesProviderInstance } from './create-vegamovies';
|
|
4
|
+
|
|
5
|
+
// Backward compatibility wrapper class
|
|
6
|
+
class VegaMovies extends MovieParser {
|
|
7
|
+
private instance: VegaMoviesProviderInstance;
|
|
8
|
+
override logo: string;
|
|
9
|
+
override name: string;
|
|
10
|
+
override baseUrl: string;
|
|
11
|
+
override classPath: string;
|
|
12
|
+
override supportedTypes: Set<any>;
|
|
13
|
+
override isNSFW: boolean;
|
|
14
|
+
override isWorking: boolean;
|
|
15
|
+
|
|
16
|
+
constructor(customBaseURL?: string) {
|
|
17
|
+
super();
|
|
18
|
+
|
|
19
|
+
// Use the context factory to create a complete context with all defaults
|
|
20
|
+
const defaultContext = createProviderContext();
|
|
21
|
+
|
|
22
|
+
this.instance = createVegaMovies(defaultContext, customBaseURL);
|
|
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.supportedTypes = this.instance.supportedTypes;
|
|
28
|
+
this.isNSFW = this.instance.isNSFW;
|
|
29
|
+
this.isWorking = this.instance.isWorking ?? true;
|
|
30
|
+
|
|
31
|
+
// Bind all methods to preserve proper typing
|
|
32
|
+
this.search = this.instance.search;
|
|
33
|
+
this.fetchMediaInfo = this.instance.fetchMediaInfo;
|
|
34
|
+
this.fetchEpisodeSources = this.instance.fetchEpisodeSources;
|
|
35
|
+
this.fetchEpisodeServers = this.instance.fetchEpisodeServers;
|
|
36
|
+
this.fetchLatest = this.instance.fetchLatest;
|
|
37
|
+
this.fetchRecentMovies = this.instance.fetchRecentMovies;
|
|
38
|
+
this.fetchRecentTVShows = this.instance.fetchRecentTVShows;
|
|
39
|
+
this.fetchByFilter = this.instance.fetchByFilter;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Expose search as an instance method (already bound in constructor)
|
|
43
|
+
override search!: VegaMoviesProviderInstance['search'];
|
|
44
|
+
|
|
45
|
+
// Expose fetchMediaInfo
|
|
46
|
+
override fetchMediaInfo!: VegaMoviesProviderInstance['fetchMediaInfo'];
|
|
47
|
+
|
|
48
|
+
// Expose fetchEpisodeSources
|
|
49
|
+
override fetchEpisodeSources!: VegaMoviesProviderInstance['fetchEpisodeSources'];
|
|
50
|
+
|
|
51
|
+
// Expose fetchEpisodeServers
|
|
52
|
+
override fetchEpisodeServers!: VegaMoviesProviderInstance['fetchEpisodeServers'];
|
|
53
|
+
|
|
54
|
+
// Additional public methods
|
|
55
|
+
fetchLatest!: VegaMoviesProviderInstance['fetchLatest'];
|
|
56
|
+
fetchRecentMovies!: VegaMoviesProviderInstance['fetchRecentMovies'];
|
|
57
|
+
fetchRecentTVShows!: VegaMoviesProviderInstance['fetchRecentTVShows'];
|
|
58
|
+
fetchByFilter!: VegaMoviesProviderInstance['fetchByFilter'];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { VegaMovies };
|
|
62
|
+
export { createVegaMovies } from './create-vegamovies';
|
|
63
|
+
export default VegaMovies;
|
|
@@ -28,7 +28,10 @@ export class ExtractorManager {
|
|
|
28
28
|
* Initialize static extractors as fallbacks
|
|
29
29
|
*/
|
|
30
30
|
private initializeStaticExtractors(): void {
|
|
31
|
-
this.staticExtractors = defaultExtractors;
|
|
31
|
+
this.staticExtractors = { ...defaultExtractors };
|
|
32
|
+
for (const [key, value] of Object.entries(defaultExtractors)) {
|
|
33
|
+
this.staticExtractors[key.toLowerCase()] = value;
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
36
|
|
|
34
37
|
/**
|
|
@@ -283,6 +286,9 @@ export class ExtractorManager {
|
|
|
283
286
|
StreamTape: 'streamtape',
|
|
284
287
|
VidStreaming: 'vidstreaming',
|
|
285
288
|
MegaCloud: 'megacloud',
|
|
289
|
+
MegaUp: 'megaup',
|
|
290
|
+
MegaPlay: 'megaplay',
|
|
291
|
+
Kwik: 'kwik',
|
|
286
292
|
},
|
|
287
293
|
MediaStatus: {
|
|
288
294
|
COMPLETED: 'completed',
|
|
@@ -21,6 +21,10 @@ import {
|
|
|
21
21
|
VidHide,
|
|
22
22
|
Voe,
|
|
23
23
|
MegaUp,
|
|
24
|
+
MegaPlay,
|
|
25
|
+
GDFlix,
|
|
26
|
+
Gofile,
|
|
27
|
+
HubCloud,
|
|
24
28
|
} from '../extractors';
|
|
25
29
|
import { load } from 'cheerio';
|
|
26
30
|
import { USER_AGENT } from './utils';
|
|
@@ -87,6 +91,10 @@ export const defaultExtractors = {
|
|
|
87
91
|
VidHide: (ctx?: ExtractorContext) => VidHide(ctx || defaultExtractorContext),
|
|
88
92
|
Voe: Voe,
|
|
89
93
|
MegaUp: (ctx?: ExtractorContext) => MegaUp(ctx || defaultExtractorContext),
|
|
94
|
+
MegaPlay: (ctx?: ExtractorContext) => MegaPlay(ctx || defaultExtractorContext),
|
|
95
|
+
GDFlix: (ctx?: ExtractorContext) => GDFlix(ctx || defaultExtractorContext),
|
|
96
|
+
Gofile: (ctx?: ExtractorContext) => Gofile(ctx || defaultExtractorContext),
|
|
97
|
+
HubCloud: (ctx?: ExtractorContext) => HubCloud(ctx || defaultExtractorContext),
|
|
90
98
|
};
|
|
91
99
|
|
|
92
100
|
export const extractors = {
|
|
@@ -103,6 +111,11 @@ export const extractors = {
|
|
|
103
111
|
StreamLare: defaultExtractors.StreamLare,
|
|
104
112
|
VidMoly: defaultExtractors.VidMoly,
|
|
105
113
|
MegaCloud: defaultExtractors.MegaCloud,
|
|
114
|
+
MegaUp: defaultExtractors.MegaUp,
|
|
115
|
+
MegaPlay: defaultExtractors.MegaPlay,
|
|
116
|
+
GDFlix: defaultExtractors.GDFlix,
|
|
117
|
+
Gofile: defaultExtractors.Gofile,
|
|
118
|
+
HubCloud: defaultExtractors.HubCloud,
|
|
106
119
|
};
|
|
107
120
|
|
|
108
121
|
// Type definitions for provider and extractor instances
|
|
@@ -20,8 +20,8 @@ export const animeProviders = {
|
|
|
20
20
|
get AnimeKai() {
|
|
21
21
|
return require('../providers/anime/animekai/animekai').default;
|
|
22
22
|
},
|
|
23
|
-
get
|
|
24
|
-
return require('../providers/anime/
|
|
23
|
+
get AniKoto() {
|
|
24
|
+
return require('../providers/anime/anikoto/anikoto').default;
|
|
25
25
|
},
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -38,6 +38,9 @@ export const movieProviders = {
|
|
|
38
38
|
get YFlix() {
|
|
39
39
|
return require('../providers/movies/yflix/yflix').default;
|
|
40
40
|
},
|
|
41
|
+
get VegaMovies() {
|
|
42
|
+
return require('../providers/movies/vegamovies/vegamovies').default;
|
|
43
|
+
},
|
|
41
44
|
};
|
|
42
45
|
|
|
43
46
|
const metaProviders = {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_axios","_interopRequireDefault","require","_videoExtractor","_constants","e","__esModule","default","StreamP2P","VideoExtractor","serverName","sources","host","extract","videoUrl","headers","USER_AGENT","videoId","href","split","api","password","iv","data","encryptedHex","axios","get","encryptedData","CryptoJS","enc","Hex","parse","key","Utf8","ivWordArray","decrypted","AES","decrypt","ciphertext","mode","CBC","padding","pad","Pkcs7","decryptedStr","toString","json","JSON","value","Object","entries","error","console","_default","exports"],"sourceRoot":"..\\..\\..\\src","sources":["extractors/streamp2p.ts"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAAgD,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJhD;;AAMA,MAAMG,SAAS,SAASC,uBAAc,CAAC;EAC3BC,UAAU,GAAW,WAAW;EAChCC,OAAO,GAAa,EAAE;EAEfC,IAAI,GAAG,iCAAiC;EAEzD,MAAMC,OAAOA,CAACC,QAAa,EAA+B;IACxD,MAAMC,OAAO,GAAG;MACd,SAAS,EAAE,IAAI,CAACH,IAAI;MACpB,YAAY,EAAEI;IAChB,CAAC;;IAED;IACA,MAAMC,OAAO,GAAGH,QAAQ,CAACI,IAAI,CAACC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;;IAE3C;IACA,MAAMC,GAAG,GAAG,GAAG,IAAI,CAACR,IAAI,oBAAoBK,OAAO,EAAE;;IAErD;IACA,MAAMI,QAAQ,GAAG,kBAAkB;IACnC,MAAMC,EAAE,GAAG,kBAAkB;IAC7B,IAAI;MACF,MAAM;QAAEC,IAAI,EAAEC;MAAa,CAAC,GAAG,MAAMC,cAAK,CAACC,GAAG,CAACN,GAAG,EAAE;QAAEL;MAAQ,CAAC,CAAC;;MAEhE;MACA,MAAMY,aAAa,GAAGC,QAAQ,CAACC,GAAG,CAACC,GAAG,CAACC,KAAK,CAACP,YAAY,CAAC;;MAE1D;MACA,MAAMQ,GAAG,GAAGJ,QAAQ,CAACC,GAAG,CAACI,IAAI,CAACF,KAAK,CAACV,QAAQ,CAAC;MAC7C,MAAMa,WAAW,GAAGN,QAAQ,CAACC,GAAG,CAACI,IAAI,CAACF,KAAK,CAACT,EAAE,CAAC;;MAE/C;MACA,MAAMa,SAAS,GAAGP,QAAQ,CAACQ,GAAG,CAACC,OAAO,CAAC;QAAEC,UAAU,EAAEX;MAAc,CAAC,EAASK,GAAG,EAAE;QAChFV,EAAE,EAAEY,WAAW;QACfK,IAAI,EAAEX,QAAQ,CAACW,IAAI,CAACC,GAAG;QACvBC,OAAO,EAAEb,QAAQ,CAACc,GAAG,CAACC;MACxB,CAAC,CAAC;MAEF,MAAMC,YAAY,GAAGT,SAAS,CAACU,QAAQ,CAACjB,QAAQ,CAACC,GAAG,CAACI,IAAI,CAAC;MAC1D,MAAMa,IAAI,GAAGC,IAAI,CAAChB,KAAK,CAACa,YAAY,CAAC;;MAErC;MACA;;MAEA,KAAK,MAAM,CAACZ,GAAG,EAAEgB,KAAK,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACnC,OAAO,CAAC,EAAE;QAClD;MAAA;IAEJ,CAAC,CAAC,OAAOoC,KAAK,EAAE;MACdC,OAAO,CAACD,KAAK,CAAC,iBAAiB,EAAEA,KAAK,CAAC;IACzC;EACF;AACF;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAA/C,OAAA,GAEcC,SAAS","ignoreList":[]}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.AniWatchTv = void 0;
|
|
7
|
-
var _index = require("../../../models/index.js");
|
|
8
|
-
var _createProviderContext = require("../../../utils/create-provider-context.js");
|
|
9
|
-
var _createAniwatchtv = _interopRequireDefault(require("./create-aniwatchtv.js"));
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
// Backward compatibility wrapper class
|
|
12
|
-
class AniWatchTv extends _index.AnimeParser {
|
|
13
|
-
constructor(customBaseURL) {
|
|
14
|
-
super();
|
|
15
|
-
|
|
16
|
-
// Use the context factory to create a complete context with all defaults
|
|
17
|
-
const defaultContext = (0, _createProviderContext.createProviderContext)();
|
|
18
|
-
this.instance = (0, _createAniwatchtv.default)(defaultContext, customBaseURL);
|
|
19
|
-
this.logo = this.instance.logo;
|
|
20
|
-
this.name = this.instance.name;
|
|
21
|
-
this.baseUrl = this.instance.baseUrl;
|
|
22
|
-
this.classPath = this.instance.classPath;
|
|
23
|
-
this.isNSFW = this.instance.isNSFW ?? false;
|
|
24
|
-
this.isWorking = this.instance.isWorking ?? true;
|
|
25
|
-
this.isDubAvailableSeparately = this.instance.isDubAvailableSeparately ?? false;
|
|
26
|
-
|
|
27
|
-
// Bind all methods to preserve proper typing
|
|
28
|
-
this.search = this.instance.search;
|
|
29
|
-
this.fetchAdvancedSearch = this.instance.fetchAdvancedSearch;
|
|
30
|
-
this.fetchTopAiring = this.instance.fetchTopAiring;
|
|
31
|
-
this.fetchMostPopular = this.instance.fetchMostPopular;
|
|
32
|
-
this.fetchMostFavorite = this.instance.fetchMostFavorite;
|
|
33
|
-
this.fetchLatestCompleted = this.instance.fetchLatestCompleted;
|
|
34
|
-
this.fetchRecentlyUpdated = this.instance.fetchRecentlyUpdated;
|
|
35
|
-
this.fetchRecentlyAdded = this.instance.fetchRecentlyAdded;
|
|
36
|
-
this.fetchTopUpcoming = this.instance.fetchTopUpcoming;
|
|
37
|
-
this.fetchStudio = this.instance.fetchStudio;
|
|
38
|
-
this.fetchSubbedAnime = this.instance.fetchSubbedAnime;
|
|
39
|
-
this.fetchDubbedAnime = this.instance.fetchDubbedAnime;
|
|
40
|
-
this.fetchMovie = this.instance.fetchMovie;
|
|
41
|
-
this.fetchTV = this.instance.fetchTV;
|
|
42
|
-
this.fetchOVA = this.instance.fetchOVA;
|
|
43
|
-
this.fetchONA = this.instance.fetchONA;
|
|
44
|
-
this.fetchSpecial = this.instance.fetchSpecial;
|
|
45
|
-
this.fetchGenres = this.instance.fetchGenres;
|
|
46
|
-
this.genreSearch = this.instance.genreSearch;
|
|
47
|
-
this.fetchSchedule = this.instance.fetchSchedule;
|
|
48
|
-
this.fetchSpotlight = this.instance.fetchSpotlight;
|
|
49
|
-
this.fetchSearchSuggestions = this.instance.fetchSearchSuggestions;
|
|
50
|
-
this.fetchContinueWatching = this.instance.fetchContinueWatching;
|
|
51
|
-
this.fetchWatchList = this.instance.fetchWatchList;
|
|
52
|
-
this.fetchAnimeInfo = this.instance.fetchAnimeInfo;
|
|
53
|
-
this.fetchEpisodeSources = this.instance.fetchEpisodeSources;
|
|
54
|
-
this.fetchEpisodeServers = this.instance.fetchEpisodeServers;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @param query Search query
|
|
59
|
-
* @param page Page number (optional)
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Fetch advanced anime search results with various filters.
|
|
64
|
-
*
|
|
65
|
-
* @param page Page number (default: 1)
|
|
66
|
-
* @param type One of (Optional): movie, tv, ova, ona, special, music
|
|
67
|
-
* @param status One of (Optional): finished_airing, currently_airing, not_yet_aired
|
|
68
|
-
* @param rated One of (Optional): g, pg, pg_13, r, r_plus, rx
|
|
69
|
-
* @param score Number from 1 to 10 (Optional)
|
|
70
|
-
* @param season One of (Optional): spring, summer, fall, winter
|
|
71
|
-
* @param language One of (Optional): sub, dub, sub_dub
|
|
72
|
-
* @param startDate Start date object { year, month, day } (Optional)
|
|
73
|
-
* @param endDate End date object { year, month, day } (Optional)
|
|
74
|
-
* @param sort One of (Optional): recently_added, recently_updated, score, name_az, released_date, most_watched
|
|
75
|
-
* @param genres Array of genres (Optional): action, adventure, cars, comedy, dementia, demons, mystery, drama, ecchi, fantasy, game, historical, horror, kids, magic, martial_arts, mecha, music, parody, samurai, romance, school, sci_fi, shoujo, shoujo_ai, shounen, shounen_ai, space, sports, super_power, vampire, harem, military, slice_of_life, supernatural, police, psychological, thriller, seinen, isekai, josei
|
|
76
|
-
* @returns A Promise resolving to the search results.
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @param page number
|
|
81
|
-
*/
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @param page number
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @param page number
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @param page number
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @param page number
|
|
97
|
-
*/
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @param page number
|
|
101
|
-
*/
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @param page number
|
|
105
|
-
*/
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @param studio Studio id, e.g. "toei-animation"
|
|
109
|
-
* @param page page number (optional) `default 1`
|
|
110
|
-
*/
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @param page number
|
|
114
|
-
*/
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @param page number
|
|
118
|
-
*/
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @param page number
|
|
122
|
-
*/
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* @param page number
|
|
126
|
-
*/
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @param page number
|
|
130
|
-
*/
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @param page number
|
|
134
|
-
*/
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* @param page number
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @param page number
|
|
142
|
-
*/
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Fetches the schedule for a given date.
|
|
146
|
-
* @param date The date in format 'YYYY-MM-DD'. Defaults to the current date.
|
|
147
|
-
* @returns A promise that resolves to an object containing the search results.
|
|
148
|
-
*/
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Fetches the list of episodes that the user is currently watching.
|
|
152
|
-
* @param connectSid The session ID of the user. Note: This can be obtained from the browser cookies (needs to be signed in)
|
|
153
|
-
* @returns A promise that resolves to an array of anime episodes.
|
|
154
|
-
*/
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* @param id Anime id
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @param episodeId Episode id
|
|
163
|
-
* @param server server type (default `VidCloud`) (optional)
|
|
164
|
-
* @param subOrDub sub or dub (default `SubOrDub.SUB`) (optional)
|
|
165
|
-
*/
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Method not implemented in AniWatchTv provider.
|
|
169
|
-
* @param episodeId Episode id
|
|
170
|
-
*/
|
|
171
|
-
}
|
|
172
|
-
exports.AniWatchTv = AniWatchTv;
|
|
173
|
-
var _default = exports.default = AniWatchTv; // (async () => {
|
|
174
|
-
// // tsx ./src/providers/anime/aniwatchtv/aniwatchtv.ts
|
|
175
|
-
// const aniwatchtv = new AniWatchTv();
|
|
176
|
-
// const anime = await aniwatchtv.search('Dandadan');
|
|
177
|
-
// const info = await aniwatchtv.fetchAnimeInfo('solo-leveling-season-2-arise-from-the-shadow-19413');
|
|
178
|
-
// // console.log(info.episodes);
|
|
179
|
-
// const sources = await aniwatchtv.fetchEpisodeServers(
|
|
180
|
-
// 'solo-leveling-season-2-arise-from-the-shadow-19413$episode$131394',
|
|
181
|
-
// // 'megacloud-hd-2',
|
|
182
|
-
// // undefined,
|
|
183
|
-
// SubOrDub.DUB
|
|
184
|
-
// );
|
|
185
|
-
// // console.log(sources);
|
|
186
|
-
// })();
|
|
187
|
-
//# sourceMappingURL=aniwatchtv.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","_createProviderContext","_createAniwatchtv","_interopRequireDefault","e","__esModule","default","AniWatchTv","AnimeParser","constructor","customBaseURL","defaultContext","createProviderContext","instance","createAniWatchTv","logo","name","baseUrl","classPath","isNSFW","isWorking","isDubAvailableSeparately","search","fetchAdvancedSearch","fetchTopAiring","fetchMostPopular","fetchMostFavorite","fetchLatestCompleted","fetchRecentlyUpdated","fetchRecentlyAdded","fetchTopUpcoming","fetchStudio","fetchSubbedAnime","fetchDubbedAnime","fetchMovie","fetchTV","fetchOVA","fetchONA","fetchSpecial","fetchGenres","genreSearch","fetchSchedule","fetchSpotlight","fetchSearchSuggestions","fetchContinueWatching","fetchWatchList","fetchAnimeInfo","fetchEpisodeSources","fetchEpisodeServers","exports","_default"],"sourceRoot":"..\\..\\..\\..\\..\\src","sources":["providers/anime/aniwatchtv/aniwatchtv.ts"],"mappings":"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ACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAEE;AACF;AACA;;EAGE;AACF;AACA;;EAEE;AACF;AACA;AACA;AACA;;EAIE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;;EAEE;AACF;AACA;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AAEA;AAACC,OAAA,CAAA1C,UAAA,GAAAA,UAAA;AAAA,IAAA2C,QAAA,GAAAD,OAAA,CAAA3C,OAAA,GAEcC,UAAU,EAEzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|