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
|
@@ -26,49 +26,33 @@ class MovieHdWatch extends MovieParser {
|
|
|
26
26
|
* @param query search query string
|
|
27
27
|
* @param page page number (default 1) (optional)
|
|
28
28
|
*/
|
|
29
|
-
override search = async (
|
|
30
|
-
query: string,
|
|
31
|
-
page: number = 1
|
|
32
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
29
|
+
override search = async (query: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
33
30
|
const searchResult: ISearch<IMovieResult> = {
|
|
34
31
|
currentPage: page,
|
|
35
32
|
hasNextPage: false,
|
|
36
33
|
results: [],
|
|
37
34
|
};
|
|
38
35
|
try {
|
|
39
|
-
const { data } = await this.client.get(
|
|
40
|
-
`${this.baseUrl}/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`
|
|
41
|
-
);
|
|
36
|
+
const { data } = await this.client.get(`${this.baseUrl}/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`);
|
|
42
37
|
const $ = load(data);
|
|
43
38
|
|
|
44
|
-
const navSelector =
|
|
45
|
-
'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
39
|
+
const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
46
40
|
|
|
47
41
|
searchResult.hasNextPage =
|
|
48
|
-
$(navSelector).length > 0
|
|
49
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
50
|
-
: false;
|
|
42
|
+
$(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
51
43
|
|
|
52
44
|
$('.film_list-wrap > div.flw-item').each((i, el) => {
|
|
53
|
-
const releaseDate = $(el)
|
|
54
|
-
|
|
55
|
-
.text();
|
|
56
|
-
const duration = $(el)
|
|
57
|
-
.find('div.film-detail > div.film-infor > span:nth-child(4)')
|
|
58
|
-
.text();
|
|
45
|
+
const releaseDate = $(el).find('div.film-detail > div.film-infor > span:nth-child(2)').text();
|
|
46
|
+
const duration = $(el).find('div.film-detail > div.film-infor > span:nth-child(4)').text();
|
|
59
47
|
searchResult.results.push({
|
|
60
48
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
61
49
|
title: $(el).find('div.film-detail > h2 > a').attr('title') ?? '',
|
|
62
50
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
63
51
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
64
52
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
65
|
-
seasons: releaseDate.includes('SS')
|
|
66
|
-
? parseInt(releaseDate.split('SS')[1]!)
|
|
67
|
-
: undefined,
|
|
53
|
+
seasons: releaseDate.includes('SS') ? parseInt(releaseDate.split('SS')[1]!) : undefined,
|
|
68
54
|
duration: !duration.includes('EPS') ? duration : undefined,
|
|
69
|
-
type: $(el).find('div.film-poster > a').attr('href')?.includes('tv/')
|
|
70
|
-
? TvType.TVSERIES
|
|
71
|
-
: TvType.MOVIE,
|
|
55
|
+
type: $(el).find('div.film-poster > a').attr('href')?.includes('tv/') ? TvType.TVSERIES : TvType.MOVIE,
|
|
72
56
|
});
|
|
73
57
|
});
|
|
74
58
|
|
|
@@ -99,25 +83,15 @@ class MovieHdWatch extends MovieParser {
|
|
|
99
83
|
};
|
|
100
84
|
|
|
101
85
|
const uid = $('.detail_page-watch').attr('data-id')!;
|
|
102
|
-
movieInfo.cover = $('div.dp-w-cover')
|
|
103
|
-
.attr('style')
|
|
104
|
-
?.slice(22)
|
|
105
|
-
.replace(')', '')
|
|
106
|
-
.replace(';', '');
|
|
86
|
+
movieInfo.cover = $('div.dp-w-cover').attr('style')?.slice(22).replace(')', '').replace(';', '');
|
|
107
87
|
movieInfo.title = $('.heading-name > a:nth-child(1)').text();
|
|
108
88
|
movieInfo.image = $('.film-poster > img').attr('src');
|
|
109
89
|
movieInfo.description = $('.description')
|
|
110
90
|
.text()
|
|
111
91
|
.replace(/(\r\n|\n|\r)/gm, '')
|
|
112
92
|
.trim();
|
|
113
|
-
movieInfo.type =
|
|
114
|
-
|
|
115
|
-
movieInfo.releaseDate = $('div.elements')
|
|
116
|
-
.find('div.row-line')
|
|
117
|
-
.first()
|
|
118
|
-
.text()
|
|
119
|
-
.replace('Released: ', '')
|
|
120
|
-
.trim();
|
|
93
|
+
movieInfo.type = movieInfo.id.split('/')[0] === 'tv' ? TvType.TVSERIES : TvType.MOVIE;
|
|
94
|
+
movieInfo.releaseDate = $('div.elements').find('div.row-line').first().text().replace('Released: ', '').trim();
|
|
121
95
|
movieInfo.genres = $('div.row-line:nth-child(2)')
|
|
122
96
|
.first()
|
|
123
97
|
.find('a')
|
|
@@ -146,41 +120,25 @@ class MovieHdWatch extends MovieParser {
|
|
|
146
120
|
.replace(/(\r\n|\n| |\r)/gm, '')
|
|
147
121
|
.replace('Duration:', '')
|
|
148
122
|
.trim();
|
|
149
|
-
movieInfo.rating = parseFloat(
|
|
150
|
-
$('div.dp-i-stats > span.item.mr-2').text().replace('IMDB: ', '')
|
|
151
|
-
);
|
|
123
|
+
movieInfo.rating = parseFloat($('div.dp-i-stats > span.item.mr-2').text().replace('IMDB: ', ''));
|
|
152
124
|
|
|
153
125
|
$('div.film_list-wrap > div.flw-item').each((i, el) => {
|
|
154
|
-
const releaseDate = $(el)
|
|
155
|
-
|
|
156
|
-
.text();
|
|
157
|
-
const duration = $(el)
|
|
158
|
-
.find('div.film-detail > div.film-infor > span:nth-child(4)')
|
|
159
|
-
.text();
|
|
126
|
+
const releaseDate = $(el).find('div.film-detail > div.film-infor > span:nth-child(2)').text();
|
|
127
|
+
const duration = $(el).find('div.film-detail > div.film-infor > span:nth-child(4)').text();
|
|
160
128
|
recommendationsArray.push({
|
|
161
129
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
162
130
|
title: $(el).find('div.film-detail > h3.film-name > a').text(),
|
|
163
131
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
164
132
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
165
|
-
seasons: releaseDate.includes('SS')
|
|
166
|
-
? parseInt(releaseDate.split('SS')[1]!)
|
|
167
|
-
: undefined,
|
|
133
|
+
seasons: releaseDate.includes('SS') ? parseInt(releaseDate.split('SS')[1]!) : undefined,
|
|
168
134
|
duration: !duration.includes('EPS') ? duration : undefined,
|
|
169
|
-
type: $(el).find('div.film-poster > a').attr('href')?.includes('tv/')
|
|
170
|
-
? TvType.TVSERIES
|
|
171
|
-
: TvType.MOVIE,
|
|
135
|
+
type: $(el).find('div.film-poster > a').attr('href')?.includes('tv/') ? TvType.TVSERIES : TvType.MOVIE,
|
|
172
136
|
});
|
|
173
137
|
});
|
|
174
138
|
|
|
175
139
|
movieInfo.recommendations = recommendationsArray;
|
|
176
|
-
const ajaxReqUrl = (
|
|
177
|
-
|
|
178
|
-
type: string,
|
|
179
|
-
isSeasons: boolean = false
|
|
180
|
-
) =>
|
|
181
|
-
`${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${
|
|
182
|
-
isSeasons ? 'seasons' : 'episodes'
|
|
183
|
-
}/${id}`;
|
|
140
|
+
const ajaxReqUrl = (id: string, type: string, isSeasons: boolean = false) =>
|
|
141
|
+
`${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${isSeasons ? 'seasons' : 'episodes'}/${id}`;
|
|
184
142
|
|
|
185
143
|
if (movieInfo.type === TvType.TVSERIES) {
|
|
186
144
|
const { data } = await this.client.get(ajaxReqUrl(uid, 'tv', true));
|
|
@@ -200,14 +158,7 @@ class MovieHdWatch extends MovieParser {
|
|
|
200
158
|
const episode: IMovieEpisode = {
|
|
201
159
|
id: $$$(el).find('a').attr('id')!.split('-')[1]!,
|
|
202
160
|
title: $$$(el).find('a').attr('title')!,
|
|
203
|
-
number: parseInt(
|
|
204
|
-
$$$(el)
|
|
205
|
-
.find('a')
|
|
206
|
-
.attr('title')!
|
|
207
|
-
.split(':')[0]!
|
|
208
|
-
.slice(3)
|
|
209
|
-
.trim()
|
|
210
|
-
),
|
|
161
|
+
number: parseInt($$$(el).find('a').attr('title')!.split(':')[0]!.slice(3).trim()),
|
|
211
162
|
season: season,
|
|
212
163
|
url: `${this.baseUrl}/ajax/v2/episode/servers/${$$$(el).find('a').attr('id')!.split('-')[1]}`,
|
|
213
164
|
};
|
|
@@ -249,31 +200,22 @@ class MovieHdWatch extends MovieParser {
|
|
|
249
200
|
case StreamingServers.MixDrop:
|
|
250
201
|
return {
|
|
251
202
|
headers: { Referer: serverUrl.href },
|
|
252
|
-
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(
|
|
253
|
-
serverUrl
|
|
254
|
-
),
|
|
203
|
+
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
255
204
|
};
|
|
256
205
|
case StreamingServers.VidCloud:
|
|
257
206
|
return {
|
|
258
207
|
headers: { Referer: serverUrl.href },
|
|
259
|
-
...(await new VidCloud(this.proxyConfig, this.adapter).extract(
|
|
260
|
-
serverUrl,
|
|
261
|
-
true
|
|
262
|
-
)),
|
|
208
|
+
...(await new VidCloud(this.proxyConfig, this.adapter).extract(serverUrl, true)),
|
|
263
209
|
};
|
|
264
210
|
case StreamingServers.UpCloud:
|
|
265
211
|
return {
|
|
266
212
|
headers: { Referer: serverUrl.href },
|
|
267
|
-
...(await new VidCloud(this.proxyConfig, this.adapter).extract(
|
|
268
|
-
serverUrl
|
|
269
|
-
)),
|
|
213
|
+
...(await new VidCloud(this.proxyConfig, this.adapter).extract(serverUrl)),
|
|
270
214
|
};
|
|
271
215
|
default:
|
|
272
216
|
return {
|
|
273
217
|
headers: { Referer: serverUrl.href },
|
|
274
|
-
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(
|
|
275
|
-
serverUrl
|
|
276
|
-
),
|
|
218
|
+
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
277
219
|
};
|
|
278
220
|
}
|
|
279
221
|
}
|
|
@@ -281,19 +223,13 @@ class MovieHdWatch extends MovieParser {
|
|
|
281
223
|
try {
|
|
282
224
|
const servers = await this.fetchEpisodeServers(episodeId, mediaId);
|
|
283
225
|
|
|
284
|
-
const i = servers.findIndex(
|
|
285
|
-
(s) => s.name.toLowerCase() === server.toLowerCase()
|
|
286
|
-
);
|
|
226
|
+
const i = servers.findIndex((s) => s.name.toLowerCase() === server.toLowerCase());
|
|
287
227
|
|
|
288
228
|
if (i === -1) {
|
|
289
229
|
throw new Error(`Server ${server} not found`);
|
|
290
230
|
}
|
|
291
231
|
|
|
292
|
-
const serverUrl: URL = new URL(
|
|
293
|
-
servers.filter(
|
|
294
|
-
(s) => s.name.toLowerCase() === server.toLowerCase()
|
|
295
|
-
)[0]!.url
|
|
296
|
-
);
|
|
232
|
+
const serverUrl: URL = new URL(servers.filter((s) => s.name.toLowerCase() === server.toLowerCase())[0]!.url);
|
|
297
233
|
|
|
298
234
|
return await this.fetchEpisodeSources(serverUrl.href, mediaId, server);
|
|
299
235
|
} catch (err) {
|
|
@@ -306,14 +242,8 @@ class MovieHdWatch extends MovieParser {
|
|
|
306
242
|
* @param episodeId takes episode link or movie id
|
|
307
243
|
* @param mediaId takes movie link or id (found on movie info object)
|
|
308
244
|
*/
|
|
309
|
-
override fetchEpisodeServers = async (
|
|
310
|
-
episodeId
|
|
311
|
-
mediaId: string
|
|
312
|
-
): Promise<IEpisodeServer[]> => {
|
|
313
|
-
if (
|
|
314
|
-
!episodeId.startsWith(this.baseUrl + '/ajax') &&
|
|
315
|
-
!mediaId.includes('movie')
|
|
316
|
-
)
|
|
245
|
+
override fetchEpisodeServers = async (episodeId: string, mediaId: string): Promise<IEpisodeServer[]> => {
|
|
246
|
+
if (!episodeId.startsWith(this.baseUrl + '/ajax') && !mediaId.includes('movie'))
|
|
317
247
|
episodeId = `${this.baseUrl}/ajax/v2/episode/servers/${episodeId}`;
|
|
318
248
|
else episodeId = `${this.baseUrl}/ajax/movie/episodes/${episodeId}`;
|
|
319
249
|
|
|
@@ -327,9 +257,7 @@ class MovieHdWatch extends MovieParser {
|
|
|
327
257
|
const server: IEpisodeServer = {
|
|
328
258
|
name: $(el).find('a').attr('title')!.slice(6).trim(),
|
|
329
259
|
url: `${this.baseUrl}/${mediaId}.${
|
|
330
|
-
!mediaId.includes('movie')
|
|
331
|
-
? $(el).find('a').attr('data-id')
|
|
332
|
-
: $(el).find('a').attr('data-linkid')
|
|
260
|
+
!mediaId.includes('movie') ? $(el).find('a').attr('data-id') : $(el).find('a').attr('data-linkid')
|
|
333
261
|
}`.replace(
|
|
334
262
|
!mediaId.includes('movie') ? /\/tv\// : /\/movie\//,
|
|
335
263
|
!mediaId.includes('movie') ? '/watch-tv/' : '/watch-movie/'
|
|
@@ -361,27 +289,16 @@ class MovieHdWatch extends MovieParser {
|
|
|
361
289
|
const movies = $('.section-id-02')
|
|
362
290
|
.find('div.flw-item')
|
|
363
291
|
.map((i, el) => {
|
|
364
|
-
const releaseDate = $(el)
|
|
365
|
-
|
|
366
|
-
.text();
|
|
367
|
-
const duration = $(el)
|
|
368
|
-
.find('div.film-detail > div.film-infor > span:nth-child(4)')
|
|
369
|
-
.text();
|
|
292
|
+
const releaseDate = $(el).find('div.film-detail > div.film-infor > span:nth-child(2)').text();
|
|
293
|
+
const duration = $(el).find('div.film-detail > div.film-infor > span:nth-child(4)').text();
|
|
370
294
|
const movie: IMovieResult = {
|
|
371
295
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
372
|
-
title:
|
|
373
|
-
$(el).find('div.film-detail > h3.film-name > a').attr('title') ??
|
|
374
|
-
'',
|
|
296
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title') ?? '',
|
|
375
297
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
376
298
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
377
299
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
378
300
|
duration: !duration.includes('EPS') ? duration : undefined,
|
|
379
|
-
type: $(el)
|
|
380
|
-
.find('div.film-poster > a')
|
|
381
|
-
.attr('href')
|
|
382
|
-
?.includes('movie/')
|
|
383
|
-
? TvType.MOVIE
|
|
384
|
-
: TvType.TVSERIES,
|
|
301
|
+
type: $(el).find('div.film-poster > a').attr('href')?.includes('movie/') ? TvType.MOVIE : TvType.TVSERIES,
|
|
385
302
|
};
|
|
386
303
|
return movie;
|
|
387
304
|
})
|
|
@@ -402,23 +319,12 @@ class MovieHdWatch extends MovieParser {
|
|
|
402
319
|
.map((i, el) => {
|
|
403
320
|
const tvshow = {
|
|
404
321
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
405
|
-
title:
|
|
406
|
-
$(el).find('div.film-detail > h3.film-name > a').attr('title') ??
|
|
407
|
-
'',
|
|
322
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title') ?? '',
|
|
408
323
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
409
324
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
410
|
-
season: $(el)
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
latestEpisode: $(el)
|
|
414
|
-
.find('div.film-detail > div.film-infor > span:nth-child(4)')
|
|
415
|
-
.text(),
|
|
416
|
-
type: $(el)
|
|
417
|
-
.find('div.film-poster > a')
|
|
418
|
-
.attr('href')
|
|
419
|
-
?.includes('tv/')
|
|
420
|
-
? TvType.TVSERIES
|
|
421
|
-
: TvType.MOVIE,
|
|
325
|
+
season: $(el).find('div.film-detail > div.film-infor > span:nth-child(2)').text(),
|
|
326
|
+
latestEpisode: $(el).find('div.film-detail > div.film-infor > span:nth-child(4)').text(),
|
|
327
|
+
type: $(el).find('div.film-poster > a').attr('href')?.includes('tv/') ? TvType.TVSERIES : TvType.MOVIE,
|
|
422
328
|
};
|
|
423
329
|
return tvshow;
|
|
424
330
|
})
|
|
@@ -437,27 +343,16 @@ class MovieHdWatch extends MovieParser {
|
|
|
437
343
|
const movies = $('#trending-movies')
|
|
438
344
|
.find('div.flw-item')
|
|
439
345
|
.map((i, el) => {
|
|
440
|
-
const releaseDate = $(el)
|
|
441
|
-
|
|
442
|
-
.text();
|
|
443
|
-
const duration = $(el)
|
|
444
|
-
.find('div.film-detail > div.film-infor > span:nth-child(4)')
|
|
445
|
-
.text();
|
|
346
|
+
const releaseDate = $(el).find('div.film-detail > div.film-infor > span:nth-child(2)').text();
|
|
347
|
+
const duration = $(el).find('div.film-detail > div.film-infor > span:nth-child(4)').text();
|
|
446
348
|
const movie: IMovieResult = {
|
|
447
349
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
448
|
-
title:
|
|
449
|
-
$(el).find('div.film-detail > h3.film-name > a').attr('title') ??
|
|
450
|
-
'',
|
|
350
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title') ?? '',
|
|
451
351
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
452
352
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
453
353
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
454
354
|
duration: !duration.includes('EPS') ? duration : undefined,
|
|
455
|
-
type: $(el)
|
|
456
|
-
.find('div.film-poster > a')
|
|
457
|
-
.attr('href')
|
|
458
|
-
?.includes('movie/')
|
|
459
|
-
? TvType.MOVIE
|
|
460
|
-
: TvType.TVSERIES,
|
|
355
|
+
type: $(el).find('div.film-poster > a').attr('href')?.includes('movie/') ? TvType.MOVIE : TvType.TVSERIES,
|
|
461
356
|
};
|
|
462
357
|
return movie;
|
|
463
358
|
})
|
|
@@ -478,23 +373,12 @@ class MovieHdWatch extends MovieParser {
|
|
|
478
373
|
.map((i, el) => {
|
|
479
374
|
const tvshow = {
|
|
480
375
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
481
|
-
title:
|
|
482
|
-
$(el).find('div.film-detail > h3.film-name > a').attr('title') ??
|
|
483
|
-
'',
|
|
376
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title') ?? '',
|
|
484
377
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
485
378
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
486
|
-
season: $(el)
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
latestEpisode: $(el)
|
|
490
|
-
.find('div.film-detail > div.film-infor > span:nth-child(4)')
|
|
491
|
-
.text(),
|
|
492
|
-
type: $(el)
|
|
493
|
-
.find('div.film-poster > a')
|
|
494
|
-
.attr('href')
|
|
495
|
-
?.includes('tv/')
|
|
496
|
-
? TvType.TVSERIES
|
|
497
|
-
: TvType.MOVIE,
|
|
379
|
+
season: $(el).find('div.film-detail > div.film-infor > span:nth-child(2)').text(),
|
|
380
|
+
latestEpisode: $(el).find('div.film-detail > div.film-infor > span:nth-child(4)').text(),
|
|
381
|
+
type: $(el).find('div.film-poster > a').attr('href')?.includes('tv/') ? TvType.TVSERIES : TvType.MOVIE,
|
|
498
382
|
};
|
|
499
383
|
return tvshow;
|
|
500
384
|
})
|
|
@@ -505,54 +389,31 @@ class MovieHdWatch extends MovieParser {
|
|
|
505
389
|
}
|
|
506
390
|
};
|
|
507
391
|
|
|
508
|
-
fetchByCountry = async (
|
|
509
|
-
country: string,
|
|
510
|
-
page: number = 1
|
|
511
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
392
|
+
fetchByCountry = async (country: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
512
393
|
const result: ISearch<IMovieResult> = {
|
|
513
394
|
currentPage: page,
|
|
514
395
|
hasNextPage: false,
|
|
515
396
|
results: [],
|
|
516
397
|
};
|
|
517
|
-
const navSelector =
|
|
518
|
-
'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
398
|
+
const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
519
399
|
|
|
520
400
|
try {
|
|
521
|
-
const { data } = await this.client.get(
|
|
522
|
-
`${this.baseUrl}/country/${country}/?page=${page}`
|
|
523
|
-
);
|
|
401
|
+
const { data } = await this.client.get(`${this.baseUrl}/country/${country}/?page=${page}`);
|
|
524
402
|
const $ = load(data);
|
|
525
403
|
|
|
526
|
-
result.hasNextPage =
|
|
527
|
-
$(navSelector).length > 0
|
|
528
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
529
|
-
: false;
|
|
404
|
+
result.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
530
405
|
|
|
531
|
-
$(
|
|
532
|
-
'div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item'
|
|
533
|
-
)
|
|
406
|
+
$('div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item')
|
|
534
407
|
.each((i, el) => {
|
|
535
408
|
const resultItem: IMovieResult = {
|
|
536
409
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
537
|
-
title:
|
|
538
|
-
$(el).find('div.film-detail > h2.film-name > a').attr('title') ??
|
|
539
|
-
'',
|
|
410
|
+
title: $(el).find('div.film-detail > h2.film-name > a').attr('title') ?? '',
|
|
540
411
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
541
412
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
542
|
-
type: $(el)
|
|
543
|
-
.find('div.film-poster > a')
|
|
544
|
-
.attr('href')
|
|
545
|
-
?.includes('movie/')
|
|
546
|
-
? TvType.MOVIE
|
|
547
|
-
: TvType.TVSERIES,
|
|
413
|
+
type: $(el).find('div.film-poster > a').attr('href')?.includes('movie/') ? TvType.MOVIE : TvType.TVSERIES,
|
|
548
414
|
};
|
|
549
|
-
const season = $(el)
|
|
550
|
-
|
|
551
|
-
.text();
|
|
552
|
-
const latestEpisode =
|
|
553
|
-
$(el)
|
|
554
|
-
.find('div.film-detail > div.film-infor > span:nth-child(4)')
|
|
555
|
-
.text() ?? null;
|
|
415
|
+
const season = $(el).find('div.film-detail > div.film-infor > span:nth-child(2)').text();
|
|
416
|
+
const latestEpisode = $(el).find('div.film-detail > div.film-infor > span:nth-child(4)').text() ?? null;
|
|
556
417
|
if (resultItem.type === TvType.TVSERIES) {
|
|
557
418
|
resultItem.season = season;
|
|
558
419
|
resultItem.latestEpisode = latestEpisode;
|
|
@@ -569,53 +430,32 @@ class MovieHdWatch extends MovieParser {
|
|
|
569
430
|
}
|
|
570
431
|
};
|
|
571
432
|
|
|
572
|
-
fetchByGenre = async (
|
|
573
|
-
genre: string,
|
|
574
|
-
page: number = 1
|
|
575
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
433
|
+
fetchByGenre = async (genre: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
576
434
|
const result: ISearch<IMovieResult> = {
|
|
577
435
|
currentPage: page,
|
|
578
436
|
hasNextPage: false,
|
|
579
437
|
results: [],
|
|
580
438
|
};
|
|
581
439
|
try {
|
|
582
|
-
const { data } = await this.client.get(
|
|
583
|
-
`${this.baseUrl}/genre/${genre}?page=${page}`
|
|
584
|
-
);
|
|
440
|
+
const { data } = await this.client.get(`${this.baseUrl}/genre/${genre}?page=${page}`);
|
|
585
441
|
|
|
586
442
|
const $ = load(data);
|
|
587
443
|
|
|
588
|
-
const navSelector =
|
|
589
|
-
'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
444
|
+
const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
590
445
|
|
|
591
|
-
result.hasNextPage =
|
|
592
|
-
$(navSelector).length > 0
|
|
593
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
594
|
-
: false;
|
|
446
|
+
result.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
595
447
|
|
|
596
448
|
$('.film_list-wrap > div.flw-item')
|
|
597
449
|
.each((i, el) => {
|
|
598
450
|
const resultItem: IMovieResult = {
|
|
599
451
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
600
|
-
title:
|
|
601
|
-
$(el).find('div.film-detail > h2.film-name > a').attr('title') ??
|
|
602
|
-
'',
|
|
452
|
+
title: $(el).find('div.film-detail > h2.film-name > a').attr('title') ?? '',
|
|
603
453
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
604
454
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
605
|
-
type: $(el)
|
|
606
|
-
.find('div.film-poster > a')
|
|
607
|
-
.attr('href')
|
|
608
|
-
?.includes('movie/')
|
|
609
|
-
? TvType.MOVIE
|
|
610
|
-
: TvType.TVSERIES,
|
|
455
|
+
type: $(el).find('div.film-poster > a').attr('href')?.includes('movie/') ? TvType.MOVIE : TvType.TVSERIES,
|
|
611
456
|
};
|
|
612
|
-
const season = $(el)
|
|
613
|
-
|
|
614
|
-
.text();
|
|
615
|
-
const latestEpisode =
|
|
616
|
-
$(el)
|
|
617
|
-
.find('div.film-detail > div.film-infor > span:nth-child(4)')
|
|
618
|
-
.text() ?? null;
|
|
457
|
+
const season = $(el).find('div.film-detail > div.film-infor > span:nth-child(2)').text();
|
|
458
|
+
const latestEpisode = $(el).find('div.film-detail > div.film-infor > span:nth-child(4)').text() ?? null;
|
|
619
459
|
if (resultItem.type === TvType.TVSERIES) {
|
|
620
460
|
resultItem.season = season;
|
|
621
461
|
resultItem.latestEpisode = latestEpisode;
|