react-native-consumet 4.0.0 → 5.1.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/android/src/androidTest/java/com/consumet/TestSupport.kt +12 -6
- package/android/src/androidTest/java/com/consumet/WebViewContractTest.kt +30 -2
- package/android/src/main/java/com/consumet/HttpRequestModule.kt +27 -13
- package/ios/Consumet.mm +42 -19
- package/lib/commonjs/NativeConsumet.ts +13 -8
- package/lib/commonjs/extension-registry.json +35 -64
- package/lib/commonjs/extension-registry.json.sig +1 -1
- package/lib/commonjs/extractors/gofile.js +47 -10
- package/lib/commonjs/extractors/gofile.js.map +1 -1
- package/lib/commonjs/extractors/hubcloud.js +49 -42
- package/lib/commonjs/extractors/hubcloud.js.map +1 -1
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/models/index.js +9 -1
- package/lib/commonjs/models/index.js.map +1 -1
- package/lib/commonjs/models/meta-error.js +6 -3
- package/lib/commonjs/models/meta-error.js.map +1 -1
- package/lib/commonjs/models/provider-error.js +54 -0
- package/lib/commonjs/models/provider-error.js.map +1 -0
- package/lib/commonjs/models/types.js +3 -2
- package/lib/commonjs/models/types.js.map +1 -1
- package/lib/commonjs/providers/anime/anikoto/create-anikoto.js +90 -25
- package/lib/commonjs/providers/anime/anikoto/create-anikoto.js.map +1 -1
- package/lib/commonjs/providers/anime/{hianime.js → anikoto/hianime.js} +4 -4
- package/lib/commonjs/providers/anime/anikoto/hianime.js.map +1 -0
- package/lib/commonjs/providers/anime/animepahe/create-animepahe.js +110 -18
- package/lib/commonjs/providers/anime/animepahe/create-animepahe.js.map +1 -1
- package/lib/commonjs/providers/anime/index.js +1 -9
- package/lib/commonjs/providers/anime/index.js.map +1 -1
- package/lib/commonjs/providers/anime/reanime/create-reanime.js +6 -2
- package/lib/commonjs/providers/anime/reanime/create-reanime.js.map +1 -1
- package/lib/commonjs/providers/common/concurrency.js +38 -0
- package/lib/commonjs/providers/common/concurrency.js.map +1 -0
- package/lib/commonjs/providers/common/errors.js +77 -0
- package/lib/commonjs/providers/common/errors.js.map +1 -0
- package/lib/commonjs/providers/common/servers.js +9 -3
- package/lib/commonjs/providers/common/servers.js.map +1 -1
- package/lib/commonjs/providers/common/ttl-cache.js +59 -0
- package/lib/commonjs/providers/common/ttl-cache.js.map +1 -0
- package/lib/commonjs/providers/manga/asurascans.js +29 -7
- package/lib/commonjs/providers/manga/asurascans.js.map +1 -1
- package/lib/commonjs/providers/meta/anilist-media.js +23 -13
- package/lib/commonjs/providers/meta/anilist-media.js.map +1 -1
- package/lib/commonjs/providers/meta/anilist.js +63 -18
- package/lib/commonjs/providers/meta/anilist.js.map +1 -1
- package/lib/commonjs/providers/meta/mal.js +3 -3
- package/lib/commonjs/providers/meta/mal.js.map +1 -1
- package/lib/commonjs/providers/meta/shared.js +7 -2
- package/lib/commonjs/providers/meta/shared.js.map +1 -1
- package/lib/commonjs/providers/meta/tmdb.js +151 -45
- package/lib/commonjs/providers/meta/tmdb.js.map +1 -1
- package/lib/commonjs/providers/movies/index.js +0 -4
- package/lib/commonjs/providers/movies/index.js.map +1 -1
- package/lib/commonjs/providers/movies/multimovies/create-multimovies.js +2 -1
- package/lib/commonjs/providers/movies/multimovies/create-multimovies.js.map +1 -1
- package/lib/commonjs/providers/movies/multistream/create-multistream.js +1 -1
- package/lib/commonjs/providers/movies/multistream/create-multistream.js.map +1 -1
- package/lib/commonjs/providers/movies/netflixmirror/create-netflixmirror.js +44 -11
- package/lib/commonjs/providers/movies/netflixmirror/create-netflixmirror.js.map +1 -1
- package/lib/commonjs/providers/movies/site-paths.js +3 -2
- package/lib/commonjs/providers/movies/site-paths.js.map +1 -1
- package/lib/commonjs/providers/movies/vegamovies/create-vegamovies.js +95 -44
- package/lib/commonjs/providers/movies/vegamovies/create-vegamovies.js.map +1 -1
- package/lib/commonjs/providers/provider-class.js +1 -1
- package/lib/commonjs/utils/ExtractorManager.js +90 -11
- package/lib/commonjs/utils/ExtractorManager.js.map +1 -1
- package/lib/commonjs/utils/ProviderManager.js +54 -18
- package/lib/commonjs/utils/ProviderManager.js.map +1 -1
- package/lib/commonjs/utils/extension-modules.js +136 -24
- package/lib/commonjs/utils/extension-modules.js.map +1 -1
- package/lib/commonjs/utils/registry-schema.js +3 -2
- package/lib/commonjs/utils/registry-schema.js.map +1 -1
- package/lib/commonjs/utils/tmdb.js +53 -8
- package/lib/commonjs/utils/tmdb.js.map +1 -1
- package/lib/module/NativeConsumet.ts +13 -8
- package/lib/module/extension-registry.json +35 -64
- package/lib/module/extension-registry.json.sig +1 -1
- package/lib/module/extractors/gofile.js +47 -10
- package/lib/module/extractors/gofile.js.map +1 -1
- package/lib/module/extractors/hubcloud.js +49 -42
- package/lib/module/extractors/hubcloud.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/models/index.js +1 -0
- package/lib/module/models/index.js.map +1 -1
- package/lib/module/models/meta-error.js +7 -3
- package/lib/module/models/meta-error.js.map +1 -1
- package/lib/module/models/provider-error.js +49 -0
- package/lib/module/models/provider-error.js.map +1 -0
- package/lib/module/models/types.js +3 -2
- package/lib/module/models/types.js.map +1 -1
- package/lib/module/providers/anime/anikoto/create-anikoto.js +91 -25
- package/lib/module/providers/anime/anikoto/create-anikoto.js.map +1 -1
- package/lib/module/providers/anime/{hianime.js → anikoto/hianime.js} +4 -4
- package/lib/module/providers/anime/anikoto/hianime.js.map +1 -0
- package/lib/module/providers/anime/animepahe/create-animepahe.js +111 -18
- package/lib/module/providers/anime/animepahe/create-animepahe.js.map +1 -1
- package/lib/module/providers/anime/index.js +1 -9
- package/lib/module/providers/anime/index.js.map +1 -1
- package/lib/module/providers/anime/reanime/create-reanime.js +6 -2
- package/lib/module/providers/anime/reanime/create-reanime.js.map +1 -1
- package/lib/module/providers/common/concurrency.js +34 -0
- package/lib/module/providers/common/concurrency.js.map +1 -0
- package/lib/module/providers/common/errors.js +70 -0
- package/lib/module/providers/common/errors.js.map +1 -0
- package/lib/module/providers/common/servers.js +10 -3
- package/lib/module/providers/common/servers.js.map +1 -1
- package/lib/module/providers/common/ttl-cache.js +54 -0
- package/lib/module/providers/common/ttl-cache.js.map +1 -0
- package/lib/module/providers/manga/asurascans.js +29 -7
- package/lib/module/providers/manga/asurascans.js.map +1 -1
- package/lib/module/providers/meta/anilist-media.js +23 -13
- package/lib/module/providers/meta/anilist-media.js.map +1 -1
- package/lib/module/providers/meta/anilist.js +64 -19
- package/lib/module/providers/meta/anilist.js.map +1 -1
- package/lib/module/providers/meta/mal.js +3 -3
- package/lib/module/providers/meta/mal.js.map +1 -1
- package/lib/module/providers/meta/shared.js +8 -3
- package/lib/module/providers/meta/shared.js.map +1 -1
- package/lib/module/providers/meta/tmdb.js +153 -47
- package/lib/module/providers/meta/tmdb.js.map +1 -1
- package/lib/module/providers/movies/index.js +0 -4
- package/lib/module/providers/movies/index.js.map +1 -1
- package/lib/module/providers/movies/multimovies/create-multimovies.js +2 -1
- package/lib/module/providers/movies/multimovies/create-multimovies.js.map +1 -1
- package/lib/module/providers/movies/multistream/create-multistream.js +1 -1
- package/lib/module/providers/movies/multistream/create-multistream.js.map +1 -1
- package/lib/module/providers/movies/netflixmirror/create-netflixmirror.js +44 -11
- package/lib/module/providers/movies/netflixmirror/create-netflixmirror.js.map +1 -1
- package/lib/module/providers/movies/site-paths.js +3 -2
- package/lib/module/providers/movies/site-paths.js.map +1 -1
- package/lib/module/providers/movies/vegamovies/create-vegamovies.js +95 -44
- package/lib/module/providers/movies/vegamovies/create-vegamovies.js.map +1 -1
- package/lib/module/providers/provider-class.js +1 -1
- package/lib/module/utils/ExtractorManager.js +89 -11
- package/lib/module/utils/ExtractorManager.js.map +1 -1
- package/lib/module/utils/ProviderManager.js +54 -18
- package/lib/module/utils/ProviderManager.js.map +1 -1
- package/lib/module/utils/extension-modules.js +136 -24
- package/lib/module/utils/extension-modules.js.map +1 -1
- package/lib/module/utils/registry-schema.js +3 -2
- package/lib/module/utils/registry-schema.js.map +1 -1
- package/lib/module/utils/tmdb.js +51 -7
- package/lib/module/utils/tmdb.js.map +1 -1
- package/lib/typescript/commonjs/src/NativeConsumet.d.ts +13 -8
- package/lib/typescript/commonjs/src/NativeConsumet.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/gofile.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/hubcloud.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +4 -3
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/extension-manifest.d.ts +2 -0
- package/lib/typescript/commonjs/src/models/extension-manifest.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/models/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/meta-error.d.ts +4 -1
- package/lib/typescript/commonjs/src/models/meta-error.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/provider-error.d.ts +32 -0
- package/lib/typescript/commonjs/src/models/provider-error.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/models/types.d.ts +31 -3
- package/lib/typescript/commonjs/src/models/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/anikoto/create-anikoto.d.ts.map +1 -1
- package/lib/typescript/{module/src/providers/anime → commonjs/src/providers/anime/anikoto}/hianime.d.ts +2 -2
- package/lib/typescript/commonjs/src/providers/anime/anikoto/hianime.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/anime/animepahe/create-animepahe.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/index.d.ts +0 -6
- package/lib/typescript/commonjs/src/providers/anime/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/reanime/create-reanime.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/common/concurrency.d.ts +8 -0
- package/lib/typescript/commonjs/src/providers/common/concurrency.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/common/errors.d.ts +36 -0
- package/lib/typescript/commonjs/src/providers/common/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/common/servers.d.ts +2 -1
- package/lib/typescript/commonjs/src/providers/common/servers.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/common/ttl-cache.d.ts +21 -0
- package/lib/typescript/commonjs/src/providers/common/ttl-cache.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/providers/manga/asurascans.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/meta/anilist-media.d.ts +19 -7
- package/lib/typescript/commonjs/src/providers/meta/anilist-media.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts +15 -7
- package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/meta/mal.d.ts +1 -1
- package/lib/typescript/commonjs/src/providers/meta/shared.d.ts +4 -1
- package/lib/typescript/commonjs/src/providers/meta/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/meta/tmdb.d.ts +65 -6
- package/lib/typescript/commonjs/src/providers/meta/tmdb.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/index.d.ts +0 -3
- package/lib/typescript/commonjs/src/providers/movies/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/multimovies/create-multimovies.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/netflixmirror/create-netflixmirror.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/site-paths.d.ts +3 -2
- package/lib/typescript/commonjs/src/providers/movies/site-paths.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/vegamovies/create-vegamovies.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/provider-class.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/ExtractorManager.d.ts +29 -1
- package/lib/typescript/commonjs/src/utils/ExtractorManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/ProviderManager.d.ts +19 -5
- package/lib/typescript/commonjs/src/utils/ProviderManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/extension-modules.d.ts +33 -8
- package/lib/typescript/commonjs/src/utils/extension-modules.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/registry-schema.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/registry-schema.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/tmdb.d.ts +18 -3
- package/lib/typescript/commonjs/src/utils/tmdb.d.ts.map +1 -1
- package/lib/typescript/module/src/NativeConsumet.d.ts +13 -8
- package/lib/typescript/module/src/NativeConsumet.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/gofile.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/hubcloud.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +4 -3
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/models/extension-manifest.d.ts +2 -0
- package/lib/typescript/module/src/models/extension-manifest.d.ts.map +1 -1
- package/lib/typescript/module/src/models/index.d.ts +1 -0
- package/lib/typescript/module/src/models/index.d.ts.map +1 -1
- package/lib/typescript/module/src/models/meta-error.d.ts +4 -1
- package/lib/typescript/module/src/models/meta-error.d.ts.map +1 -1
- package/lib/typescript/module/src/models/provider-error.d.ts +32 -0
- package/lib/typescript/module/src/models/provider-error.d.ts.map +1 -0
- package/lib/typescript/module/src/models/types.d.ts +31 -3
- package/lib/typescript/module/src/models/types.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/anikoto/create-anikoto.d.ts.map +1 -1
- package/lib/typescript/{commonjs/src/providers/anime → module/src/providers/anime/anikoto}/hianime.d.ts +2 -2
- package/lib/typescript/module/src/providers/anime/anikoto/hianime.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/anime/animepahe/create-animepahe.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/index.d.ts +0 -6
- package/lib/typescript/module/src/providers/anime/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/reanime/create-reanime.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/common/concurrency.d.ts +8 -0
- package/lib/typescript/module/src/providers/common/concurrency.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/common/errors.d.ts +36 -0
- package/lib/typescript/module/src/providers/common/errors.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/common/servers.d.ts +2 -1
- package/lib/typescript/module/src/providers/common/servers.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/common/ttl-cache.d.ts +21 -0
- package/lib/typescript/module/src/providers/common/ttl-cache.d.ts.map +1 -0
- package/lib/typescript/module/src/providers/manga/asurascans.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/meta/anilist-media.d.ts +19 -7
- package/lib/typescript/module/src/providers/meta/anilist-media.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/meta/anilist.d.ts +15 -7
- package/lib/typescript/module/src/providers/meta/anilist.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/meta/mal.d.ts +1 -1
- package/lib/typescript/module/src/providers/meta/shared.d.ts +4 -1
- package/lib/typescript/module/src/providers/meta/shared.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/meta/tmdb.d.ts +65 -6
- package/lib/typescript/module/src/providers/meta/tmdb.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/index.d.ts +0 -3
- package/lib/typescript/module/src/providers/movies/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/multimovies/create-multimovies.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/netflixmirror/create-netflixmirror.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/site-paths.d.ts +3 -2
- package/lib/typescript/module/src/providers/movies/site-paths.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/vegamovies/create-vegamovies.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/provider-class.d.ts +1 -1
- package/lib/typescript/module/src/utils/ExtractorManager.d.ts +29 -1
- package/lib/typescript/module/src/utils/ExtractorManager.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/ProviderManager.d.ts +19 -5
- package/lib/typescript/module/src/utils/ProviderManager.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/extension-modules.d.ts +33 -8
- package/lib/typescript/module/src/utils/extension-modules.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/registry-schema.d.ts +1 -1
- package/lib/typescript/module/src/utils/registry-schema.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/tmdb.d.ts +18 -3
- package/lib/typescript/module/src/utils/tmdb.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/NativeConsumet.ts +13 -8
- package/src/extension-registry.json +35 -64
- package/src/extension-registry.json.sig +1 -1
- package/src/extractors/gofile.ts +52 -11
- package/src/extractors/hubcloud.ts +62 -49
- package/src/index.tsx +4 -1
- package/src/models/extension-manifest.ts +3 -0
- package/src/models/index.ts +1 -0
- package/src/models/meta-error.ts +7 -3
- package/src/models/provider-error.ts +57 -0
- package/src/models/types.ts +27 -3
- package/src/providers/anime/anikoto/create-anikoto.ts +75 -27
- package/src/providers/anime/{hianime.ts → anikoto/hianime.ts} +5 -5
- package/src/providers/anime/animepahe/create-animepahe.ts +101 -19
- package/src/providers/anime/index.ts +0 -8
- package/src/providers/anime/reanime/create-reanime.ts +8 -1
- package/src/providers/common/concurrency.ts +32 -0
- package/src/providers/common/errors.ts +84 -0
- package/src/providers/common/servers.ts +7 -3
- package/src/providers/common/ttl-cache.ts +65 -0
- package/src/providers/manga/asurascans.ts +31 -7
- package/src/providers/meta/anilist-media.ts +20 -15
- package/src/providers/meta/anilist.ts +59 -17
- package/src/providers/meta/mal.ts +3 -3
- package/src/providers/meta/shared.ts +10 -3
- package/src/providers/meta/tmdb.ts +173 -38
- package/src/providers/movies/index.ts +0 -4
- package/src/providers/movies/multimovies/create-multimovies.ts +1 -0
- package/src/providers/movies/multistream/create-multistream.ts +1 -1
- package/src/providers/movies/netflixmirror/create-netflixmirror.ts +49 -11
- package/src/providers/movies/site-paths.ts +3 -2
- package/src/providers/movies/vegamovies/create-vegamovies.ts +93 -42
- package/src/providers/provider-class.ts +1 -1
- package/src/utils/ExtractorManager.ts +97 -11
- package/src/utils/ProviderManager.ts +74 -22
- package/src/utils/extension-modules.ts +145 -32
- package/src/utils/registry-schema.ts +2 -1
- package/src/utils/tmdb.ts +53 -7
- package/lib/commonjs/providers/anime/anineko/anineko.js +0 -11
- package/lib/commonjs/providers/anime/anineko/anineko.js.map +0 -1
- package/lib/commonjs/providers/anime/anineko/create-anineko.js +0 -358
- package/lib/commonjs/providers/anime/anineko/create-anineko.js.map +0 -1
- package/lib/commonjs/providers/anime/hianime.js.map +0 -1
- package/lib/commonjs/providers/anime/zoro/create-zoro.js +0 -362
- package/lib/commonjs/providers/anime/zoro/create-zoro.js.map +0 -1
- package/lib/commonjs/providers/anime/zoro/zoro.js +0 -11
- package/lib/commonjs/providers/anime/zoro/zoro.js.map +0 -1
- package/lib/commonjs/providers/movies/himovies/create-himovies.js +0 -231
- package/lib/commonjs/providers/movies/himovies/create-himovies.js.map +0 -1
- package/lib/commonjs/providers/movies/himovies/himovies.js +0 -11
- package/lib/commonjs/providers/movies/himovies/himovies.js.map +0 -1
- package/lib/module/providers/anime/anineko/anineko.js +0 -7
- package/lib/module/providers/anime/anineko/anineko.js.map +0 -1
- package/lib/module/providers/anime/anineko/create-anineko.js +0 -354
- package/lib/module/providers/anime/anineko/create-anineko.js.map +0 -1
- package/lib/module/providers/anime/hianime.js.map +0 -1
- package/lib/module/providers/anime/zoro/create-zoro.js +0 -358
- package/lib/module/providers/anime/zoro/create-zoro.js.map +0 -1
- package/lib/module/providers/anime/zoro/zoro.js +0 -7
- package/lib/module/providers/anime/zoro/zoro.js.map +0 -1
- package/lib/module/providers/movies/himovies/create-himovies.js +0 -227
- package/lib/module/providers/movies/himovies/create-himovies.js.map +0 -1
- package/lib/module/providers/movies/himovies/himovies.js +0 -7
- package/lib/module/providers/movies/himovies/himovies.js.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/anineko/anineko.d.ts +0 -5
- package/lib/typescript/commonjs/src/providers/anime/anineko/anineko.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/anineko/create-anineko.d.ts +0 -52
- package/lib/typescript/commonjs/src/providers/anime/anineko/create-anineko.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/hianime.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/zoro/create-zoro.d.ts +0 -49
- package/lib/typescript/commonjs/src/providers/anime/zoro/create-zoro.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/zoro/zoro.d.ts +0 -5
- package/lib/typescript/commonjs/src/providers/anime/zoro/zoro.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/movies/himovies/create-himovies.d.ts +0 -28
- package/lib/typescript/commonjs/src/providers/movies/himovies/create-himovies.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/movies/himovies/himovies.d.ts +0 -5
- package/lib/typescript/commonjs/src/providers/movies/himovies/himovies.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/anineko/anineko.d.ts +0 -5
- package/lib/typescript/module/src/providers/anime/anineko/anineko.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/anineko/create-anineko.d.ts +0 -52
- package/lib/typescript/module/src/providers/anime/anineko/create-anineko.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/hianime.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/zoro/create-zoro.d.ts +0 -49
- package/lib/typescript/module/src/providers/anime/zoro/create-zoro.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/zoro/zoro.d.ts +0 -5
- package/lib/typescript/module/src/providers/anime/zoro/zoro.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/movies/himovies/create-himovies.d.ts +0 -28
- package/lib/typescript/module/src/providers/movies/himovies/create-himovies.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/movies/himovies/himovies.d.ts +0 -5
- package/lib/typescript/module/src/providers/movies/himovies/himovies.d.ts.map +0 -1
- package/src/providers/anime/anineko/anineko.ts +0 -6
- package/src/providers/anime/anineko/create-anineko.ts +0 -394
- package/src/providers/anime/zoro/create-zoro.ts +0 -398
- package/src/providers/anime/zoro/zoro.ts +0 -6
- package/src/providers/movies/himovies/create-himovies.ts +0 -252
- package/src/providers/movies/himovies/himovies.ts +0 -6
|
@@ -57,10 +57,14 @@ class TestPromise : Promise {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* Plain-HTTP server on 127.0.0.1 for WebView tests. Serves [pages] (path to HTML body)
|
|
61
|
-
* answers `/hang` and returns
|
|
60
|
+
* Plain-HTTP server on 127.0.0.1 for WebView tests. Serves [pages] (path to HTML body) and
|
|
61
|
+
* [documents] (path to content type and body, sent as they are), never answers `/hang` and returns
|
|
62
|
+
* 404 for anything else.
|
|
62
63
|
*/
|
|
63
|
-
class LocalHttpServer(
|
|
64
|
+
class LocalHttpServer(
|
|
65
|
+
private val pages: Map<String, String>,
|
|
66
|
+
private val documents: Map<String, Pair<String, String>> = emptyMap(),
|
|
67
|
+
) : Closeable {
|
|
64
68
|
private val socket = ServerSocket(0, 50, InetAddress.getByName("127.0.0.1"))
|
|
65
69
|
private val hanging = Collections.synchronizedList(mutableListOf<Socket>())
|
|
66
70
|
|
|
@@ -90,13 +94,15 @@ class LocalHttpServer(private val pages: Map<String, String>) : Closeable {
|
|
|
90
94
|
hanging.add(client)
|
|
91
95
|
return
|
|
92
96
|
}
|
|
97
|
+
val document = documents[path]
|
|
93
98
|
val body = pages[path]
|
|
94
99
|
val html = "<!DOCTYPE html><html><head><title>t</title></head><body>${body ?: "not found"}</body></html>"
|
|
95
|
-
val bytes = html.toByteArray(Charsets.UTF_8)
|
|
96
|
-
val status = if (body != null) "200 OK" else "404 Not Found"
|
|
100
|
+
val bytes = (document?.second ?: html).toByteArray(Charsets.UTF_8)
|
|
101
|
+
val status = if (document != null || body != null) "200 OK" else "404 Not Found"
|
|
102
|
+
val contentType = document?.first ?: "text/html"
|
|
97
103
|
client.getOutputStream().apply {
|
|
98
104
|
write(
|
|
99
|
-
("HTTP/1.1 $status\r\nContent-Type:
|
|
105
|
+
("HTTP/1.1 $status\r\nContent-Type: $contentType; charset=utf-8\r\n" +
|
|
100
106
|
"Content-Length: ${bytes.size}\r\nConnection: close\r\n\r\n").toByteArray()
|
|
101
107
|
)
|
|
102
108
|
write(bytes)
|
|
@@ -25,7 +25,7 @@ import java.util.concurrent.TimeUnit
|
|
|
25
25
|
/**
|
|
26
26
|
* Runs the Android WebView requests against a local HTTP server and checks the contract in
|
|
27
27
|
* src/NativeConsumet.ts (NAT-1): ignored sub-resource failures, the final URL after a challenge
|
|
28
|
-
* page, and WEBVIEW_ERROR and TIMEOUT rejections.
|
|
28
|
+
* page, JSON read without the settle delay, and WEBVIEW_ERROR and TIMEOUT rejections.
|
|
29
29
|
*/
|
|
30
30
|
@RunWith(AndroidJUnit4::class)
|
|
31
31
|
class WebViewContractTest {
|
|
@@ -33,6 +33,10 @@ class WebViewContractTest {
|
|
|
33
33
|
// Nothing listens on port 1: connections are refused straight away.
|
|
34
34
|
private const val REFUSED = "http://127.0.0.1:1/"
|
|
35
35
|
private const val FAILING_IMAGE = "<img src=\"${REFUSED}missing.png\">"
|
|
36
|
+
private const val JSON = "{\"marker\":\"json document\"}"
|
|
37
|
+
|
|
38
|
+
// HttpRequestModule.CAPTURE_DELAY_MS, which HTML pages wait and JSON documents don't.
|
|
39
|
+
private const val CAPTURE_DELAY_MS = 1500L
|
|
36
40
|
|
|
37
41
|
@BeforeClass
|
|
38
42
|
@JvmStatic
|
|
@@ -55,7 +59,8 @@ class WebViewContractTest {
|
|
|
55
59
|
"setTimeout(function() { location.replace('/plain'); }, 2500);</script>",
|
|
56
60
|
"/unreadable" to "<script>Object.defineProperty(Element.prototype, 'outerHTML', " +
|
|
57
61
|
"{ get: function() { throw new Error('unreadable'); } });</script>",
|
|
58
|
-
)
|
|
62
|
+
),
|
|
63
|
+
mapOf("/data" to ("application/json" to JSON)),
|
|
59
64
|
)
|
|
60
65
|
clearCookies()
|
|
61
66
|
}
|
|
@@ -103,6 +108,20 @@ class WebViewContractTest {
|
|
|
103
108
|
assertTrue(result.getString("html")!!.contains("plain page"))
|
|
104
109
|
}
|
|
105
110
|
|
|
111
|
+
@Test
|
|
112
|
+
fun getRequestReadsAJsonDocumentWithoutTheSettleDelay() {
|
|
113
|
+
// An HTML page first, which also warms the WebView up: it is read CAPTURE_DELAY_MS after
|
|
114
|
+
// it finished loading.
|
|
115
|
+
val htmlMs = timedGet(server.url("/plain")).second
|
|
116
|
+
val (json, jsonMs) = timedGet(server.url("/data"))
|
|
117
|
+
|
|
118
|
+
assertNull(json.message, json.code)
|
|
119
|
+
val result = json.value as ReadableMap
|
|
120
|
+
assertEquals(server.url("/data"), result.getString("url"))
|
|
121
|
+
assertTrue(result.getString("html")!!.contains("json document"))
|
|
122
|
+
assertTrue("JSON took ${jsonMs} ms, HTML ${htmlMs} ms", jsonMs < htmlMs - CAPTURE_DELAY_MS / 2)
|
|
123
|
+
}
|
|
124
|
+
|
|
106
125
|
@Test
|
|
107
126
|
fun unreadablePageRejectsWithWebViewError() {
|
|
108
127
|
val promise = TestPromise()
|
|
@@ -135,6 +154,15 @@ class WebViewContractTest {
|
|
|
135
154
|
assertNull(promise.value)
|
|
136
155
|
}
|
|
137
156
|
|
|
157
|
+
/** A GET of [url] that has settled, and the milliseconds it took. */
|
|
158
|
+
private fun timedGet(url: String): Pair<TestPromise, Long> {
|
|
159
|
+
val promise = TestPromise()
|
|
160
|
+
val start = System.nanoTime()
|
|
161
|
+
HttpRequestModule(context).makeGetRequestWithWebView(url, null, promise)
|
|
162
|
+
promise.await(20)
|
|
163
|
+
return promise to (System.nanoTime() - start) / 1_000_000
|
|
164
|
+
}
|
|
165
|
+
|
|
138
166
|
private fun clearCookies() {
|
|
139
167
|
val done = CountDownLatch(1)
|
|
140
168
|
Handler(Looper.getMainLooper()).post {
|
|
@@ -25,15 +25,16 @@ internal class HttpRequestModule(private val context: Context) {
|
|
|
25
25
|
private val handler = Handler(Looper.getMainLooper())
|
|
26
26
|
|
|
27
27
|
companion object {
|
|
28
|
-
// Time for scripts on the page to settle after it finishes loading (same as iOS).
|
|
28
|
+
// Time for scripts on the page to settle after it finishes loading (same as iOS). A JSON or
|
|
29
|
+
// plain-text document has none, so it is read at once.
|
|
29
30
|
private const val CAPTURE_DELAY_MS = 1500L
|
|
30
31
|
|
|
31
32
|
// How often a page that isn't ready yet is checked again.
|
|
32
|
-
private const val POLL_MS =
|
|
33
|
+
private const val POLL_MS = 250L
|
|
33
34
|
|
|
34
35
|
// "challenge" on a Cloudflare challenge page ("Just a moment..."), which turns into the real
|
|
35
|
-
// page once its script has run;
|
|
36
|
-
// "
|
|
36
|
+
// page once its script has run; "loading" until the document has loaded; then "data" for a
|
|
37
|
+
// JSON or plain-text document, else "ready" (same as iOS).
|
|
37
38
|
private val PAGE_STATE_SCRIPT = """
|
|
38
39
|
(function() {
|
|
39
40
|
try {
|
|
@@ -41,7 +42,8 @@ internal class HttpRequestModule(private val context: Context) {
|
|
|
41
42
|
document.getElementById('challenge-form') ||
|
|
42
43
|
document.getElementById('challenge-running') ||
|
|
43
44
|
document.title === 'Just a moment...') return 'challenge';
|
|
44
|
-
|
|
45
|
+
if (document.readyState !== 'complete') return 'loading';
|
|
46
|
+
return /^(application\/([\w.+-]*\+)?json|text\/plain)$/.test(document.contentType) ? 'data' : 'ready';
|
|
45
47
|
} catch(e) {
|
|
46
48
|
return 'ready';
|
|
47
49
|
}
|
|
@@ -194,14 +196,23 @@ internal class HttpRequestModule(private val context: Context) {
|
|
|
194
196
|
}
|
|
195
197
|
|
|
196
198
|
/**
|
|
197
|
-
* Runs [capture]
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
199
|
+
* Runs [capture] at once when the page that finished loading is a loaded JSON or plain-text
|
|
200
|
+
* document, which has no scripts to wait for. Any other page is checked [CAPTURE_DELAY_MS]
|
|
201
|
+
* later and captured then, unless it is a Cloudflare challenge: then the page is checked every
|
|
202
|
+
* [POLL_MS] until the challenge has turned into a loaded page, which is captured
|
|
203
|
+
* [CAPTURE_DELAY_MS] later (a JSON or plain-text one at once), or the task times out. Polling
|
|
204
|
+
* the page, not waiting for navigation events, can't miss a reload that finished while a check
|
|
205
|
+
* was running.
|
|
202
206
|
*/
|
|
203
207
|
private fun captureUnlessChallenge(task: WebViewTask, view: WebView, capture: () -> Unit) {
|
|
204
|
-
|
|
208
|
+
view.evaluateJavascript(PAGE_STATE_SCRIPT) { result: String? ->
|
|
209
|
+
if (task.isSettled) return@evaluateJavascript
|
|
210
|
+
if (decodeJsString(result) == "data") {
|
|
211
|
+
capture()
|
|
212
|
+
} else {
|
|
213
|
+
handler.postDelayed({ captureWhenReady(task, view, false, capture) }, CAPTURE_DELAY_MS)
|
|
214
|
+
}
|
|
215
|
+
}
|
|
205
216
|
}
|
|
206
217
|
|
|
207
218
|
private fun captureWhenReady(
|
|
@@ -214,13 +225,16 @@ internal class HttpRequestModule(private val context: Context) {
|
|
|
214
225
|
view.evaluateJavascript(PAGE_STATE_SCRIPT) { result: String? ->
|
|
215
226
|
if (task.isSettled) return@evaluateJavascript
|
|
216
227
|
val state = decodeJsString(result)
|
|
217
|
-
|
|
228
|
+
// After a challenge, a check that gives no state (the page is between documents, say)
|
|
229
|
+
// counts as loading.
|
|
230
|
+
val loaded = state == "ready" || state == "data"
|
|
231
|
+
if (state == "challenge" || state == "loading" || (afterChallenge && !loaded)) {
|
|
218
232
|
if (state == "challenge" && !afterChallenge) {
|
|
219
233
|
Log.d(TAG, "Cloudflare challenge page; waiting for the page it turns into")
|
|
220
234
|
}
|
|
221
235
|
val sawChallenge = afterChallenge || state == "challenge"
|
|
222
236
|
handler.postDelayed({ captureWhenReady(task, view, sawChallenge, capture) }, POLL_MS)
|
|
223
|
-
} else if (afterChallenge) {
|
|
237
|
+
} else if (afterChallenge && state == "ready") {
|
|
224
238
|
// The page the challenge turned into gets the same time to settle as a first page.
|
|
225
239
|
handler.postDelayed({ if (!task.isSettled) capture() }, CAPTURE_DELAY_MS)
|
|
226
240
|
} else {
|
package/ios/Consumet.mm
CHANGED
|
@@ -24,11 +24,12 @@ static NSString *const kTimeoutCode = @"TIMEOUT";
|
|
|
24
24
|
|
|
25
25
|
// Timings shared with Android (WebViewTask.TIMEOUT_MS, HttpRequestModule's
|
|
26
26
|
// CAPTURE_DELAY_MS and POLL_MS), in seconds: a WebView request times out 30 s
|
|
27
|
-
// after it starts, a loaded page gets 1.5 s for its scripts to settle
|
|
28
|
-
//
|
|
27
|
+
// after it starts, a loaded page gets 1.5 s for its scripts to settle (a JSON
|
|
28
|
+
// or plain-text document, which has none, is read at once), and a page that
|
|
29
|
+
// isn't ready yet is checked again every 250 ms.
|
|
29
30
|
static const NSTimeInterval kWebViewTimeout = 30;
|
|
30
31
|
static const NSTimeInterval kCaptureDelay = 1.5;
|
|
31
|
-
static const NSTimeInterval kPollInterval =
|
|
32
|
+
static const NSTimeInterval kPollInterval = 0.25;
|
|
32
33
|
|
|
33
34
|
// The messages of the WEBVIEW_ERROR rejections that come once the page has
|
|
34
35
|
// loaded: it can't be read (the same message as on Android), or its web
|
|
@@ -396,20 +397,25 @@ static NSMutableSet<RCConsumetWebTask *> *RCConsumetRunningTasks(void) {
|
|
|
396
397
|
#pragma mark - Consumet Module
|
|
397
398
|
|
|
398
399
|
// "challenge" on a Cloudflare challenge page ("Just a moment..."), which turns
|
|
399
|
-
// into the real page once its script has run;
|
|
400
|
-
//
|
|
400
|
+
// into the real page once its script has run; "loading" until the document
|
|
401
|
+
// has loaded; then "data" for a JSON or plain-text document, else "ready" (as
|
|
402
|
+
// on Android).
|
|
401
403
|
static NSString *const kPageStateScript =
|
|
402
404
|
@"(function(){try{if(window._cf_chl_opt||"
|
|
403
405
|
@"document.getElementById('challenge-form')||"
|
|
404
406
|
@"document.getElementById('challenge-running')||"
|
|
405
407
|
@"document.title==='Just a moment...')return 'challenge';"
|
|
406
|
-
@"
|
|
408
|
+
@"if(document.readyState!=='complete')return 'loading';"
|
|
409
|
+
@"return /^(application\\/([\\w.+-]*\\+)?json|text\\/plain)$/"
|
|
410
|
+
@".test(document.contentType)?'data':'ready';"
|
|
407
411
|
@"}catch(e){return 'ready';}})()";
|
|
408
412
|
|
|
409
413
|
/// Checks the page every kPollInterval until a challenge has turned into a
|
|
410
414
|
/// loaded page, then runs capture kCaptureDelay later (or at once when there
|
|
411
|
-
/// was none
|
|
412
|
-
/// a
|
|
415
|
+
/// was none, or the page is a JSON or plain-text document). After a challenge,
|
|
416
|
+
/// a check that gives no state (the page is between documents, say) counts as
|
|
417
|
+
/// loading. Polling the page, not waiting for navigation events, can't miss a
|
|
418
|
+
/// reload that finished while a check was running.
|
|
413
419
|
static void RCConsumetCaptureWhenReady(RCConsumetWebTask *task,
|
|
414
420
|
WKWebView *webView,
|
|
415
421
|
BOOL afterChallenge,
|
|
@@ -422,7 +428,10 @@ static void RCConsumetCaptureWhenReady(RCConsumetWebTask *task,
|
|
|
422
428
|
if (!t || t.isSettled)
|
|
423
429
|
return;
|
|
424
430
|
BOOL challenge = [result isEqual:@"challenge"];
|
|
425
|
-
|
|
431
|
+
BOOL ready = [result isEqual:@"ready"];
|
|
432
|
+
BOOL loaded = ready || [result isEqual:@"data"];
|
|
433
|
+
if (challenge || [result isEqual:@"loading"] ||
|
|
434
|
+
(afterChallenge && !loaded)) {
|
|
426
435
|
dispatch_after(RCConsumetAfter(kPollInterval),
|
|
427
436
|
dispatch_get_main_queue(), ^{
|
|
428
437
|
WKWebView *view = wv;
|
|
@@ -431,7 +440,7 @@ static void RCConsumetCaptureWhenReady(RCConsumetWebTask *task,
|
|
|
431
440
|
wt, view, afterChallenge || challenge,
|
|
432
441
|
capture);
|
|
433
442
|
});
|
|
434
|
-
} else if (afterChallenge) {
|
|
443
|
+
} else if (afterChallenge && ready) {
|
|
435
444
|
// The page the challenge turned into gets the same time to
|
|
436
445
|
// settle as a first page.
|
|
437
446
|
dispatch_after(RCConsumetAfter(kCaptureDelay),
|
|
@@ -465,20 +474,34 @@ static void RCConsumetReadPage(RCConsumetWebTask *task, WKWebView *webView,
|
|
|
465
474
|
}];
|
|
466
475
|
}
|
|
467
476
|
|
|
468
|
-
/// Runs capture
|
|
469
|
-
///
|
|
470
|
-
///
|
|
471
|
-
///
|
|
477
|
+
/// Runs capture at once when the page that finished loading is a loaded JSON
|
|
478
|
+
/// or plain-text document, which has no scripts to wait for. Any other page
|
|
479
|
+
/// is checked kCaptureDelay after the navigation finished (so scripts on it
|
|
480
|
+
/// can settle) and captured then, unless it is a Cloudflare challenge: then
|
|
481
|
+
/// capture waits for the page the challenge turns into, and the task times
|
|
482
|
+
/// out as usual if it never does.
|
|
472
483
|
static void RCConsumetCaptureUnlessChallenge(RCConsumetWebTask *task,
|
|
473
484
|
WKWebView *webView,
|
|
474
485
|
dispatch_block_t capture) {
|
|
475
486
|
__weak RCConsumetWebTask *wt = task;
|
|
476
487
|
__weak WKWebView *wv = webView;
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
488
|
+
[webView
|
|
489
|
+
evaluateJavaScript:kPageStateScript
|
|
490
|
+
completionHandler:^(id result, NSError *error) {
|
|
491
|
+
RCConsumetWebTask *t = wt;
|
|
492
|
+
if (!t || t.isSettled)
|
|
493
|
+
return;
|
|
494
|
+
if ([result isEqual:@"data"]) {
|
|
495
|
+
capture();
|
|
496
|
+
return;
|
|
497
|
+
}
|
|
498
|
+
dispatch_after(RCConsumetAfter(kCaptureDelay),
|
|
499
|
+
dispatch_get_main_queue(), ^{
|
|
500
|
+
WKWebView *view = wv;
|
|
501
|
+
if (view && !wt.isSettled)
|
|
502
|
+
RCConsumetCaptureWhenReady(wt, view, NO, capture);
|
|
503
|
+
});
|
|
504
|
+
}];
|
|
482
505
|
}
|
|
483
506
|
|
|
484
507
|
@implementation Consumet
|
|
@@ -23,7 +23,11 @@ import { TurboModuleRegistry } from 'react-native';
|
|
|
23
23
|
* are ignored, and HTTP error statuses (403, 503, ...) still resolve with the page.
|
|
24
24
|
* - The first page that finishes loading settles the request; later navigations and load errors
|
|
25
25
|
* are ignored. The exception is a Cloudflare challenge page ("Just a moment..."): the request
|
|
26
|
-
* waits for the page the challenge reloads into once its script
|
|
26
|
+
* checks the page every 250 ms and waits for the page the challenge reloads into once its script
|
|
27
|
+
* has run, within the same 30 s.
|
|
28
|
+
* - A loaded page is read 1.5 s after it finishes loading, so scripts on it can settle. A JSON or
|
|
29
|
+
* plain-text document (`document.contentType` `application/json`, `application/*+json` or
|
|
30
|
+
* `text/plain`) has no scripts and is read at once.
|
|
27
31
|
* - The 30 s run from the call until the request settles, whatever it is waiting for: a page that
|
|
28
32
|
* is still loading, or still being read, when they pass rejects with `TIMEOUT`.
|
|
29
33
|
* - `url` is the URL of the page that finished loading last (after a challenge, the page it
|
|
@@ -37,13 +41,14 @@ import { TurboModuleRegistry } from 'react-native';
|
|
|
37
41
|
*/
|
|
38
42
|
export interface Spec extends TurboModule {
|
|
39
43
|
/**
|
|
40
|
-
* Loads `url` in a hidden WebView and resolves
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* failures and timeouts reject (`WEBVIEW_ERROR`,
|
|
44
|
+
* Loads `url` in a hidden WebView and resolves once the main document has finished loading (the
|
|
45
|
+
* page a Cloudflare challenge reloads into, when the first page is one) and settled: 1.5 s later,
|
|
46
|
+
* or at once for a JSON or plain-text document. It resolves with the page's `outerHTML`, the
|
|
47
|
+
* final URL and its cookies. User-Agent and Cookie headers are applied to the WebView; other
|
|
48
|
+
* headers are sent with the request. Without a User-Agent header the WebView keeps the engine's
|
|
49
|
+
* own (on iOS with Mobile Safari's tokens), which Cloudflare checks against what the engine
|
|
50
|
+
* reports. `status` is always `'success'`: failures and timeouts reject (`WEBVIEW_ERROR`,
|
|
51
|
+
* `TIMEOUT`).
|
|
47
52
|
*/
|
|
48
53
|
makeGetRequestWithWebView(
|
|
49
54
|
url: string,
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"name": "Gofile",
|
|
30
|
-
"version": "1.1.
|
|
30
|
+
"version": "1.1.2",
|
|
31
31
|
"minContextVersion": 1,
|
|
32
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extractors/gofile/1.1.
|
|
33
|
-
"sha256": "
|
|
32
|
+
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extractors/gofile/1.1.2.js",
|
|
33
|
+
"sha256": "0b4badcfb43c4566088ee8c6beb3af3793a8da6cab820297057e1b9df0ae9769",
|
|
34
34
|
"distFile": "dist/bundles/extractors/gofile.js"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "HubCloud",
|
|
38
|
-
"version": "1.2.
|
|
38
|
+
"version": "1.2.3",
|
|
39
39
|
"minContextVersion": 1,
|
|
40
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extractors/hubcloud/1.2.
|
|
41
|
-
"sha256": "
|
|
40
|
+
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extractors/hubcloud/1.2.3.js",
|
|
41
|
+
"sha256": "6ba813daa2a35bd0e777378658dc95d945d12338afc1e01ece420f16cd68a7f3",
|
|
42
42
|
"distFile": "dist/bundles/extractors/hubcloud.js"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"id": "animepahe",
|
|
56
56
|
"name": "AnimePahe",
|
|
57
57
|
"description": "High-quality anime streaming from AnimePahe with multiple servers and subtitles",
|
|
58
|
-
"version": "1.3.
|
|
58
|
+
"version": "1.3.4",
|
|
59
59
|
"minContextVersion": 1,
|
|
60
60
|
"author": {
|
|
61
61
|
"name": "RNConsumet Team",
|
|
62
62
|
"url": "https://github.com/uwumilabs"
|
|
63
63
|
},
|
|
64
64
|
"category": "anime",
|
|
65
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/animepahe/1.3.
|
|
65
|
+
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/animepahe/1.3.4.js",
|
|
66
66
|
"factoryName": "createAnimePahe",
|
|
67
67
|
"baseUrl": "https://animepahe.pw",
|
|
68
68
|
"logo": "https://animepahe.pw/web-app-manifest-512x512.png",
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
],
|
|
73
73
|
"nsfw": false,
|
|
74
74
|
"status": "stable",
|
|
75
|
-
"
|
|
75
|
+
"recommended": true,
|
|
76
|
+
"lastUpdated": "2026-11-29T00:00:00Z",
|
|
76
77
|
"extractors": [
|
|
77
78
|
"Kwik"
|
|
78
79
|
],
|
|
@@ -80,30 +81,31 @@
|
|
|
80
81
|
"dubbed": true,
|
|
81
82
|
"isSourceEmbed": true,
|
|
82
83
|
"haveMultiServers": false,
|
|
83
|
-
"sha256": "
|
|
84
|
+
"sha256": "dde8734faaffa49a23e6eedf86194019afb59c81261198388e7cafee08172f9b",
|
|
84
85
|
"distFile": "dist/bundles/providers/anime/animepahe/create-animepahe.js"
|
|
85
86
|
},
|
|
86
87
|
{
|
|
87
88
|
"id": "anikoto",
|
|
88
89
|
"name": "AniKoto",
|
|
89
90
|
"description": "High-quality anime streaming from AniKoto with multiple servers and subtitles",
|
|
90
|
-
"version": "1.2.
|
|
91
|
+
"version": "1.2.5",
|
|
91
92
|
"minContextVersion": 1,
|
|
92
93
|
"author": {
|
|
93
94
|
"name": "RNConsumet Team",
|
|
94
95
|
"url": "https://github.com/uwumilabs"
|
|
95
96
|
},
|
|
96
97
|
"category": "anime",
|
|
97
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/anikoto/1.2.
|
|
98
|
+
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/anikoto/1.2.5.js",
|
|
98
99
|
"factoryName": "createAniKoto",
|
|
99
|
-
"baseUrl": "https://anikototv.
|
|
100
|
-
"logo": "https://anikototv.
|
|
100
|
+
"baseUrl": "https://anikototv.bz",
|
|
101
|
+
"logo": "https://anikototv.bz/favicon-32x32.png",
|
|
101
102
|
"languages": [
|
|
102
103
|
"en"
|
|
103
104
|
],
|
|
104
105
|
"nsfw": false,
|
|
105
106
|
"status": "stable",
|
|
106
|
-
"
|
|
107
|
+
"recommended": true,
|
|
108
|
+
"lastUpdated": "2026-11-29T00:00:00Z",
|
|
107
109
|
"extractors": [
|
|
108
110
|
"MegaPlay"
|
|
109
111
|
],
|
|
@@ -111,53 +113,21 @@
|
|
|
111
113
|
"dubbed": true,
|
|
112
114
|
"isSourceEmbed": true,
|
|
113
115
|
"haveMultiServers": true,
|
|
114
|
-
"sha256": "
|
|
116
|
+
"sha256": "e09e9ce9b989505cbddc035f7c7e4982eca936c8a43c1ebab3120a867ab6ca56",
|
|
115
117
|
"distFile": "dist/bundles/providers/anime/anikoto/create-anikoto.js"
|
|
116
118
|
},
|
|
117
|
-
{
|
|
118
|
-
"id": "anineko",
|
|
119
|
-
"name": "AniNeko",
|
|
120
|
-
"description": "Anime streaming from AniNeko with hard-sub, soft-sub and dub support",
|
|
121
|
-
"version": "1.2.1",
|
|
122
|
-
"minContextVersion": 1,
|
|
123
|
-
"author": {
|
|
124
|
-
"name": "RNConsumet Team",
|
|
125
|
-
"url": "https://github.com/uwumilabs"
|
|
126
|
-
},
|
|
127
|
-
"category": "anime",
|
|
128
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/anineko/1.2.1.js",
|
|
129
|
-
"factoryName": "createAniNeko",
|
|
130
|
-
"baseUrl": "https://anineko.to",
|
|
131
|
-
"logo": "https://anineko.to/favicon.ico",
|
|
132
|
-
"languages": [
|
|
133
|
-
"en",
|
|
134
|
-
"ja"
|
|
135
|
-
],
|
|
136
|
-
"nsfw": false,
|
|
137
|
-
"status": "stable",
|
|
138
|
-
"lastUpdated": "2026-10-15T00:00:00Z",
|
|
139
|
-
"extractors": [
|
|
140
|
-
"VidHide"
|
|
141
|
-
],
|
|
142
|
-
"subbed": true,
|
|
143
|
-
"dubbed": true,
|
|
144
|
-
"isSourceEmbed": true,
|
|
145
|
-
"haveMultiServers": true,
|
|
146
|
-
"sha256": "0438a58f3f59a6f83bfa3f158acf804f4bdc60a9ecf6e559d342bb018b434c00",
|
|
147
|
-
"distFile": "dist/bundles/providers/anime/anineko/create-anineko.js"
|
|
148
|
-
},
|
|
149
119
|
{
|
|
150
120
|
"id": "vegamovies",
|
|
151
121
|
"name": "VegaMovies",
|
|
152
122
|
"description": "Bollywood, Hollywood and Dual Audio Movies and TV shows streaming from VegaMovies",
|
|
153
|
-
"version": "1.4.
|
|
123
|
+
"version": "1.4.3",
|
|
154
124
|
"minContextVersion": 1,
|
|
155
125
|
"author": {
|
|
156
126
|
"name": "RNConsumet Team",
|
|
157
127
|
"url": "https://github.com/uwumilabs"
|
|
158
128
|
},
|
|
159
129
|
"category": "movies",
|
|
160
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/vegamovies/1.4.
|
|
130
|
+
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/vegamovies/1.4.3.js",
|
|
161
131
|
"factoryName": "createVegaMovies",
|
|
162
132
|
"baseUrl": "https://vegamovies.lease",
|
|
163
133
|
"logo": "https://vegamovies.lease/images/favicon-32x32.png",
|
|
@@ -166,7 +136,8 @@
|
|
|
166
136
|
],
|
|
167
137
|
"nsfw": false,
|
|
168
138
|
"status": "alpha",
|
|
169
|
-
"
|
|
139
|
+
"recommended": true,
|
|
140
|
+
"lastUpdated": "2026-11-29T00:00:00Z",
|
|
170
141
|
"extractors": [
|
|
171
142
|
"HubCloud",
|
|
172
143
|
"Gofile"
|
|
@@ -174,21 +145,21 @@
|
|
|
174
145
|
"isSourceEmbed": false,
|
|
175
146
|
"isSourceDirect": true,
|
|
176
147
|
"haveMultiServers": true,
|
|
177
|
-
"sha256": "
|
|
148
|
+
"sha256": "5cd5c8bdf1c186af206bfc0359539082ebcf390f73d59b6728821483ba3c3a59",
|
|
178
149
|
"distFile": "dist/bundles/providers/movies/vegamovies/create-vegamovies.js"
|
|
179
150
|
},
|
|
180
151
|
{
|
|
181
152
|
"id": "netflixmirror",
|
|
182
153
|
"name": "NetflixMirror",
|
|
183
154
|
"description": "Movies and TV shows from the Netflix catalog via NetMirror",
|
|
184
|
-
"version": "1.0.
|
|
155
|
+
"version": "1.0.8",
|
|
185
156
|
"minContextVersion": 1,
|
|
186
157
|
"author": {
|
|
187
158
|
"name": "RNConsumet Team",
|
|
188
159
|
"url": "https://github.com/uwumilabs"
|
|
189
160
|
},
|
|
190
161
|
"category": "movies",
|
|
191
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/netflixmirror/1.0.
|
|
162
|
+
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/netflixmirror/1.0.8.js",
|
|
192
163
|
"factoryName": "createNetflixMirror",
|
|
193
164
|
"baseUrl": "https://net52.cc",
|
|
194
165
|
"logo": "https://net52.cc/img/nf2/icon_x192.png",
|
|
@@ -197,26 +168,26 @@
|
|
|
197
168
|
],
|
|
198
169
|
"nsfw": false,
|
|
199
170
|
"status": "beta",
|
|
200
|
-
"lastUpdated": "2026-
|
|
171
|
+
"lastUpdated": "2026-11-29T00:00:00Z",
|
|
201
172
|
"extractors": [],
|
|
202
173
|
"isSourceEmbed": false,
|
|
203
174
|
"isSourceDirect": true,
|
|
204
175
|
"haveMultiServers": false,
|
|
205
|
-
"sha256": "
|
|
176
|
+
"sha256": "ca524203be717310ce5b4da898ad8c8a9e83889a190c60d6b725105f049bdf3b",
|
|
206
177
|
"distFile": "dist/bundles/providers/movies/netflixmirror/create-netflixmirror.js"
|
|
207
178
|
},
|
|
208
179
|
{
|
|
209
180
|
"id": "primemirror",
|
|
210
181
|
"name": "PrimeMirror",
|
|
211
182
|
"description": "Movies and TV shows from the Prime Video catalog via NetMirror",
|
|
212
|
-
"version": "1.0.
|
|
183
|
+
"version": "1.0.8",
|
|
213
184
|
"minContextVersion": 1,
|
|
214
185
|
"author": {
|
|
215
186
|
"name": "RNConsumet Team",
|
|
216
187
|
"url": "https://github.com/uwumilabs"
|
|
217
188
|
},
|
|
218
189
|
"category": "movies",
|
|
219
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/primemirror/1.0.
|
|
190
|
+
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/primemirror/1.0.8.js",
|
|
220
191
|
"factoryName": "createPrimeMirror",
|
|
221
192
|
"baseUrl": "https://net52.cc",
|
|
222
193
|
"logo": "https://net52.cc/img/nf2/icon_x192.png",
|
|
@@ -225,26 +196,26 @@
|
|
|
225
196
|
],
|
|
226
197
|
"nsfw": false,
|
|
227
198
|
"status": "beta",
|
|
228
|
-
"lastUpdated": "2026-
|
|
199
|
+
"lastUpdated": "2026-11-29T00:00:00Z",
|
|
229
200
|
"extractors": [],
|
|
230
201
|
"isSourceEmbed": false,
|
|
231
202
|
"isSourceDirect": true,
|
|
232
203
|
"haveMultiServers": false,
|
|
233
|
-
"sha256": "
|
|
204
|
+
"sha256": "ca524203be717310ce5b4da898ad8c8a9e83889a190c60d6b725105f049bdf3b",
|
|
234
205
|
"distFile": "dist/bundles/providers/movies/netflixmirror/create-netflixmirror.js"
|
|
235
206
|
},
|
|
236
207
|
{
|
|
237
208
|
"id": "disneymirror",
|
|
238
209
|
"name": "DisneyMirror",
|
|
239
210
|
"description": "Movies and TV shows from the Disney+ catalog via NetMirror",
|
|
240
|
-
"version": "1.0.
|
|
211
|
+
"version": "1.0.8",
|
|
241
212
|
"minContextVersion": 1,
|
|
242
213
|
"author": {
|
|
243
214
|
"name": "RNConsumet Team",
|
|
244
215
|
"url": "https://github.com/uwumilabs"
|
|
245
216
|
},
|
|
246
217
|
"category": "movies",
|
|
247
|
-
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/disneymirror/1.0.
|
|
218
|
+
"main": "https://raw.githubusercontent.com/uwumilabs/react-native-consumet/refs/heads/main/registry/extensions/disneymirror/1.0.8.js",
|
|
248
219
|
"factoryName": "createDisneyMirror",
|
|
249
220
|
"baseUrl": "https://net52.cc",
|
|
250
221
|
"logo": "https://net52.cc/img/nf2/icon_x192.png",
|
|
@@ -253,12 +224,12 @@
|
|
|
253
224
|
],
|
|
254
225
|
"nsfw": false,
|
|
255
226
|
"status": "beta",
|
|
256
|
-
"lastUpdated": "2026-
|
|
227
|
+
"lastUpdated": "2026-11-29T00:00:00Z",
|
|
257
228
|
"extractors": [],
|
|
258
229
|
"isSourceEmbed": false,
|
|
259
230
|
"isSourceDirect": true,
|
|
260
231
|
"haveMultiServers": false,
|
|
261
|
-
"sha256": "
|
|
232
|
+
"sha256": "ca524203be717310ce5b4da898ad8c8a9e83889a190c60d6b725105f049bdf3b",
|
|
262
233
|
"distFile": "dist/bundles/providers/movies/netflixmirror/create-netflixmirror.js"
|
|
263
234
|
}
|
|
264
235
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
820f13f21f4c274e7666ddf76b4417dbedfb34440020e9c16fa2900be96631ad30ead70454634e11f45b4aa25d094b6e09216bde31f18421e7c0cd0c304d2b0e
|