react-native-consumet 0.2.1 → 0.3.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 +26 -13
- package/android/src/main/assets/megacloud.decodedpng.js +605 -605
- package/android/src/main/assets/megacloud.getsrcs.js +713 -713
- 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/megacloud/megacloud.decodedpng.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 +30 -0
- 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 +5 -3
- package/lib/commonjs/providers/anime/animekai.js.map +1 -1
- package/lib/commonjs/providers/anime/animepahe.js +7 -8
- 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/megacloud/megacloud.decodedpng.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 +6 -7
- 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 +5 -3
- package/lib/module/providers/anime/animekai.js.map +1 -1
- package/lib/module/providers/anime/animepahe.js +7 -8
- 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/megacloud/megacloud.decodedpng.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 +3 -2
- 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/megacloud/megacloud.decodedpng.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 +3 -2
- 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 +192 -188
- 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/megacloud/megacloud.decodedpng.ts +549 -842
- package/src/extractors/megaup.ts +22 -38
- 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 +21 -21
- 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 +54 -158
- package/src/providers/anime/animepahe.ts +31 -68
- 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/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/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/jest.config.d.ts +0 -1
- package/lib/typescript/commonjs/jest.config.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/jest.config.d.ts +0 -1
- package/lib/typescript/module/jest.config.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/providers/anime/9anime.ts +0 -465
- package/src/providers/anime/crunchyroll.ts +0 -151
|
@@ -16,8 +16,7 @@ import { MixDrop, VidCloud } from '../../extractors';
|
|
|
16
16
|
class FlixHQ extends MovieParser {
|
|
17
17
|
override readonly name = 'FlixHQ';
|
|
18
18
|
protected override baseUrl = 'https://flixhq.to';
|
|
19
|
-
protected override logo =
|
|
20
|
-
'https://upload.wikimedia.org/wikipedia/commons/7/7a/MyAnimeList_Logo.png';
|
|
19
|
+
protected override logo = 'https://upload.wikimedia.org/wikipedia/commons/7/7a/MyAnimeList_Logo.png';
|
|
21
20
|
protected override classPath = 'MOVIES.FlixHQ';
|
|
22
21
|
override supportedTypes = new Set([TvType.MOVIE, TvType.TVSERIES]);
|
|
23
22
|
|
|
@@ -26,47 +25,33 @@ class FlixHQ extends MovieParser {
|
|
|
26
25
|
* @param query search query string
|
|
27
26
|
* @param page page number (default 1) (optional)
|
|
28
27
|
*/
|
|
29
|
-
override search = async (
|
|
30
|
-
query: string,
|
|
31
|
-
page: number = 1
|
|
32
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
28
|
+
override search = async (query: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
33
29
|
const searchResult: ISearch<IMovieResult> = {
|
|
34
30
|
currentPage: page,
|
|
35
31
|
hasNextPage: false,
|
|
36
32
|
results: [],
|
|
37
33
|
};
|
|
38
34
|
try {
|
|
39
|
-
const { data } = await this.client.get(
|
|
40
|
-
`${this.baseUrl}/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`
|
|
41
|
-
);
|
|
35
|
+
const { data } = await this.client.get(`${this.baseUrl}/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`);
|
|
42
36
|
|
|
43
37
|
const $ = load(data);
|
|
44
38
|
|
|
45
|
-
const navSelector =
|
|
46
|
-
'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)';
|
|
47
40
|
|
|
48
41
|
searchResult.hasNextPage =
|
|
49
|
-
$(navSelector).length > 0
|
|
50
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
51
|
-
: false;
|
|
42
|
+
$(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
52
43
|
|
|
53
44
|
$('.film_list-wrap > div.flw-item').each((i, el) => {
|
|
54
|
-
const releaseDate = $(el)
|
|
55
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(1)')
|
|
56
|
-
.text();
|
|
45
|
+
const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
|
|
57
46
|
searchResult.results.push({
|
|
58
47
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
59
48
|
title: $(el).find('div.film-detail > h2 > a').attr('title')!,
|
|
60
49
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
61
50
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
62
51
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
63
|
-
seasons: releaseDate.includes('SS')
|
|
64
|
-
? parseInt(releaseDate.split('SS')[1]!)
|
|
65
|
-
: undefined,
|
|
52
|
+
seasons: releaseDate.includes('SS') ? parseInt(releaseDate.split('SS')[1]!) : undefined,
|
|
66
53
|
type:
|
|
67
|
-
$(el)
|
|
68
|
-
.find('div.film-detail > div.fd-infor > span.float-right')
|
|
69
|
-
.text() === 'Movie'
|
|
54
|
+
$(el).find('div.film-detail > div.fd-infor > span.float-right').text() === 'Movie'
|
|
70
55
|
? TvType.MOVIE
|
|
71
56
|
: TvType.TVSERIES,
|
|
72
57
|
});
|
|
@@ -104,38 +89,21 @@ class FlixHQ extends MovieParser {
|
|
|
104
89
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
105
90
|
title: $(el).find('div.film-detail > h3.film-name > a').text(),
|
|
106
91
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
107
|
-
duration:
|
|
108
|
-
$(el)
|
|
109
|
-
.find('div.film-detail > div.fd-infor > span.fdi-duration')
|
|
110
|
-
.text()
|
|
111
|
-
.replace('m', '') ?? null,
|
|
92
|
+
duration: $(el).find('div.film-detail > div.fd-infor > span.fdi-duration').text().replace('m', '') ?? null,
|
|
112
93
|
type:
|
|
113
|
-
$(el)
|
|
114
|
-
.find('div.film-detail > div.fd-infor > span.fdi-type')
|
|
115
|
-
.text()
|
|
116
|
-
.toLowerCase() === 'tv'
|
|
94
|
+
$(el).find('div.film-detail > div.fd-infor > span.fdi-type').text().toLowerCase() === 'tv'
|
|
117
95
|
? TvType.TVSERIES
|
|
118
96
|
: (TvType.MOVIE ?? null),
|
|
119
97
|
});
|
|
120
98
|
});
|
|
121
99
|
|
|
122
100
|
const uid = $('.watch_block').attr('data-id')!;
|
|
123
|
-
movieInfo.cover = $('div.w_b-cover')
|
|
124
|
-
.attr('style')
|
|
125
|
-
?.slice(22)
|
|
126
|
-
.replace(')', '')
|
|
127
|
-
.replace(';', '');
|
|
101
|
+
movieInfo.cover = $('div.w_b-cover').attr('style')?.slice(22).replace(')', '').replace(';', '');
|
|
128
102
|
movieInfo.title = $('.heading-name > a:nth-child(1)').text();
|
|
129
|
-
movieInfo.image = $(
|
|
130
|
-
'.m_i-d-poster > div:nth-child(1) > img:nth-child(1)'
|
|
131
|
-
).attr('src');
|
|
103
|
+
movieInfo.image = $('.m_i-d-poster > div:nth-child(1) > img:nth-child(1)').attr('src');
|
|
132
104
|
movieInfo.description = $('.description').text();
|
|
133
|
-
movieInfo.type =
|
|
134
|
-
|
|
135
|
-
movieInfo.releaseDate = $('div.row-line:nth-child(3)')
|
|
136
|
-
.text()
|
|
137
|
-
.replace('Released: ', '')
|
|
138
|
-
.trim();
|
|
105
|
+
movieInfo.type = movieInfo.id.split('/')[0] === 'tv' ? TvType.TVSERIES : TvType.MOVIE;
|
|
106
|
+
movieInfo.releaseDate = $('div.row-line:nth-child(3)').text().replace('Released: ', '').trim();
|
|
139
107
|
movieInfo.genres = $('div.row-line:nth-child(2) > a')
|
|
140
108
|
.map((i, el) => $(el).text().split('&'))
|
|
141
109
|
.get()
|
|
@@ -146,23 +114,13 @@ class FlixHQ extends MovieParser {
|
|
|
146
114
|
movieInfo.tags = $('div.row-line:nth-child(6) > h2')
|
|
147
115
|
.map((i, el) => $(el).text())
|
|
148
116
|
.get();
|
|
149
|
-
movieInfo.production = $(
|
|
150
|
-
|
|
151
|
-
).text();
|
|
152
|
-
movieInfo.country = $(
|
|
153
|
-
'div.row-line:nth-child(1) > a:nth-child(2)'
|
|
154
|
-
).text();
|
|
117
|
+
movieInfo.production = $('div.row-line:nth-child(4) > a:nth-child(2)').text();
|
|
118
|
+
movieInfo.country = $('div.row-line:nth-child(1) > a:nth-child(2)').text();
|
|
155
119
|
movieInfo.duration = $('span.item:nth-child(3)').text();
|
|
156
120
|
movieInfo.rating = parseFloat($('span.item:nth-child(2)').text());
|
|
157
121
|
movieInfo.recommendations = recommendationsArray as any;
|
|
158
|
-
const ajaxReqUrl = (
|
|
159
|
-
|
|
160
|
-
type: string,
|
|
161
|
-
isSeasons: boolean = false
|
|
162
|
-
) =>
|
|
163
|
-
`${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${
|
|
164
|
-
isSeasons ? 'seasons' : 'episodes'
|
|
165
|
-
}/${id}`;
|
|
122
|
+
const ajaxReqUrl = (id: string, type: string, isSeasons: boolean = false) =>
|
|
123
|
+
`${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${isSeasons ? 'seasons' : 'episodes'}/${id}`;
|
|
166
124
|
|
|
167
125
|
if (movieInfo.type === TvType.TVSERIES) {
|
|
168
126
|
const { data } = await this.client.get(ajaxReqUrl(uid, 'tv', true));
|
|
@@ -182,14 +140,7 @@ class FlixHQ extends MovieParser {
|
|
|
182
140
|
const episode = {
|
|
183
141
|
id: $$$(el).find('a').attr('id')!.split('-')[1],
|
|
184
142
|
title: $$$(el).find('a').attr('title')!,
|
|
185
|
-
number: parseInt(
|
|
186
|
-
$$$(el)
|
|
187
|
-
.find('a')
|
|
188
|
-
.attr('title')!
|
|
189
|
-
.split(':')[0]!
|
|
190
|
-
.slice(3)
|
|
191
|
-
.trim()
|
|
192
|
-
),
|
|
143
|
+
number: parseInt($$$(el).find('a').attr('title')!.split(':')[0]!.slice(3).trim()),
|
|
193
144
|
season: season,
|
|
194
145
|
url: `${this.baseUrl}/ajax/v2/episode/servers/${$$$(el).find('a').attr('id')!.split('-')[1]}`,
|
|
195
146
|
};
|
|
@@ -231,34 +182,22 @@ class FlixHQ extends MovieParser {
|
|
|
231
182
|
case StreamingServers.MixDrop:
|
|
232
183
|
return {
|
|
233
184
|
headers: { Referer: serverUrl.href },
|
|
234
|
-
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(
|
|
235
|
-
serverUrl
|
|
236
|
-
),
|
|
185
|
+
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
237
186
|
};
|
|
238
187
|
case StreamingServers.VidCloud:
|
|
239
188
|
return {
|
|
240
189
|
headers: { Referer: serverUrl.href },
|
|
241
|
-
...(await new VidCloud(this.proxyConfig, this.adapter).extract(
|
|
242
|
-
serverUrl,
|
|
243
|
-
true,
|
|
244
|
-
this.baseUrl
|
|
245
|
-
)),
|
|
190
|
+
...(await new VidCloud(this.proxyConfig, this.adapter).extract(serverUrl, true, this.baseUrl)),
|
|
246
191
|
};
|
|
247
192
|
case StreamingServers.UpCloud:
|
|
248
193
|
return {
|
|
249
194
|
headers: { Referer: serverUrl.href },
|
|
250
|
-
...(await new VidCloud(this.proxyConfig, this.adapter).extract(
|
|
251
|
-
serverUrl,
|
|
252
|
-
undefined,
|
|
253
|
-
this.baseUrl
|
|
254
|
-
)),
|
|
195
|
+
...(await new VidCloud(this.proxyConfig, this.adapter).extract(serverUrl, undefined, this.baseUrl)),
|
|
255
196
|
};
|
|
256
197
|
default:
|
|
257
198
|
return {
|
|
258
199
|
headers: { Referer: serverUrl.href },
|
|
259
|
-
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(
|
|
260
|
-
serverUrl
|
|
261
|
-
),
|
|
200
|
+
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
262
201
|
};
|
|
263
202
|
}
|
|
264
203
|
}
|
|
@@ -290,14 +229,8 @@ class FlixHQ extends MovieParser {
|
|
|
290
229
|
* @param episodeId takes episode link or movie id
|
|
291
230
|
* @param mediaId takes movie link or id (found on movie info object)
|
|
292
231
|
*/
|
|
293
|
-
override fetchEpisodeServers = async (
|
|
294
|
-
episodeId
|
|
295
|
-
mediaId: string
|
|
296
|
-
): Promise<IEpisodeServer[]> => {
|
|
297
|
-
if (
|
|
298
|
-
!episodeId.startsWith(this.baseUrl + '/ajax') &&
|
|
299
|
-
!mediaId.includes('movie')
|
|
300
|
-
)
|
|
232
|
+
override fetchEpisodeServers = async (episodeId: string, mediaId: string): Promise<IEpisodeServer[]> => {
|
|
233
|
+
if (!episodeId.startsWith(this.baseUrl + '/ajax') && !mediaId.includes('movie'))
|
|
301
234
|
episodeId = `${this.baseUrl}/ajax/v2/episode/servers/${episodeId}`;
|
|
302
235
|
else episodeId = `${this.baseUrl}/ajax/movie/episodes/${episodeId}`;
|
|
303
236
|
|
|
@@ -312,9 +245,7 @@ class FlixHQ extends MovieParser {
|
|
|
312
245
|
? $(el).find('a').attr('title')!.toLowerCase()
|
|
313
246
|
: $(el).find('a').attr('title')!.slice(6).trim().toLowerCase(),
|
|
314
247
|
url: `${this.baseUrl}/${mediaId}.${
|
|
315
|
-
!mediaId.includes('movie')
|
|
316
|
-
? $(el).find('a').attr('data-id')
|
|
317
|
-
: $(el).find('a').attr('data-linkid')
|
|
248
|
+
!mediaId.includes('movie') ? $(el).find('a').attr('data-id') : $(el).find('a').attr('data-linkid')
|
|
318
249
|
}`.replace(
|
|
319
250
|
!mediaId.includes('movie') ? /\/tv\// : /\/movie\//,
|
|
320
251
|
!mediaId.includes('movie') ? '/watch-tv/' : '/watch-movie/'
|
|
@@ -338,25 +269,16 @@ class FlixHQ extends MovieParser {
|
|
|
338
269
|
'section.block_area:contains("Latest Movies") > div:nth-child(2) > div:nth-child(1) > div.flw-item'
|
|
339
270
|
)
|
|
340
271
|
.map((i, el) => {
|
|
341
|
-
const releaseDate = $(el)
|
|
342
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(1)')
|
|
343
|
-
.text();
|
|
272
|
+
const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
|
|
344
273
|
const movie: any = {
|
|
345
274
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
346
|
-
title: $(el)
|
|
347
|
-
.find('div.film-detail > h3.film-name > a')
|
|
348
|
-
.attr('title')!,
|
|
275
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
|
|
349
276
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
350
277
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
351
278
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
352
|
-
duration:
|
|
353
|
-
$(el)
|
|
354
|
-
.find('div.film-detail > div.fd-infor > span.fdi-duration')
|
|
355
|
-
.text() || null,
|
|
279
|
+
duration: $(el).find('div.film-detail > div.fd-infor > span.fdi-duration').text() || null,
|
|
356
280
|
type:
|
|
357
|
-
$(el)
|
|
358
|
-
.find('div.film-detail > div.fd-infor > span.float-right')
|
|
359
|
-
.text() === 'Movie'
|
|
281
|
+
$(el).find('div.film-detail > div.fd-infor > span.float-right').text() === 'Movie'
|
|
360
282
|
? TvType.MOVIE
|
|
361
283
|
: TvType.TVSERIES,
|
|
362
284
|
};
|
|
@@ -380,22 +302,13 @@ class FlixHQ extends MovieParser {
|
|
|
380
302
|
.map((i, el) => {
|
|
381
303
|
const tvshow = {
|
|
382
304
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
383
|
-
title: $(el)
|
|
384
|
-
.find('div.film-detail > h3.film-name > a')
|
|
385
|
-
.attr('title')!,
|
|
305
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
|
|
386
306
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
387
307
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
388
|
-
season: $(el)
|
|
389
|
-
|
|
390
|
-
.text(),
|
|
391
|
-
latestEpisode:
|
|
392
|
-
$(el)
|
|
393
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
394
|
-
.text() || null,
|
|
308
|
+
season: $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text(),
|
|
309
|
+
latestEpisode: $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text() || null,
|
|
395
310
|
type:
|
|
396
|
-
$(el)
|
|
397
|
-
.find('div.film-detail > div.fd-infor > span.float-right')
|
|
398
|
-
.text() === 'Movie'
|
|
311
|
+
$(el).find('div.film-detail > div.fd-infor > span.float-right').text() === 'Movie'
|
|
399
312
|
? TvType.MOVIE
|
|
400
313
|
: TvType.TVSERIES,
|
|
401
314
|
};
|
|
@@ -415,25 +328,16 @@ class FlixHQ extends MovieParser {
|
|
|
415
328
|
|
|
416
329
|
const movies = $('div#trending-movies div.film_list-wrap div.flw-item')
|
|
417
330
|
.map((i, el) => {
|
|
418
|
-
const releaseDate = $(el)
|
|
419
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(1)')
|
|
420
|
-
.text();
|
|
331
|
+
const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
|
|
421
332
|
const movie: any = {
|
|
422
333
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
423
|
-
title: $(el)
|
|
424
|
-
.find('div.film-detail > h3.film-name > a')
|
|
425
|
-
.attr('title')!,
|
|
334
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
|
|
426
335
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
427
336
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
428
337
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
429
|
-
duration:
|
|
430
|
-
$(el)
|
|
431
|
-
.find('div.film-detail > div.fd-infor > span.fdi-duration')
|
|
432
|
-
.text() || null,
|
|
338
|
+
duration: $(el).find('div.film-detail > div.fd-infor > span.fdi-duration').text() || null,
|
|
433
339
|
type:
|
|
434
|
-
$(el)
|
|
435
|
-
.find('div.film-detail > div.fd-infor > span.float-right')
|
|
436
|
-
.text() === 'Movie'
|
|
340
|
+
$(el).find('div.film-detail > div.fd-infor > span.float-right').text() === 'Movie'
|
|
437
341
|
? TvType.MOVIE
|
|
438
342
|
: TvType.TVSERIES,
|
|
439
343
|
};
|
|
@@ -455,22 +359,13 @@ class FlixHQ extends MovieParser {
|
|
|
455
359
|
.map((i, el) => {
|
|
456
360
|
const tvshow = {
|
|
457
361
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
458
|
-
title: $(el)
|
|
459
|
-
.find('div.film-detail > h3.film-name > a')
|
|
460
|
-
.attr('title')!,
|
|
362
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
|
|
461
363
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
462
364
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
463
|
-
season: $(el)
|
|
464
|
-
|
|
465
|
-
.text(),
|
|
466
|
-
latestEpisode:
|
|
467
|
-
$(el)
|
|
468
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
469
|
-
.text() || null,
|
|
365
|
+
season: $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text(),
|
|
366
|
+
latestEpisode: $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text() || null,
|
|
470
367
|
type:
|
|
471
|
-
$(el)
|
|
472
|
-
.find('div.film-detail > div.fd-infor > span.float-right')
|
|
473
|
-
.text() === 'Movie'
|
|
368
|
+
$(el).find('div.film-detail > div.fd-infor > span.float-right').text() === 'Movie'
|
|
474
369
|
? TvType.MOVIE
|
|
475
370
|
: TvType.TVSERIES,
|
|
476
371
|
};
|
|
@@ -483,54 +378,34 @@ class FlixHQ extends MovieParser {
|
|
|
483
378
|
}
|
|
484
379
|
};
|
|
485
380
|
|
|
486
|
-
fetchByCountry = async (
|
|
487
|
-
country: string,
|
|
488
|
-
page: number = 1
|
|
489
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
381
|
+
fetchByCountry = async (country: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
490
382
|
const result: ISearch<IMovieResult> = {
|
|
491
383
|
currentPage: page,
|
|
492
384
|
hasNextPage: false,
|
|
493
385
|
results: [],
|
|
494
386
|
};
|
|
495
|
-
const navSelector =
|
|
496
|
-
'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
387
|
+
const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
497
388
|
|
|
498
389
|
try {
|
|
499
|
-
const { data } = await this.client.get(
|
|
500
|
-
`${this.baseUrl}/country/${country}/?page=${page}`
|
|
501
|
-
);
|
|
390
|
+
const { data } = await this.client.get(`${this.baseUrl}/country/${country}/?page=${page}`);
|
|
502
391
|
const $ = load(data);
|
|
503
392
|
|
|
504
|
-
result.hasNextPage =
|
|
505
|
-
$(navSelector).length > 0
|
|
506
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
507
|
-
: false;
|
|
393
|
+
result.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
508
394
|
|
|
509
|
-
$(
|
|
510
|
-
'div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item'
|
|
511
|
-
)
|
|
395
|
+
$('div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item')
|
|
512
396
|
.each((i, el) => {
|
|
513
397
|
const resultItem: IMovieResult = {
|
|
514
398
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
515
|
-
title:
|
|
516
|
-
$(el).find('div.film-detail > h2.film-name > a').attr('title') ??
|
|
517
|
-
'',
|
|
399
|
+
title: $(el).find('div.film-detail > h2.film-name > a').attr('title') ?? '',
|
|
518
400
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
519
401
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
520
402
|
type:
|
|
521
|
-
$(el)
|
|
522
|
-
.find('div.film-detail > div.fd-infor > span.float-right')
|
|
523
|
-
.text() === 'Movie'
|
|
403
|
+
$(el).find('div.film-detail > div.fd-infor > span.float-right').text() === 'Movie'
|
|
524
404
|
? TvType.MOVIE
|
|
525
405
|
: TvType.TVSERIES,
|
|
526
406
|
};
|
|
527
|
-
const season = $(el)
|
|
528
|
-
|
|
529
|
-
.text();
|
|
530
|
-
const latestEpisode =
|
|
531
|
-
$(el)
|
|
532
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
533
|
-
.text() ?? null;
|
|
407
|
+
const season = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
|
|
408
|
+
const latestEpisode = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text() ?? null;
|
|
534
409
|
if (resultItem.type === TvType.TVSERIES) {
|
|
535
410
|
resultItem.season = season;
|
|
536
411
|
resultItem.latestEpisode = latestEpisode;
|
|
@@ -547,29 +422,20 @@ class FlixHQ extends MovieParser {
|
|
|
547
422
|
}
|
|
548
423
|
};
|
|
549
424
|
|
|
550
|
-
fetchByGenre = async (
|
|
551
|
-
genre: string,
|
|
552
|
-
page: number = 1
|
|
553
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
425
|
+
fetchByGenre = async (genre: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
554
426
|
const result: ISearch<IMovieResult> = {
|
|
555
427
|
currentPage: page,
|
|
556
428
|
hasNextPage: false,
|
|
557
429
|
results: [],
|
|
558
430
|
};
|
|
559
431
|
try {
|
|
560
|
-
const { data } = await this.client.get(
|
|
561
|
-
`${this.baseUrl}/genre/${genre}?page=${page}`
|
|
562
|
-
);
|
|
432
|
+
const { data } = await this.client.get(`${this.baseUrl}/genre/${genre}?page=${page}`);
|
|
563
433
|
|
|
564
434
|
const $ = load(data);
|
|
565
435
|
|
|
566
|
-
const navSelector =
|
|
567
|
-
'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
436
|
+
const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
568
437
|
|
|
569
|
-
result.hasNextPage =
|
|
570
|
-
$(navSelector).length > 0
|
|
571
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
572
|
-
: false;
|
|
438
|
+
result.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
573
439
|
|
|
574
440
|
$('.film_list-wrap > div.flw-item')
|
|
575
441
|
.each((i, el) => {
|
|
@@ -579,19 +445,12 @@ class FlixHQ extends MovieParser {
|
|
|
579
445
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
580
446
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
581
447
|
type:
|
|
582
|
-
$(el)
|
|
583
|
-
.find('div.film-detail > div.fd-infor > span.float-right')
|
|
584
|
-
.text() === 'Movie'
|
|
448
|
+
$(el).find('div.film-detail > div.fd-infor > span.float-right').text() === 'Movie'
|
|
585
449
|
? TvType.MOVIE
|
|
586
450
|
: TvType.TVSERIES,
|
|
587
451
|
};
|
|
588
|
-
const season = $(el)
|
|
589
|
-
|
|
590
|
-
.text();
|
|
591
|
-
const latestEpisode =
|
|
592
|
-
$(el)
|
|
593
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
594
|
-
.text() ?? null;
|
|
452
|
+
const season = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
|
|
453
|
+
const latestEpisode = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text() ?? null;
|
|
595
454
|
if (resultItem.type === TvType.TVSERIES) {
|
|
596
455
|
resultItem.season = season;
|
|
597
456
|
resultItem.latestEpisode = latestEpisode;
|
|
@@ -625,20 +484,14 @@ class FlixHQ extends MovieParser {
|
|
|
625
484
|
?.css('background-image')
|
|
626
485
|
?.replace(/url\(["']?(.+?)["']?\)/, '$1')
|
|
627
486
|
.trim(),
|
|
628
|
-
duration: $(el)
|
|
629
|
-
.find('.scd-item:contains("Duration") strong')
|
|
630
|
-
.text()
|
|
631
|
-
.trim(),
|
|
487
|
+
duration: $(el).find('.scd-item:contains("Duration") strong').text().trim(),
|
|
632
488
|
rating: $(el).find('.scd-item:contains("IMDB") strong').text().trim(),
|
|
633
489
|
genres: $(el)
|
|
634
490
|
.find('.scd-item:contains("Genre") .slide-genre-item')
|
|
635
491
|
.map((i, el) => $(el).text().trim())
|
|
636
492
|
.get(),
|
|
637
493
|
description: $(el).find('.sc-desc').text().trim(),
|
|
638
|
-
type:
|
|
639
|
-
$(el).find('a').attr('href')?.split('/')[1] === 'movie'
|
|
640
|
-
? TvType.MOVIE
|
|
641
|
-
: TvType.TVSERIES,
|
|
494
|
+
type: $(el).find('a').attr('href')?.split('/')[1] === 'movie' ? TvType.MOVIE : TvType.TVSERIES,
|
|
642
495
|
});
|
|
643
496
|
});
|
|
644
497
|
return results;
|
|
@@ -19,20 +19,14 @@ import { StreamTape, VizCloud } from '../../extractors';
|
|
|
19
19
|
class Fmovies extends MovieParser {
|
|
20
20
|
override readonly name = 'Fmovies';
|
|
21
21
|
protected override baseUrl = 'https://ww4.fmovies.co';
|
|
22
|
-
protected override logo =
|
|
23
|
-
'https://s1.bunnycdn.ru/assets/sites/fmovies/logo2.png';
|
|
22
|
+
protected override logo = 'https://s1.bunnycdn.ru/assets/sites/fmovies/logo2.png';
|
|
24
23
|
protected override classPath = 'MOVIES.Fmovies';
|
|
25
24
|
override supportedTypes = new Set([TvType.MOVIE, TvType.TVSERIES]);
|
|
26
25
|
|
|
27
26
|
private fmoviesResolver = '';
|
|
28
27
|
private apiKey = '';
|
|
29
28
|
|
|
30
|
-
constructor(
|
|
31
|
-
fmoviesResolver?: string,
|
|
32
|
-
proxyConfig?: ProxyConfig,
|
|
33
|
-
apiKey?: string,
|
|
34
|
-
adapter?: AxiosAdapter
|
|
35
|
-
) {
|
|
29
|
+
constructor(fmoviesResolver?: string, proxyConfig?: ProxyConfig, apiKey?: string, adapter?: AxiosAdapter) {
|
|
36
30
|
super(proxyConfig && proxyConfig.url ? proxyConfig : undefined, adapter);
|
|
37
31
|
this.fmoviesResolver = fmoviesResolver ?? this.fmoviesResolver;
|
|
38
32
|
this.apiKey = apiKey ?? this.apiKey;
|
|
@@ -43,10 +37,7 @@ class Fmovies extends MovieParser {
|
|
|
43
37
|
* @param query search query string
|
|
44
38
|
* @param page page number (default 1) (optional)
|
|
45
39
|
*/
|
|
46
|
-
override search = async (
|
|
47
|
-
query: string,
|
|
48
|
-
page: number = 1
|
|
49
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
40
|
+
override search = async (query: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
50
41
|
const searchResult: ISearch<IMovieResult> = {
|
|
51
42
|
currentPage: page,
|
|
52
43
|
hasNextPage: false,
|
|
@@ -56,16 +47,11 @@ class Fmovies extends MovieParser {
|
|
|
56
47
|
query = query.replace(/[\W_]+/g, '+');
|
|
57
48
|
const vrf = await this.ev(query);
|
|
58
49
|
|
|
59
|
-
const { data } = await this.client.get(
|
|
60
|
-
`${this.baseUrl}/search?keyword=${query}&vrf=${vrf}&page=${page}`
|
|
61
|
-
);
|
|
50
|
+
const { data } = await this.client.get(`${this.baseUrl}/search?keyword=${query}&vrf=${vrf}&page=${page}`);
|
|
62
51
|
|
|
63
52
|
const $ = load(data);
|
|
64
53
|
|
|
65
|
-
searchResult.hasNextPage = $('.pagination')
|
|
66
|
-
?.find('.active')
|
|
67
|
-
.next()
|
|
68
|
-
.hasClass('disabled');
|
|
54
|
+
searchResult.hasNextPage = $('.pagination')?.find('.active').next().hasClass('disabled');
|
|
69
55
|
|
|
70
56
|
$('.filmlist > div.item').each((i, el) => {
|
|
71
57
|
const releaseDate = $(el).find('.meta').text();
|
|
@@ -74,16 +60,9 @@ class Fmovies extends MovieParser {
|
|
|
74
60
|
title: $(el).find('a.title').text()!,
|
|
75
61
|
url: `${this.baseUrl}/${$(el).find('a.title').attr('href')!.slice(1)}`,
|
|
76
62
|
image: $(el).find('img').attr('src'),
|
|
77
|
-
releaseDate: isNaN(parseInt(releaseDate))
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
seasons: releaseDate.includes('SS')
|
|
81
|
-
? parseInt(releaseDate.split('SS')[1]!)
|
|
82
|
-
: undefined,
|
|
83
|
-
type:
|
|
84
|
-
$(el).find('i.type').text() === 'Movie'
|
|
85
|
-
? TvType.MOVIE
|
|
86
|
-
: TvType.TVSERIES,
|
|
63
|
+
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : parseInt(releaseDate).toString(),
|
|
64
|
+
seasons: releaseDate.includes('SS') ? parseInt(releaseDate.split('SS')[1]!) : undefined,
|
|
65
|
+
type: $(el).find('i.type').text() === 'Movie' ? TvType.MOVIE : TvType.TVSERIES,
|
|
87
66
|
});
|
|
88
67
|
});
|
|
89
68
|
|
|
@@ -137,18 +116,9 @@ class Fmovies extends MovieParser {
|
|
|
137
116
|
);
|
|
138
117
|
movieInfo.title = container.find(`h1[itemprop="name"]`).text();
|
|
139
118
|
movieInfo.image = container.find(`img[itemprop="image"]`).attr('src');
|
|
140
|
-
movieInfo.description = container
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
?.trim();
|
|
144
|
-
movieInfo.type =
|
|
145
|
-
movieInfo.id.split('/')[0] === 'series'
|
|
146
|
-
? TvType.TVSERIES
|
|
147
|
-
: TvType.MOVIE;
|
|
148
|
-
movieInfo.releaseDate = container
|
|
149
|
-
.find('span[itemprop="dateCreated"]')
|
|
150
|
-
?.text()
|
|
151
|
-
?.trim();
|
|
119
|
+
movieInfo.description = container.find('div[itemprop="description"]')?.text()?.trim();
|
|
120
|
+
movieInfo.type = movieInfo.id.split('/')[0] === 'series' ? TvType.TVSERIES : TvType.MOVIE;
|
|
121
|
+
movieInfo.releaseDate = container.find('span[itemprop="dateCreated"]')?.text()?.trim();
|
|
152
122
|
|
|
153
123
|
// TODO
|
|
154
124
|
// movieInfo.genres = $('div.row-line:nth-child(2) > a')
|
|
@@ -178,12 +148,8 @@ class Fmovies extends MovieParser {
|
|
|
178
148
|
};
|
|
179
149
|
|
|
180
150
|
if (movieInfo.type === TvType.TVSERIES) {
|
|
181
|
-
episode.number = parseInt(
|
|
182
|
-
|
|
183
|
-
);
|
|
184
|
-
episode.season = parseInt(
|
|
185
|
-
$(el).find('a')?.attr('data-kname')!.split('-')[0]!
|
|
186
|
-
);
|
|
151
|
+
episode.number = parseInt($(el).find('a')?.attr('data-kname')!.split('-')[1]!);
|
|
152
|
+
episode.season = parseInt($(el).find('a')?.attr('data-kname')!.split('-')[0]!);
|
|
187
153
|
}
|
|
188
154
|
|
|
189
155
|
movieInfo.episodes?.push(episode);
|
|
@@ -217,11 +183,7 @@ class Fmovies extends MovieParser {
|
|
|
217
183
|
default:
|
|
218
184
|
return {
|
|
219
185
|
headers: { Referer: serverUrl.href },
|
|
220
|
-
sources: await new VizCloud().extract(
|
|
221
|
-
serverUrl,
|
|
222
|
-
this.fmoviesResolver,
|
|
223
|
-
this.apiKey
|
|
224
|
-
),
|
|
186
|
+
sources: await new VizCloud().extract(serverUrl, this.fmoviesResolver, this.apiKey),
|
|
225
187
|
};
|
|
226
188
|
}
|
|
227
189
|
}
|
|
@@ -234,9 +196,7 @@ class Fmovies extends MovieParser {
|
|
|
234
196
|
throw new Error(`Server ${server} not found`);
|
|
235
197
|
}
|
|
236
198
|
|
|
237
|
-
const { data } = await this.client.get(
|
|
238
|
-
`${this.baseUrl}/ajax/episode/info?id=${selectedServer.url}`
|
|
239
|
-
);
|
|
199
|
+
const { data } = await this.client.get(`${this.baseUrl}/ajax/episode/info?id=${selectedServer.url}`);
|
|
240
200
|
|
|
241
201
|
const serverUrl: URL = new URL(await this.decrypt(data.url));
|
|
242
202
|
|
|
@@ -251,10 +211,7 @@ class Fmovies extends MovieParser {
|
|
|
251
211
|
* @param episodeId takes episode link or movie id
|
|
252
212
|
* @param mediaId takes movie link or id (found on movie info object)
|
|
253
213
|
*/
|
|
254
|
-
override fetchEpisodeServers = async (
|
|
255
|
-
episodeId: string,
|
|
256
|
-
mediaId: string
|
|
257
|
-
): Promise<IEpisodeServer[]> => {
|
|
214
|
+
override fetchEpisodeServers = async (episodeId: string, mediaId: string): Promise<IEpisodeServer[]> => {
|
|
258
215
|
if (!mediaId.startsWith(this.baseUrl)) {
|
|
259
216
|
mediaId = `${this.baseUrl}/${mediaId}`;
|
|
260
217
|
}
|
|
@@ -280,9 +237,7 @@ class Fmovies extends MovieParser {
|
|
|
280
237
|
|
|
281
238
|
const el = $$(`a[data-kname="${episodeId}"]`);
|
|
282
239
|
try {
|
|
283
|
-
const serverString: { [key: string]: string } = JSON.parse(
|
|
284
|
-
el.attr('data-ep')!
|
|
285
|
-
);
|
|
240
|
+
const serverString: { [key: string]: string } = JSON.parse(el.attr('data-ep')!);
|
|
286
241
|
for (const serverId in serverString) {
|
|
287
242
|
epsiodeServers.push({
|
|
288
243
|
name: servers[serverId]!,
|