react-native-consumet 0.2.2 → 0.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/README.md +1 -1
- package/android/src/main/java/com/consumet/ConsumetModule.kt +67 -39
- package/lib/commonjs/extractors/asianload.js.map +1 -1
- package/lib/commonjs/extractors/filemoon.js.map +1 -1
- package/lib/commonjs/extractors/gogocdn.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.map +1 -1
- package/lib/commonjs/extractors/megacloud/index.js.map +1 -1
- package/lib/commonjs/extractors/megaup.js +1 -1
- 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/smashystream.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/streamwish.js +12 -15
- package/lib/commonjs/extractors/streamwish.js.map +1 -1
- package/lib/commonjs/extractors/vidcloud.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.map +1 -1
- package/lib/commonjs/models/anime-parser.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/proxy.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/animedrive.js.map +1 -1
- package/lib/commonjs/providers/anime/animefox.js.map +1 -1
- package/lib/commonjs/providers/anime/animekai.js.map +1 -1
- package/lib/commonjs/providers/anime/animepahe.js.map +1 -1
- package/lib/commonjs/providers/anime/animesaturn.js.map +1 -1
- package/lib/commonjs/providers/anime/animeunity.js.map +1 -1
- package/lib/commonjs/providers/anime/anix.js.map +1 -1
- package/lib/commonjs/providers/anime/bilibili.js.map +1 -1
- package/lib/commonjs/providers/anime/gogoanime.js.map +1 -1
- package/lib/commonjs/providers/anime/index.js +0 -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/monoschinos.js.map +1 -1
- package/lib/commonjs/providers/anime/zoro.js +1 -1
- package/lib/commonjs/providers/anime/zoro.js.map +1 -1
- package/lib/commonjs/providers/comics/getComics.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/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 +86 -106
- package/lib/commonjs/providers/meta/anilist.js.map +1 -1
- package/lib/commonjs/providers/meta/mal.js +2 -28
- package/lib/commonjs/providers/meta/mal.js.map +1 -1
- package/lib/commonjs/providers/meta/tmdb.js +22 -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/flixhq.js.map +1 -1
- package/lib/commonjs/providers/movies/fmovies.js.map +1 -1
- package/lib/commonjs/providers/movies/goku.js.map +1 -1
- package/lib/commonjs/providers/movies/kissasian.js.map +1 -1
- package/lib/commonjs/providers/movies/moviehdwatch.js.map +1 -1
- package/lib/commonjs/providers/movies/multimovies.js +2 -2
- package/lib/commonjs/providers/movies/multimovies.js.map +1 -1
- package/lib/commonjs/providers/movies/sflix.js.map +1 -1
- package/lib/commonjs/providers/movies/smashystream.js.map +1 -1
- package/lib/commonjs/providers/movies/turkish123.js.map +1 -1
- package/lib/commonjs/providers/movies/ummagurau.js.map +1 -1
- package/lib/commonjs/providers/movies/viewAsian.js.map +1 -1
- package/lib/commonjs/providers/news/animenewsnetwork.js.map +1 -1
- package/lib/commonjs/utils/providers-list.js +1 -1
- package/lib/commonjs/utils/providers-list.js.map +1 -1
- package/lib/commonjs/utils/queries.js.map +1 -1
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/module/extractors/asianload.js.map +1 -1
- package/lib/module/extractors/filemoon.js.map +1 -1
- package/lib/module/extractors/gogocdn.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.map +1 -1
- package/lib/module/extractors/megacloud/index.js.map +1 -1
- package/lib/module/extractors/megaup.js +1 -1
- 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/smashystream.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/streamwish.js +12 -15
- package/lib/module/extractors/streamwish.js.map +1 -1
- package/lib/module/extractors/vidcloud.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.map +1 -1
- package/lib/module/models/anime-parser.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/proxy.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/animedrive.js.map +1 -1
- package/lib/module/providers/anime/animefox.js.map +1 -1
- package/lib/module/providers/anime/animekai.js.map +1 -1
- package/lib/module/providers/anime/animepahe.js.map +1 -1
- package/lib/module/providers/anime/animesaturn.js.map +1 -1
- package/lib/module/providers/anime/animeunity.js.map +1 -1
- package/lib/module/providers/anime/anix.js.map +1 -1
- package/lib/module/providers/anime/bilibili.js.map +1 -1
- package/lib/module/providers/anime/gogoanime.js.map +1 -1
- package/lib/module/providers/anime/index.js +0 -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/monoschinos.js.map +1 -1
- package/lib/module/providers/anime/zoro.js +1 -1
- package/lib/module/providers/anime/zoro.js.map +1 -1
- package/lib/module/providers/comics/getComics.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/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 +88 -108
- package/lib/module/providers/meta/anilist.js.map +1 -1
- package/lib/module/providers/meta/mal.js +2 -28
- package/lib/module/providers/meta/mal.js.map +1 -1
- package/lib/module/providers/meta/tmdb.js +22 -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/flixhq.js.map +1 -1
- package/lib/module/providers/movies/fmovies.js.map +1 -1
- package/lib/module/providers/movies/goku.js.map +1 -1
- package/lib/module/providers/movies/kissasian.js.map +1 -1
- package/lib/module/providers/movies/moviehdwatch.js.map +1 -1
- package/lib/module/providers/movies/multimovies.js +2 -2
- package/lib/module/providers/movies/multimovies.js.map +1 -1
- package/lib/module/providers/movies/sflix.js.map +1 -1
- package/lib/module/providers/movies/smashystream.js.map +1 -1
- package/lib/module/providers/movies/turkish123.js.map +1 -1
- package/lib/module/providers/movies/ummagurau.js.map +1 -1
- package/lib/module/providers/movies/viewAsian.js.map +1 -1
- package/lib/module/providers/news/animenewsnetwork.js.map +1 -1
- package/lib/module/utils/providers-list.js +1 -1
- package/lib/module/utils/providers-list.js.map +1 -1
- package/lib/module/utils/queries.js.map +1 -1
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/typescript/commonjs/src/extractors/asianload.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/filemoon.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/gogocdn.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/kisskh/kkey.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/kisskh/staticdata.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/kwik.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/megacloud/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/megaup.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/mixdrop.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/mp4player.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/mp4upload.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/rapidcloud.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/smashystream.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/streamhub.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/streamlare.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/streamsb.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/streamwish.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/vidcloud.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/vidhide.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/vidmoly.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/vizcloud.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/extractors/voe.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/anime-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/lightnovel-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/manga-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/movie-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/proxy.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/models/video-extractor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/anify.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/animedrive.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/animefox.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/animekai.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/animepahe.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/animesaturn.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/animeunity.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/anix.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/bilibili.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/gogoanime.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/index.d.ts +0 -4
- package/lib/typescript/commonjs/src/providers/anime/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/kickassanime.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/marin.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/monoschinos.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/anime/zoro.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/comics/getComics.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/light-novels/novelupdates.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/light-novels/readlightnovels.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/asurascans.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/brmangas.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/comick.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/flamescans.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/mangadex.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/mangahere.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/mangahost.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/mangakakalot.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/mangapark.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/mangapill.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/mangareader.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/mangasee123.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/readmanga.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/manga/vyvymanga.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts +2 -3
- package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/meta/mal.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/meta/tmdb.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/dramacool.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/flixhq.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/fmovies.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/goku.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/kissasian.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/moviehdwatch.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/multimovies.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/sflix.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/smashystream.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/turkish123.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/movies/viewAsian.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/providers/news/animenewsnetwork.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/providers-list.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/providers-list.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/queries.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/utils.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/utils.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/asianload.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/filemoon.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/gogocdn.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/kisskh/kkey.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/kisskh/staticdata.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/kwik.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/megacloud/index.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/megaup.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/mixdrop.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/mp4player.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/mp4upload.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/rapidcloud.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/smashystream.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/streamhub.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/streamlare.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/streamsb.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/streamwish.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/vidcloud.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/vidhide.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/vidmoly.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/vizcloud.d.ts.map +1 -1
- package/lib/typescript/module/src/extractors/voe.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/models/anime-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/models/lightnovel-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/models/manga-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/models/movie-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/models/proxy.d.ts.map +1 -1
- package/lib/typescript/module/src/models/video-extractor.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/anify.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/animedrive.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/animefox.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/animekai.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/animepahe.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/animesaturn.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/animeunity.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/anix.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/bilibili.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/gogoanime.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/index.d.ts +0 -4
- package/lib/typescript/module/src/providers/anime/index.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/kickassanime.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/marin.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/monoschinos.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/anime/zoro.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/comics/getComics.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/light-novels/novelupdates.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/light-novels/readlightnovels.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/asurascans.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/brmangas.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/comick.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/flamescans.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/mangadex.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/mangahere.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/mangahost.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/mangakakalot.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/mangapark.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/mangapill.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/mangareader.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/mangasee123.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/readmanga.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/manga/vyvymanga.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/meta/anilist.d.ts +2 -3
- package/lib/typescript/module/src/providers/meta/anilist.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/meta/mal.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/meta/tmdb.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/dramacool.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/flixhq.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/fmovies.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/goku.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/kissasian.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/moviehdwatch.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/multimovies.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/sflix.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/smashystream.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/turkish123.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/movies/viewAsian.d.ts.map +1 -1
- package/lib/typescript/module/src/providers/news/animenewsnetwork.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/providers-list.d.ts +1 -1
- package/lib/typescript/module/src/utils/providers-list.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/queries.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/utils.d.ts +1 -1
- package/lib/typescript/module/src/utils/utils.d.ts.map +1 -1
- package/package.json +5 -11
- package/react-native.config.js +12 -12
- package/src/extractors/asianload.ts +4 -13
- package/src/extractors/filemoon.ts +5 -13
- package/src/extractors/gogocdn.ts +12 -32
- package/src/extractors/kisskh/kkey.ts +6 -18
- package/src/extractors/kisskh/staticdata.ts +128 -196
- package/src/extractors/kwik.ts +1 -3
- package/src/extractors/megacloud/index.ts +9 -13
- package/src/extractors/megaup.ts +26 -42
- package/src/extractors/mixdrop.ts +1 -3
- package/src/extractors/mp4player.ts +3 -11
- package/src/extractors/mp4upload.ts +1 -3
- package/src/extractors/rapidcloud.ts +18 -56
- package/src/extractors/smashystream.ts +25 -65
- package/src/extractors/streamhub.ts +4 -12
- package/src/extractors/streamlare.ts +2 -7
- package/src/extractors/streamsb.ts +5 -12
- package/src/extractors/streamwish.ts +18 -35
- package/src/extractors/vidcloud.ts +8 -19
- package/src/extractors/vidhide.ts +3 -9
- package/src/extractors/vidmoly.ts +1 -4
- package/src/extractors/vizcloud.ts +1 -5
- package/src/extractors/voe.ts +3 -8
- package/src/index.ts +1 -9
- package/src/models/anime-parser.ts +3 -14
- package/src/models/lightnovel-parser.ts +2 -8
- package/src/models/manga-parser.ts +1 -4
- package/src/models/movie-parser.ts +4 -20
- package/src/models/proxy.ts +4 -9
- package/src/models/video-extractor.ts +1 -4
- package/src/providers/anime/anify.ts +20 -61
- package/src/providers/anime/animedrive.ts +24 -77
- package/src/providers/anime/animefox.ts +18 -64
- package/src/providers/anime/animekai.ts +51 -157
- package/src/providers/anime/animepahe.ts +24 -59
- package/src/providers/anime/animesaturn.ts +11 -37
- package/src/providers/anime/animeunity.ts +8 -26
- package/src/providers/anime/anix.ts +17 -57
- package/src/providers/anime/bilibili.ts +4 -15
- package/src/providers/anime/gogoanime.ts +61 -194
- package/src/providers/anime/index.ts +0 -4
- package/src/providers/anime/kickassanime.ts +2 -6
- package/src/providers/anime/marin.ts +6 -18
- package/src/providers/anime/monoschinos.ts +8 -25
- package/src/providers/anime/zoro.ts +77 -209
- package/src/providers/comics/getComics.ts +7 -27
- package/src/providers/light-novels/novelupdates.ts +17 -52
- package/src/providers/light-novels/readlightnovels.ts +17 -67
- package/src/providers/manga/asurascans.ts +17 -67
- package/src/providers/manga/brmangas.ts +6 -17
- package/src/providers/manga/comick.ts +19 -51
- package/src/providers/manga/flamescans.ts +12 -35
- package/src/providers/manga/mangadex.ts +25 -82
- package/src/providers/manga/mangahere.ts +17 -40
- package/src/providers/manga/mangahost.ts +8 -28
- package/src/providers/manga/mangakakalot.ts +19 -71
- package/src/providers/manga/mangapark.ts +8 -27
- package/src/providers/manga/mangapill.ts +10 -33
- package/src/providers/manga/mangareader.ts +8 -28
- package/src/providers/manga/mangasee123.ts +12 -40
- package/src/providers/manga/readmanga.ts +58 -134
- package/src/providers/manga/vyvymanga.ts +15 -33
- package/src/providers/meta/anilist.ts +568 -1062
- package/src/providers/meta/mal.ts +51 -250
- package/src/providers/meta/tmdb.ts +60 -94
- package/src/providers/movies/dramacool.ts +50 -146
- package/src/providers/movies/flixhq.ts +60 -207
- package/src/providers/movies/fmovies.ts +17 -62
- package/src/providers/movies/goku.ts +46 -178
- package/src/providers/movies/kissasian.ts +19 -64
- package/src/providers/movies/moviehdwatch.ts +61 -221
- package/src/providers/movies/multimovies.ts +47 -153
- package/src/providers/movies/sflix.ts +71 -234
- package/src/providers/movies/smashystream.ts +9 -30
- package/src/providers/movies/turkish123.ts +4 -20
- package/src/providers/movies/ummagurau.ts +8 -26
- package/src/providers/movies/viewAsian.ts +15 -45
- package/src/providers/news/animenewsnetwork.ts +11 -40
- package/src/utils/providers-list.ts +1 -11
- package/src/utils/queries.ts +5 -23
- package/src/utils/utils.ts +5 -21
- package/android/src/main/assets/crypto-js.js +0 -1
- package/android/src/main/assets/megacloud.decodedpng.js +0 -606
- package/android/src/main/assets/megacloud.getsrcs.js +0 -714
- package/lib/commonjs/extractors/megacloud/megacloud.decodedpng.js +0 -10
- package/lib/commonjs/extractors/megacloud/megacloud.decodedpng.js.map +0 -1
- package/lib/commonjs/extractors/megacloud/megacloud.getsrcs.js +0 -864
- package/lib/commonjs/extractors/megacloud/megacloud.getsrcs.js.map +0 -1
- package/lib/commonjs/providers/anime/9anime.js +0 -325
- package/lib/commonjs/providers/anime/9anime.js.map +0 -1
- package/lib/commonjs/providers/anime/crunchyroll.js +0 -92
- package/lib/commonjs/providers/anime/crunchyroll.js.map +0 -1
- package/lib/module/extractors/megacloud/megacloud.decodedpng.js +0 -6
- package/lib/module/extractors/megacloud/megacloud.decodedpng.js.map +0 -1
- package/lib/module/extractors/megacloud/megacloud.getsrcs.js +0 -864
- package/lib/module/extractors/megacloud/megacloud.getsrcs.js.map +0 -1
- package/lib/module/providers/anime/9anime.js +0 -323
- package/lib/module/providers/anime/9anime.js.map +0 -1
- package/lib/module/providers/anime/crunchyroll.js +0 -89
- package/lib/module/providers/anime/crunchyroll.js.map +0 -1
- package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.decodedpng.d.ts +0 -2
- package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.decodedpng.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.getsrcs.d.ts +0 -1
- package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.getsrcs.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/9anime.d.ts +0 -26
- package/lib/typescript/commonjs/src/providers/anime/9anime.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/providers/anime/crunchyroll.d.ts +0 -38
- package/lib/typescript/commonjs/src/providers/anime/crunchyroll.d.ts.map +0 -1
- package/lib/typescript/module/src/extractors/megacloud/megacloud.decodedpng.d.ts +0 -2
- package/lib/typescript/module/src/extractors/megacloud/megacloud.decodedpng.d.ts.map +0 -1
- package/lib/typescript/module/src/extractors/megacloud/megacloud.getsrcs.d.ts +0 -1
- package/lib/typescript/module/src/extractors/megacloud/megacloud.getsrcs.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/9anime.d.ts +0 -26
- package/lib/typescript/module/src/providers/anime/9anime.d.ts.map +0 -1
- package/lib/typescript/module/src/providers/anime/crunchyroll.d.ts +0 -38
- package/lib/typescript/module/src/providers/anime/crunchyroll.d.ts.map +0 -1
- package/src/extractors/megacloud/megacloud.decodedpng.ts +0 -846
- package/src/extractors/megacloud/megacloud.getsrcs.ts +0 -862
- package/src/providers/anime/9anime.ts +0 -465
- package/src/providers/anime/crunchyroll.ts +0 -151
|
@@ -20,14 +20,9 @@ class TMDB extends MovieParser {
|
|
|
20
20
|
override readonly name = 'TMDB';
|
|
21
21
|
protected override baseUrl = 'https://www.themoviedb.org';
|
|
22
22
|
protected apiUrl = 'https://api.themoviedb.org/3';
|
|
23
|
-
protected override logo =
|
|
24
|
-
'https://pbs.twimg.com/profile_images/1243623122089041920/gVZIvphd_400x400.jpg';
|
|
23
|
+
protected override logo = 'https://pbs.twimg.com/profile_images/1243623122089041920/gVZIvphd_400x400.jpg';
|
|
25
24
|
protected override classPath = 'META.TMDB';
|
|
26
|
-
override supportedTypes = new Set([
|
|
27
|
-
TvType.MOVIE,
|
|
28
|
-
TvType.TVSERIES,
|
|
29
|
-
TvType.ANIME,
|
|
30
|
-
]);
|
|
25
|
+
override supportedTypes = new Set([TvType.MOVIE, TvType.TVSERIES, TvType.ANIME]);
|
|
31
26
|
|
|
32
27
|
private provider: MovieParser;
|
|
33
28
|
|
|
@@ -85,8 +80,7 @@ class TMDB extends MovieParser {
|
|
|
85
80
|
id: result.id,
|
|
86
81
|
title: result?.title || result?.name,
|
|
87
82
|
image: `https://image.tmdb.org/t/p/original${result?.poster_path}`,
|
|
88
|
-
type:
|
|
89
|
-
result.media_type === 'movie' ? TvType.MOVIE : TvType.TVSERIES,
|
|
83
|
+
type: result.media_type === 'movie' ? TvType.MOVIE : TvType.TVSERIES,
|
|
90
84
|
rating: result?.vote_average || 0,
|
|
91
85
|
releaseDate: `${date.getFullYear()}` || '0',
|
|
92
86
|
};
|
|
@@ -108,8 +102,7 @@ class TMDB extends MovieParser {
|
|
|
108
102
|
id: movie.id,
|
|
109
103
|
title: movie?.title || movie?.name,
|
|
110
104
|
image: `https://image.tmdb.org/t/p/original${movie?.poster_path}`,
|
|
111
|
-
type:
|
|
112
|
-
movie.media_type === 'movie' ? TvType.MOVIE : TvType.TVSERIES,
|
|
105
|
+
type: movie.media_type === 'movie' ? TvType.MOVIE : TvType.TVSERIES,
|
|
113
106
|
rating: movie?.vote_average || 0,
|
|
114
107
|
releaseDate: `${date.getFullYear()}` || '0',
|
|
115
108
|
};
|
|
@@ -131,10 +124,7 @@ class TMDB extends MovieParser {
|
|
|
131
124
|
* @param query search query
|
|
132
125
|
* @param page page number
|
|
133
126
|
*/
|
|
134
|
-
override search = async (
|
|
135
|
-
query: string,
|
|
136
|
-
page: number = 1
|
|
137
|
-
): Promise<ISearch<IMovieResult | IAnimeResult>> => {
|
|
127
|
+
override search = async (query: string, page: number = 1): Promise<ISearch<IMovieResult | IAnimeResult>> => {
|
|
138
128
|
const searchUrl = `${this.apiUrl}/search/multi?api_key=${this.apiKey}&language=en-US&page=${page}&include_adult=false&query=${query}`;
|
|
139
129
|
|
|
140
130
|
const search: ISearch<IMovieResult | IAnimeResult> = {
|
|
@@ -178,10 +168,7 @@ class TMDB extends MovieParser {
|
|
|
178
168
|
* @param id media id (anime or movie/tv)
|
|
179
169
|
* @param type movie or tv
|
|
180
170
|
*/
|
|
181
|
-
override fetchMediaInfo = async (
|
|
182
|
-
mediaId: string,
|
|
183
|
-
type: string
|
|
184
|
-
): Promise<IMovieInfo | IAnimeInfo> => {
|
|
171
|
+
override fetchMediaInfo = async (mediaId: string, type: string): Promise<IMovieInfo | IAnimeInfo> => {
|
|
185
172
|
type = type.toLowerCase() === 'movie' ? 'movie' : 'tv';
|
|
186
173
|
const infoUrl = `${this.apiUrl}/${type}/${mediaId}?api_key=${this.apiKey}&language=en-US&append_to_response=release_dates,watch/providers,alternative_titles,credits,external_ids,images,keywords,recommendations,reviews,similar,translations,videos&include_image_language=en`;
|
|
187
174
|
|
|
@@ -199,15 +186,11 @@ class TMDB extends MovieParser {
|
|
|
199
186
|
type: type === 'movie' ? TvType.MOVIE : TvType.TVSERIES,
|
|
200
187
|
totalSeasons: data?.number_of_seasons,
|
|
201
188
|
totalEpisodes: data?.number_of_episodes,
|
|
202
|
-
year: new Date(
|
|
203
|
-
data?.release_year || data?.first_air_date
|
|
204
|
-
).getFullYear(),
|
|
189
|
+
year: new Date(data?.release_year || data?.first_air_date).getFullYear(),
|
|
205
190
|
});
|
|
206
191
|
|
|
207
192
|
//fetch media info from provider
|
|
208
|
-
const InfoFromProvider = await this.provider.fetchMediaInfo(
|
|
209
|
-
providerId as string
|
|
210
|
-
);
|
|
193
|
+
const InfoFromProvider = await this.provider.fetchMediaInfo(providerId as string);
|
|
211
194
|
|
|
212
195
|
info.id = providerId as string;
|
|
213
196
|
|
|
@@ -215,24 +198,20 @@ class TMDB extends MovieParser {
|
|
|
215
198
|
if (type === 'movie') info.episodeId = InfoFromProvider?.episodes![0]?.id;
|
|
216
199
|
|
|
217
200
|
info.title = data?.title || data?.name;
|
|
218
|
-
info.translations = data?.translations?.translations.map(
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
})
|
|
224
|
-
);
|
|
201
|
+
info.translations = data?.translations?.translations.map((translation: any) => ({
|
|
202
|
+
title: translation.data?.title || data?.name || undefined,
|
|
203
|
+
description: translation.data?.overview || undefined,
|
|
204
|
+
language: translation?.english_name || undefined,
|
|
205
|
+
}));
|
|
225
206
|
|
|
226
207
|
//images
|
|
227
208
|
info.image = `https://image.tmdb.org/t/p/original${data?.poster_path}`;
|
|
228
209
|
info.cover = `https://image.tmdb.org/t/p/original${data?.backdrop_path}`;
|
|
229
|
-
info.logos = data?.images?.logos.map(
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
})
|
|
235
|
-
);
|
|
210
|
+
info.logos = data?.images?.logos.map((logo: { file_path: string; aspect_ratio: number; width: number }) => ({
|
|
211
|
+
url: `https://image.tmdb.org/t/p/original${logo.file_path}`,
|
|
212
|
+
aspectRatio: logo?.aspect_ratio,
|
|
213
|
+
width: logo?.width,
|
|
214
|
+
}));
|
|
236
215
|
|
|
237
216
|
info.type = type === 'movie' ? TvType.MOVIE : TvType.TVSERIES;
|
|
238
217
|
info.rating = data?.vote_average || 0;
|
|
@@ -248,9 +227,7 @@ class TMDB extends MovieParser {
|
|
|
248
227
|
info.writers = data?.credits?.crew
|
|
249
228
|
.filter((crew: { job: string }) => crew.job === 'Screenplay')
|
|
250
229
|
.map((crew: { name: string }) => crew.name);
|
|
251
|
-
info.actors = data?.credits?.cast.map(
|
|
252
|
-
(cast: { name: string }) => cast.name
|
|
253
|
-
);
|
|
230
|
+
info.actors = data?.credits?.cast.map((cast: { name: string }) => cast.name);
|
|
254
231
|
info.characters = data?.credits?.cast.map((cast: any) => ({
|
|
255
232
|
id: cast.id,
|
|
256
233
|
name: cast.name,
|
|
@@ -299,8 +276,7 @@ class TMDB extends MovieParser {
|
|
|
299
276
|
|
|
300
277
|
const totalSeasons = (info?.totalSeasons as number) || 0;
|
|
301
278
|
if (type === 'tv' && totalSeasons > 0) {
|
|
302
|
-
const seasonUrl = (season: string) =>
|
|
303
|
-
`${this.apiUrl}/tv/${mediaId}/season/${season}?api_key=${this.apiKey}`;
|
|
279
|
+
const seasonUrl = (season: string) => `${this.apiUrl}/tv/${mediaId}/season/${season}?api_key=${this.apiKey}`;
|
|
304
280
|
|
|
305
281
|
info.seasons = [];
|
|
306
282
|
const seasons = info.seasons as any[];
|
|
@@ -321,25 +297,20 @@ class TMDB extends MovieParser {
|
|
|
321
297
|
: undefined;
|
|
322
298
|
|
|
323
299
|
for (let i = 1; i <= totalSeasons; i++) {
|
|
324
|
-
const { data: seasonData } = await this.client.get(
|
|
325
|
-
seasonUrl(i.toString())
|
|
326
|
-
);
|
|
300
|
+
const { data: seasonData } = await this.client.get(seasonUrl(i.toString()));
|
|
327
301
|
|
|
328
302
|
//find season in each episode (providerEpisodes)
|
|
329
|
-
const seasonEpisodes = providerEpisodes?.filter(
|
|
330
|
-
(episode) => episode.season === i
|
|
331
|
-
);
|
|
303
|
+
const seasonEpisodes = providerEpisodes?.filter((episode) => episode.season === i);
|
|
332
304
|
const episodes =
|
|
333
305
|
seasonData?.episodes?.length <= 0
|
|
334
306
|
? undefined
|
|
335
307
|
: seasonData?.episodes.map((episode: any): IMovieEpisode => {
|
|
336
308
|
//find episode in each season (seasonEpisodes)
|
|
337
|
-
const episodeFromProvider = seasonEpisodes?.find(
|
|
338
|
-
(ep) => ep.number === episode.episode_number
|
|
339
|
-
);
|
|
309
|
+
const episodeFromProvider = seasonEpisodes?.find((ep) => ep.number === episode.episode_number);
|
|
340
310
|
|
|
341
311
|
return {
|
|
342
312
|
id: episodeFromProvider?.id,
|
|
313
|
+
uniqueId: `${mediaId}-${type}-s${episode.season_number}-e${episode.episode_number}`,
|
|
343
314
|
title: episode.name,
|
|
344
315
|
episode: episode.episode_number,
|
|
345
316
|
season: episode.season_number,
|
|
@@ -364,14 +335,35 @@ class TMDB extends MovieParser {
|
|
|
364
335
|
hd: `https://image.tmdb.org/t/p/w780${seasonData.poster_path}`,
|
|
365
336
|
},
|
|
366
337
|
episodes,
|
|
367
|
-
isReleased:
|
|
368
|
-
seasonData?.episodes[0]?.air_date > new Date().toISOString()
|
|
369
|
-
? false
|
|
370
|
-
: true,
|
|
338
|
+
isReleased: seasonData?.episodes[0]?.air_date > new Date().toISOString() ? false : true,
|
|
371
339
|
});
|
|
372
340
|
}
|
|
341
|
+
} else {
|
|
342
|
+
info.seasons = [];
|
|
343
|
+
info.seasons.push({
|
|
344
|
+
season: 1,
|
|
345
|
+
image: !data?.poster_path ? undefined : `https://image.tmdb.org/t/p/w780${data.backdrop_path}`,
|
|
346
|
+
episodes: [
|
|
347
|
+
{
|
|
348
|
+
id: `${mediaId}-${type}-s1-e1`,
|
|
349
|
+
uniqueId: `${mediaId}-${type}-s1-e1`,
|
|
350
|
+
title: data.title || data.original_title,
|
|
351
|
+
episode: 1,
|
|
352
|
+
season: 1,
|
|
353
|
+
releaseDate: data.release_date,
|
|
354
|
+
description: data.overview,
|
|
355
|
+
img: !data?.backdrop_path
|
|
356
|
+
? undefined
|
|
357
|
+
: {
|
|
358
|
+
mobile: `https://image.tmdb.org/t/p/w300${data.backdrop_path}`,
|
|
359
|
+
hd: `https://image.tmdb.org/t/p/w780${data.backdrop_path}`,
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
});
|
|
373
364
|
}
|
|
374
365
|
} catch (err) {
|
|
366
|
+
console.log(err);
|
|
375
367
|
throw new Error((err as Error).message);
|
|
376
368
|
}
|
|
377
369
|
|
|
@@ -397,9 +389,7 @@ class TMDB extends MovieParser {
|
|
|
397
389
|
//clean title
|
|
398
390
|
title = title.replace(/[^a-zA-Z0-9 ]/g, '').toLowerCase();
|
|
399
391
|
|
|
400
|
-
const findMedia = (await this.provider.search(
|
|
401
|
-
title
|
|
402
|
-
)) as ISearch<IAnimeResult>;
|
|
392
|
+
const findMedia = (await this.provider.search(title)) as ISearch<IAnimeResult>;
|
|
403
393
|
if (findMedia.results.length === 0) return '';
|
|
404
394
|
|
|
405
395
|
// console.log(findMedia.results);
|
|
@@ -418,14 +408,8 @@ class TMDB extends MovieParser {
|
|
|
418
408
|
if (typeof b.title === 'string') secondTitle = b.title as string;
|
|
419
409
|
else secondTitle = (b?.title as string) ?? '';
|
|
420
410
|
|
|
421
|
-
const firstRating = compareTwoStrings(
|
|
422
|
-
|
|
423
|
-
firstTitle.toLowerCase()
|
|
424
|
-
);
|
|
425
|
-
const secondRating = compareTwoStrings(
|
|
426
|
-
targetTitle,
|
|
427
|
-
secondTitle.toLowerCase()
|
|
428
|
-
);
|
|
411
|
+
const firstRating = compareTwoStrings(targetTitle, firstTitle.toLowerCase());
|
|
412
|
+
const secondRating = compareTwoStrings(targetTitle, secondTitle.toLowerCase());
|
|
429
413
|
|
|
430
414
|
// Sort in descending order
|
|
431
415
|
return secondRating - firstRating;
|
|
@@ -433,20 +417,15 @@ class TMDB extends MovieParser {
|
|
|
433
417
|
|
|
434
418
|
//remove results that dont match the type
|
|
435
419
|
findMedia.results = findMedia.results.filter((result) => {
|
|
436
|
-
if (extraData.type === TvType.MOVIE)
|
|
437
|
-
|
|
438
|
-
else if (extraData.type === TvType.TVSERIES)
|
|
439
|
-
return (result.type as string) === TvType.TVSERIES;
|
|
420
|
+
if (extraData.type === TvType.MOVIE) return (result.type as string) === TvType.MOVIE;
|
|
421
|
+
else if (extraData.type === TvType.TVSERIES) return (result.type as string) === TvType.TVSERIES;
|
|
440
422
|
else return result;
|
|
441
423
|
});
|
|
442
424
|
|
|
443
425
|
// if extraData contains a year, filter out the results that don't match the year
|
|
444
426
|
if (extraData && extraData.year && extraData.type === TvType.MOVIE) {
|
|
445
427
|
findMedia.results = findMedia.results.filter((result) => {
|
|
446
|
-
return (
|
|
447
|
-
String(result.releaseDate).split('-')[0]?.trim() ===
|
|
448
|
-
String(extraData.year).trim()
|
|
449
|
-
);
|
|
428
|
+
return String(result.releaseDate).split('-')[0]?.trim() === String(extraData.year).trim();
|
|
450
429
|
});
|
|
451
430
|
}
|
|
452
431
|
|
|
@@ -454,18 +433,11 @@ class TMDB extends MovieParser {
|
|
|
454
433
|
|
|
455
434
|
// Check if the result contains the total number of seasons and compare it to the extraData.
|
|
456
435
|
// Allow for a range of ±2 seasons and ensure that the seasons value is a number.
|
|
457
|
-
if (
|
|
458
|
-
extraData &&
|
|
459
|
-
extraData.totalSeasons &&
|
|
460
|
-
extraData.type === TvType.TVSERIES
|
|
461
|
-
) {
|
|
436
|
+
if (extraData && extraData.totalSeasons && extraData.type === TvType.TVSERIES) {
|
|
462
437
|
findMedia.results = findMedia.results.filter((result) => {
|
|
463
|
-
const totalSeasons = (result.
|
|
438
|
+
const totalSeasons = (result.season as number) || 0;
|
|
464
439
|
const extraDataSeasons = (extraData.totalSeasons as number) || 0;
|
|
465
|
-
return
|
|
466
|
-
totalSeasons >= extraDataSeasons - 2 &&
|
|
467
|
-
totalSeasons <= extraDataSeasons + 2
|
|
468
|
-
);
|
|
440
|
+
return totalSeasons >= extraDataSeasons - 2 && totalSeasons <= extraDataSeasons + 2;
|
|
469
441
|
});
|
|
470
442
|
}
|
|
471
443
|
|
|
@@ -478,10 +450,7 @@ class TMDB extends MovieParser {
|
|
|
478
450
|
* @param id media id (anime or movie/tv)
|
|
479
451
|
* @param args optional arguments
|
|
480
452
|
*/
|
|
481
|
-
override fetchEpisodeSources = async (
|
|
482
|
-
id: string,
|
|
483
|
-
...args: any
|
|
484
|
-
): Promise<ISource> => {
|
|
453
|
+
override fetchEpisodeSources = async (id: string, ...args: any): Promise<ISource> => {
|
|
485
454
|
return this.provider.fetchEpisodeSources(id, ...args);
|
|
486
455
|
};
|
|
487
456
|
|
|
@@ -489,10 +458,7 @@ class TMDB extends MovieParser {
|
|
|
489
458
|
* @param episodeId episode id
|
|
490
459
|
* @param args optional arguments
|
|
491
460
|
**/
|
|
492
|
-
override fetchEpisodeServers = async (
|
|
493
|
-
episodeId: string,
|
|
494
|
-
...args: any
|
|
495
|
-
): Promise<IEpisodeServer[]> => {
|
|
461
|
+
override fetchEpisodeServers = async (episodeId: string, ...args: any): Promise<IEpisodeServer[]> => {
|
|
496
462
|
return this.provider.fetchEpisodeServers(episodeId, ...args);
|
|
497
463
|
};
|
|
498
464
|
}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { load } from 'cheerio';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
AsianLoad,
|
|
5
|
-
MixDrop,
|
|
6
|
-
StreamSB,
|
|
7
|
-
StreamTape,
|
|
8
|
-
StreamWish,
|
|
9
|
-
VidHide,
|
|
10
|
-
} from '../../extractors';
|
|
3
|
+
import { AsianLoad, MixDrop, StreamSB, StreamTape, StreamWish, VidHide } from '../../extractors';
|
|
11
4
|
import {
|
|
12
5
|
type IEpisodeServer,
|
|
13
6
|
type IMovieInfo,
|
|
@@ -28,10 +21,7 @@ class DramaCool extends MovieParser {
|
|
|
28
21
|
protected override classPath = 'MOVIES.DramaCool';
|
|
29
22
|
override supportedTypes = new Set([TvType.MOVIE, TvType.TVSERIES]);
|
|
30
23
|
|
|
31
|
-
override search = async (
|
|
32
|
-
query: string,
|
|
33
|
-
page: number = 1
|
|
34
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
24
|
+
override search = async (query: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
35
25
|
try {
|
|
36
26
|
const searchResult: ISearch<IMovieResult> = {
|
|
37
27
|
currentPage: page,
|
|
@@ -49,32 +39,23 @@ class DramaCool extends MovieParser {
|
|
|
49
39
|
const navSelector = 'ul.pagination';
|
|
50
40
|
|
|
51
41
|
searchResult.hasNextPage =
|
|
52
|
-
$(navSelector).length > 0
|
|
53
|
-
? !$(navSelector).children().last().hasClass('selected')
|
|
54
|
-
: false;
|
|
42
|
+
$(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('selected') : false;
|
|
55
43
|
|
|
56
44
|
const lastPage = $(navSelector).children().last().find('a').attr('href');
|
|
57
|
-
if (
|
|
58
|
-
lastPage !== undefined &&
|
|
59
|
-
lastPage !== '' &&
|
|
60
|
-
lastPage.includes('page=')
|
|
61
|
-
) {
|
|
45
|
+
if (lastPage !== undefined && lastPage !== '' && lastPage.includes('page=')) {
|
|
62
46
|
const maxPage = new URLSearchParams(lastPage).get('page');
|
|
63
|
-
if (maxPage !== null && !isNaN(parseInt(maxPage)))
|
|
64
|
-
searchResult.totalPages = parseInt(maxPage);
|
|
47
|
+
if (maxPage !== null && !isNaN(parseInt(maxPage))) searchResult.totalPages = parseInt(maxPage);
|
|
65
48
|
else if (searchResult.hasNextPage) searchResult.totalPages = page + 1;
|
|
66
49
|
} else if (searchResult.hasNextPage) searchResult.totalPages = page + 1;
|
|
67
50
|
|
|
68
|
-
$('div.block > div.tab-content > ul.list-episode-item > li').each(
|
|
69
|
-
(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
);
|
|
51
|
+
$('div.block > div.tab-content > ul.list-episode-item > li').each((i, el) => {
|
|
52
|
+
searchResult.results.push({
|
|
53
|
+
id: $(el).find('a').attr('href')?.split(`${this.baseUrl}/`)[1]!,
|
|
54
|
+
title: $(el).find('a > h3').text(),
|
|
55
|
+
url: `${$(el).find('a').attr('href')}`,
|
|
56
|
+
image: $(el).find('a > img').attr('data-original'),
|
|
57
|
+
});
|
|
58
|
+
});
|
|
78
59
|
return searchResult;
|
|
79
60
|
} catch (err) {
|
|
80
61
|
throw new Error((err as Error).message);
|
|
@@ -84,8 +65,7 @@ class DramaCool extends MovieParser {
|
|
|
84
65
|
override fetchMediaInfo = async (mediaId: string): Promise<IMovieInfo> => {
|
|
85
66
|
try {
|
|
86
67
|
const realMediaId = mediaId;
|
|
87
|
-
if (!mediaId.startsWith(this.baseUrl))
|
|
88
|
-
mediaId = `${this.baseUrl}/${mediaId}`;
|
|
68
|
+
if (!mediaId.startsWith(this.baseUrl)) mediaId = `${this.baseUrl}/${mediaId}`;
|
|
89
69
|
|
|
90
70
|
const mediaInfo: IMovieInfo = {
|
|
91
71
|
id: '',
|
|
@@ -97,17 +77,9 @@ class DramaCool extends MovieParser {
|
|
|
97
77
|
|
|
98
78
|
mediaInfo.id = realMediaId;
|
|
99
79
|
|
|
100
|
-
const duration = $('div.details div.info p:contains("Duration:")')
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
.trim();
|
|
104
|
-
if (duration !== '')
|
|
105
|
-
mediaInfo.duration = duration.replace('Duration:', '').trim();
|
|
106
|
-
const status = $('div.details div.info p:contains("Status:")')
|
|
107
|
-
.find('a')
|
|
108
|
-
.first()
|
|
109
|
-
.text()
|
|
110
|
-
.trim();
|
|
80
|
+
const duration = $('div.details div.info p:contains("Duration:")').first().text().trim();
|
|
81
|
+
if (duration !== '') mediaInfo.duration = duration.replace('Duration:', '').trim();
|
|
82
|
+
const status = $('div.details div.info p:contains("Status:")').find('a').first().text().trim();
|
|
111
83
|
switch (status) {
|
|
112
84
|
case 'Ongoing':
|
|
113
85
|
mediaInfo.status = MediaStatus.ONGOING;
|
|
@@ -157,9 +129,7 @@ class DramaCool extends MovieParser {
|
|
|
157
129
|
);
|
|
158
130
|
mediaInfo.originalNetwork = this.cleanUpText(
|
|
159
131
|
this.removeContainsFromString(
|
|
160
|
-
$('div.details div.info p:contains("Original Network:")')
|
|
161
|
-
.text()
|
|
162
|
-
.trim(),
|
|
132
|
+
$('div.details div.info p:contains("Original Network:")').text().trim(),
|
|
163
133
|
'Original Network'
|
|
164
134
|
)
|
|
165
135
|
);
|
|
@@ -183,24 +153,16 @@ class DramaCool extends MovieParser {
|
|
|
183
153
|
});
|
|
184
154
|
|
|
185
155
|
mediaInfo.episodes = [];
|
|
186
|
-
$('div.content-left > div.block-tab > div > div > ul > li').each(
|
|
187
|
-
(
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
$(el).find('a').attr('href')?.split('-episode-')[1]!
|
|
197
|
-
),
|
|
198
|
-
subType: $(el).find('span.type').text(),
|
|
199
|
-
releaseDate: $(el).find('span.time').text(),
|
|
200
|
-
url: `${$(el).find('a').attr('href')}`,
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
);
|
|
156
|
+
$('div.content-left > div.block-tab > div > div > ul > li').each((i, el) => {
|
|
157
|
+
mediaInfo.episodes?.push({
|
|
158
|
+
id: $(el).find('a').attr('href')?.split(`${this.baseUrl}/`)[1]!,
|
|
159
|
+
title: $(el).find('h3').text().replace(mediaInfo.title.toString(), '').trim(),
|
|
160
|
+
episode: parseFloat($(el).find('a').attr('href')?.split('-episode-')[1]!),
|
|
161
|
+
subType: $(el).find('span.type').text(),
|
|
162
|
+
releaseDate: $(el).find('span.time').text(),
|
|
163
|
+
url: `${$(el).find('a').attr('href')}`,
|
|
164
|
+
});
|
|
165
|
+
});
|
|
204
166
|
mediaInfo.episodes.reverse();
|
|
205
167
|
|
|
206
168
|
return mediaInfo;
|
|
@@ -209,10 +171,7 @@ class DramaCool extends MovieParser {
|
|
|
209
171
|
}
|
|
210
172
|
};
|
|
211
173
|
|
|
212
|
-
override async fetchEpisodeServers(
|
|
213
|
-
episodeId: string,
|
|
214
|
-
...args: any
|
|
215
|
-
): Promise<IEpisodeServer[]> {
|
|
174
|
+
override async fetchEpisodeServers(episodeId: string, ...args: any): Promise<IEpisodeServer[]> {
|
|
216
175
|
try {
|
|
217
176
|
const episodeServers: IEpisodeServer[] = [];
|
|
218
177
|
|
|
@@ -234,12 +193,8 @@ class DramaCool extends MovieParser {
|
|
|
234
193
|
// });
|
|
235
194
|
// });
|
|
236
195
|
|
|
237
|
-
const standardServer = $('div.anime_muti_link > ul > li.standard').attr(
|
|
238
|
-
|
|
239
|
-
)!;
|
|
240
|
-
const url = standardServer.startsWith('//')
|
|
241
|
-
? standardServer?.replace('//', 'https://')
|
|
242
|
-
: standardServer;
|
|
196
|
+
const standardServer = $('div.anime_muti_link > ul > li.standard').attr('data-video')!;
|
|
197
|
+
const url = standardServer.startsWith('//') ? standardServer?.replace('//', 'https://') : standardServer;
|
|
243
198
|
const { data: servers } = await this.client.get(url);
|
|
244
199
|
const $$ = load(servers);
|
|
245
200
|
$$('div#list-server-more > ul > li').each((i, el) => {
|
|
@@ -251,9 +206,7 @@ class DramaCool extends MovieParser {
|
|
|
251
206
|
if (server) {
|
|
252
207
|
episodeServers.push({
|
|
253
208
|
name: name,
|
|
254
|
-
url: server.startsWith('//')
|
|
255
|
-
? server?.replace('//', 'https://')
|
|
256
|
-
: server,
|
|
209
|
+
url: server.startsWith('//') ? server?.replace('//', 'https://') : server,
|
|
257
210
|
});
|
|
258
211
|
}
|
|
259
212
|
});
|
|
@@ -273,46 +226,33 @@ class DramaCool extends MovieParser {
|
|
|
273
226
|
case StreamingServers.AsianLoad:
|
|
274
227
|
return {
|
|
275
228
|
headers: { Referer: serverUrl.origin },
|
|
276
|
-
...(await new AsianLoad(this.proxyConfig, this.adapter).extract(
|
|
277
|
-
serverUrl
|
|
278
|
-
)),
|
|
229
|
+
...(await new AsianLoad(this.proxyConfig, this.adapter).extract(serverUrl)),
|
|
279
230
|
download: this.downloadLink(episodeId),
|
|
280
231
|
};
|
|
281
232
|
case StreamingServers.MixDrop:
|
|
282
233
|
return {
|
|
283
234
|
headers: { Referer: serverUrl.origin },
|
|
284
|
-
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(
|
|
285
|
-
serverUrl
|
|
286
|
-
),
|
|
235
|
+
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
287
236
|
};
|
|
288
237
|
case StreamingServers.StreamTape:
|
|
289
238
|
return {
|
|
290
239
|
headers: { Referer: serverUrl.origin },
|
|
291
|
-
sources: await new StreamTape(
|
|
292
|
-
this.proxyConfig,
|
|
293
|
-
this.adapter
|
|
294
|
-
).extract(serverUrl),
|
|
240
|
+
sources: await new StreamTape(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
295
241
|
};
|
|
296
242
|
case StreamingServers.StreamSB:
|
|
297
243
|
return {
|
|
298
244
|
headers: { Referer: serverUrl.origin },
|
|
299
|
-
sources: await new StreamSB(this.proxyConfig, this.adapter).extract(
|
|
300
|
-
serverUrl
|
|
301
|
-
),
|
|
245
|
+
sources: await new StreamSB(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
302
246
|
};
|
|
303
247
|
case StreamingServers.StreamWish:
|
|
304
248
|
return {
|
|
305
249
|
headers: { Referer: serverUrl.origin },
|
|
306
|
-
...(await new StreamWish(this.proxyConfig, this.adapter).extract(
|
|
307
|
-
serverUrl
|
|
308
|
-
)),
|
|
250
|
+
...(await new StreamWish(this.proxyConfig, this.adapter).extract(serverUrl)),
|
|
309
251
|
};
|
|
310
252
|
case StreamingServers.VidHide:
|
|
311
253
|
return {
|
|
312
254
|
headers: { Referer: serverUrl.href },
|
|
313
|
-
sources: await new VidHide(this.proxyConfig, this.adapter).extract(
|
|
314
|
-
serverUrl
|
|
315
|
-
),
|
|
255
|
+
sources: await new VidHide(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
316
256
|
};
|
|
317
257
|
default:
|
|
318
258
|
throw new Error('Server not supported');
|
|
@@ -322,17 +262,11 @@ class DramaCool extends MovieParser {
|
|
|
322
262
|
// episodeId = `${this.baseUrl}/${episodeId}`;
|
|
323
263
|
|
|
324
264
|
const servers = await this.fetchEpisodeServers(episodeId);
|
|
325
|
-
const i = servers.findIndex(
|
|
326
|
-
(s) => s.name.toLowerCase() === server.toLowerCase()
|
|
327
|
-
);
|
|
265
|
+
const i = servers.findIndex((s) => s.name.toLowerCase() === server.toLowerCase());
|
|
328
266
|
if (i === -1) {
|
|
329
267
|
throw new Error(`Server ${server} not found`);
|
|
330
268
|
}
|
|
331
|
-
const serverUrl: URL = new URL(
|
|
332
|
-
servers.filter(
|
|
333
|
-
(s) => s.name.toLowerCase() === server.toLowerCase()
|
|
334
|
-
)[0]!.url
|
|
335
|
-
);
|
|
269
|
+
const serverUrl: URL = new URL(servers.filter((s) => s.name.toLowerCase() === server.toLowerCase())[0]!.url);
|
|
336
270
|
|
|
337
271
|
return await this.fetchEpisodeSources(serverUrl.href, server);
|
|
338
272
|
} catch (err) {
|
|
@@ -341,31 +275,15 @@ class DramaCool extends MovieParser {
|
|
|
341
275
|
};
|
|
342
276
|
|
|
343
277
|
fetchPopular = async (page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
344
|
-
return this.fetchData(
|
|
345
|
-
`${this.baseUrl}/all-most-popular-drama?page=${page}`,
|
|
346
|
-
page
|
|
347
|
-
);
|
|
278
|
+
return this.fetchData(`${this.baseUrl}/all-most-popular-drama?page=${page}`, page);
|
|
348
279
|
};
|
|
349
280
|
|
|
350
|
-
fetchRecentTvShows = async (
|
|
351
|
-
page
|
|
352
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
353
|
-
return this.fetchData(
|
|
354
|
-
`${this.baseUrl}/all-recently-added/drama?page=${page}`,
|
|
355
|
-
page,
|
|
356
|
-
true
|
|
357
|
-
);
|
|
281
|
+
fetchRecentTvShows = async (page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
282
|
+
return this.fetchData(`${this.baseUrl}/all-recently-added/drama?page=${page}`, page, true);
|
|
358
283
|
};
|
|
359
284
|
|
|
360
|
-
fetchRecentMovies = async (
|
|
361
|
-
page
|
|
362
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
363
|
-
return this.fetchData(
|
|
364
|
-
`${this.baseUrl}/all-recently-added/movie?page=${page}`,
|
|
365
|
-
page,
|
|
366
|
-
false,
|
|
367
|
-
true
|
|
368
|
-
);
|
|
285
|
+
fetchRecentMovies = async (page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
286
|
+
return this.fetchData(`${this.baseUrl}/all-recently-added/movie?page=${page}`, page, false, true);
|
|
369
287
|
};
|
|
370
288
|
|
|
371
289
|
fetchSpotlight = async (): Promise<ISearch<IMovieResult>> => {
|
|
@@ -425,29 +343,19 @@ class DramaCool extends MovieParser {
|
|
|
425
343
|
// }
|
|
426
344
|
|
|
427
345
|
if (isTvShow) {
|
|
428
|
-
result.episodeNumber = parseFloat(
|
|
429
|
-
$(el).find('span.ep').text().trim().split(' ')[1]!
|
|
430
|
-
);
|
|
346
|
+
result.episodeNumber = parseFloat($(el).find('span.ep').text().trim().split(' ')[1]!);
|
|
431
347
|
}
|
|
432
348
|
|
|
433
349
|
results.results.push(result);
|
|
434
350
|
});
|
|
435
351
|
|
|
436
352
|
const navSelector = 'ul.pagination';
|
|
437
|
-
results.hasNextPage =
|
|
438
|
-
$(navSelector).length > 0
|
|
439
|
-
? !$(navSelector).children().last().hasClass('selected')
|
|
440
|
-
: false;
|
|
353
|
+
results.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('selected') : false;
|
|
441
354
|
|
|
442
355
|
const lastPage = $(navSelector).children().last().find('a').attr('href');
|
|
443
|
-
if (
|
|
444
|
-
lastPage !== undefined &&
|
|
445
|
-
lastPage !== '' &&
|
|
446
|
-
lastPage.includes('page=')
|
|
447
|
-
) {
|
|
356
|
+
if (lastPage !== undefined && lastPage !== '' && lastPage.includes('page=')) {
|
|
448
357
|
const maxPage = new URLSearchParams(lastPage).get('page');
|
|
449
|
-
if (maxPage !== null && !isNaN(parseInt(maxPage)))
|
|
450
|
-
results.totalPages = parseInt(maxPage);
|
|
358
|
+
if (maxPage !== null && !isNaN(parseInt(maxPage))) results.totalPages = parseInt(maxPage);
|
|
451
359
|
else if (results.hasNextPage) results.totalPages = page + 1;
|
|
452
360
|
} else if (results.hasNextPage) results.totalPages = page + 1;
|
|
453
361
|
|
|
@@ -463,11 +371,7 @@ class DramaCool extends MovieParser {
|
|
|
463
371
|
|
|
464
372
|
private removeContainsFromString = (str: string, contains: string) => {
|
|
465
373
|
contains = contains.toLowerCase();
|
|
466
|
-
return str
|
|
467
|
-
.toLowerCase()
|
|
468
|
-
.replace(/\n/g, '')
|
|
469
|
-
.replace(`${contains}:`, '')
|
|
470
|
-
.trim();
|
|
374
|
+
return str.toLowerCase().replace(/\n/g, '').replace(`${contains}:`, '').trim();
|
|
471
375
|
};
|
|
472
376
|
private cleanUpText = (str: string) => {
|
|
473
377
|
return str
|