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,47 +26,33 @@ class SFlix 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
|
|
|
43
38
|
const $ = load(data);
|
|
44
39
|
|
|
45
|
-
const navSelector =
|
|
46
|
-
'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
40
|
+
const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
47
41
|
|
|
48
42
|
searchResult.hasNextPage =
|
|
49
|
-
$(navSelector).length > 0
|
|
50
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
51
|
-
: false;
|
|
43
|
+
$(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
52
44
|
|
|
53
45
|
$('.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();
|
|
46
|
+
const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
|
|
57
47
|
searchResult.results.push({
|
|
58
48
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
59
49
|
title: $(el).find('div.film-detail > h2 > a').attr('title')!,
|
|
60
50
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
61
51
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
62
52
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
63
|
-
seasons: releaseDate.includes('SS')
|
|
64
|
-
? parseInt(releaseDate.split('SS')[1]!)
|
|
65
|
-
: undefined,
|
|
53
|
+
seasons: releaseDate.includes('SS') ? parseInt(releaseDate.split('SS')[1]!) : undefined,
|
|
66
54
|
type:
|
|
67
|
-
$(el)
|
|
68
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(2)')
|
|
69
|
-
.text() === 'Movie'
|
|
55
|
+
$(el).find('div.film-detail > div.fd-infor > span:nth-child(2)').text() === 'Movie'
|
|
70
56
|
? TvType.MOVIE
|
|
71
57
|
: TvType.TVSERIES,
|
|
72
58
|
});
|
|
@@ -97,52 +83,32 @@ class SFlix extends MovieParser {
|
|
|
97
83
|
const $ = load(data);
|
|
98
84
|
const recommendationsArray: IMovieResult[] = [];
|
|
99
85
|
|
|
100
|
-
$(
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
.find('div.film-detail > div.fd-infor > span.fdi-item')
|
|
115
|
-
.eq(1)
|
|
116
|
-
.text()
|
|
117
|
-
.trim()
|
|
118
|
-
.toLowerCase() === 'tv'
|
|
119
|
-
? TvType.TVSERIES
|
|
120
|
-
: (TvType.MOVIE ?? null),
|
|
121
|
-
});
|
|
122
|
-
});
|
|
86
|
+
$('div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item').each(
|
|
87
|
+
(i, el) => {
|
|
88
|
+
recommendationsArray.push({
|
|
89
|
+
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
90
|
+
title: $(el).find('div.film-detail > h3.film-name > a').text(),
|
|
91
|
+
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
92
|
+
duration: $(el).find('div.film-detail > div.fd-infor > span.fdi-duration').text().replace('m', '') ?? null,
|
|
93
|
+
type:
|
|
94
|
+
$(el).find('div.film-detail > div.fd-infor > span.fdi-item').eq(1).text().trim().toLowerCase() === 'tv'
|
|
95
|
+
? TvType.TVSERIES
|
|
96
|
+
: (TvType.MOVIE ?? null),
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
);
|
|
123
100
|
|
|
124
101
|
const uid = $('.detail_page-watch').attr('data-id')!;
|
|
125
|
-
movieInfo.cover = $('.cover_follow')
|
|
126
|
-
.attr('style')
|
|
127
|
-
?.slice(22)
|
|
128
|
-
.replace(')', '')
|
|
129
|
-
.replace(';', '');
|
|
102
|
+
movieInfo.cover = $('.cover_follow').attr('style')?.slice(22).replace(')', '').replace(';', '');
|
|
130
103
|
movieInfo.title = $('.heading-name > a:nth-child(1)').text();
|
|
131
|
-
movieInfo.image = $(
|
|
132
|
-
'.dp-i-c-poster > div:nth-child(1) > img:nth-child(1)'
|
|
133
|
-
).attr('src');
|
|
104
|
+
movieInfo.image = $('.dp-i-c-poster > div:nth-child(1) > img:nth-child(1)').attr('src');
|
|
134
105
|
movieInfo.description = $('.description')
|
|
135
106
|
.text()
|
|
136
107
|
.replace(/^Overview:\s*/i, '')
|
|
137
108
|
.replace(/\s+/g, ' ')
|
|
138
109
|
.trim();
|
|
139
|
-
movieInfo.type =
|
|
140
|
-
|
|
141
|
-
movieInfo.releaseDate = $('div.row > div.col-xl-5 .row-line')
|
|
142
|
-
.eq(0)
|
|
143
|
-
.text()
|
|
144
|
-
.replace('Released: ', '')
|
|
145
|
-
.trim();
|
|
110
|
+
movieInfo.type = movieInfo.id.split('/')[0] === 'tv' ? TvType.TVSERIES : TvType.MOVIE;
|
|
111
|
+
movieInfo.releaseDate = $('div.row > div.col-xl-5 .row-line').eq(0).text().replace('Released: ', '').trim();
|
|
146
112
|
movieInfo.genres = $('div.row >div.col-xl-5 .row-line')
|
|
147
113
|
.eq(1)
|
|
148
114
|
.find('a')
|
|
@@ -163,31 +129,17 @@ class SFlix extends MovieParser {
|
|
|
163
129
|
.map((i, el) => $(el).text().trim())
|
|
164
130
|
.get()
|
|
165
131
|
.join(', ');
|
|
166
|
-
movieInfo.country = $('div.row > div.col-xl-6 .row-line')
|
|
167
|
-
.eq(1)
|
|
168
|
-
.find('a')
|
|
169
|
-
.text()
|
|
170
|
-
.trim();
|
|
132
|
+
movieInfo.country = $('div.row > div.col-xl-6 .row-line').eq(1).find('a').text().trim();
|
|
171
133
|
movieInfo.duration = $('div.row > div.col-xl-6 .row-line')
|
|
172
134
|
.eq(0)
|
|
173
135
|
.text()
|
|
174
136
|
.replace('Duration: ', '')
|
|
175
137
|
.replace(/\s+/g, ' ')
|
|
176
138
|
.trim();
|
|
177
|
-
movieInfo.rating = parseFloat(
|
|
178
|
-
$('div.film-stats > div.fs-item > span.imdb')
|
|
179
|
-
.text()
|
|
180
|
-
.replace('IMDB: ', '')
|
|
181
|
-
);
|
|
139
|
+
movieInfo.rating = parseFloat($('div.film-stats > div.fs-item > span.imdb').text().replace('IMDB: ', ''));
|
|
182
140
|
movieInfo.recommendations = recommendationsArray as any;
|
|
183
|
-
const ajaxReqUrl = (
|
|
184
|
-
|
|
185
|
-
type: string,
|
|
186
|
-
isSeasons: boolean = false
|
|
187
|
-
) =>
|
|
188
|
-
`${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${
|
|
189
|
-
isSeasons ? 'seasons' : 'episodes'
|
|
190
|
-
}/${id}`;
|
|
141
|
+
const ajaxReqUrl = (id: string, type: string, isSeasons: boolean = false) =>
|
|
142
|
+
`${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${isSeasons ? 'seasons' : 'episodes'}/${id}`;
|
|
191
143
|
|
|
192
144
|
if (movieInfo.type === TvType.TVSERIES) {
|
|
193
145
|
const { data } = await this.client.get(ajaxReqUrl(uid, 'tv', true));
|
|
@@ -208,14 +160,7 @@ class SFlix extends MovieParser {
|
|
|
208
160
|
id: $$$(el).find('div.flw-item').attr('id')!.split('-')[1],
|
|
209
161
|
image: $$$(el).find('div.flw-item > a > img').attr('src')!,
|
|
210
162
|
title: $$$(el).find('div.flw-item > a > img').attr('title')!,
|
|
211
|
-
number: parseInt(
|
|
212
|
-
$$$(el)
|
|
213
|
-
.find('div.flw-item > a > img')
|
|
214
|
-
.attr('title')!
|
|
215
|
-
.split(':')[0]!
|
|
216
|
-
.slice(8)
|
|
217
|
-
.trim()
|
|
218
|
-
),
|
|
163
|
+
number: parseInt($$$(el).find('div.flw-item > a > img').attr('title')!.split(':')[0]!.slice(8).trim()),
|
|
219
164
|
season: season,
|
|
220
165
|
url: `${this.baseUrl}/ajax/v2/episode/servers/${
|
|
221
166
|
$$$(el).find('div.flw-item').attr('id')!.split('-')[1]
|
|
@@ -260,31 +205,22 @@ class SFlix extends MovieParser {
|
|
|
260
205
|
case StreamingServers.Voe:
|
|
261
206
|
return {
|
|
262
207
|
headers: { Referer: serverUrl.href },
|
|
263
|
-
...(await new Voe(this.proxyConfig, this.adapter).extract(
|
|
264
|
-
serverUrl
|
|
265
|
-
)),
|
|
208
|
+
...(await new Voe(this.proxyConfig, this.adapter).extract(serverUrl)),
|
|
266
209
|
};
|
|
267
210
|
case StreamingServers.VidCloud:
|
|
268
211
|
return {
|
|
269
212
|
headers: { Referer: serverUrl.href },
|
|
270
|
-
...(await new VidCloud(this.proxyConfig, this.adapter).extract(
|
|
271
|
-
serverUrl,
|
|
272
|
-
true
|
|
273
|
-
)),
|
|
213
|
+
...(await new VidCloud(this.proxyConfig, this.adapter).extract(serverUrl, true)),
|
|
274
214
|
};
|
|
275
215
|
case StreamingServers.UpCloud:
|
|
276
216
|
return {
|
|
277
217
|
headers: { Referer: serverUrl.href },
|
|
278
|
-
...(await new VidCloud(this.proxyConfig, this.adapter).extract(
|
|
279
|
-
serverUrl
|
|
280
|
-
)),
|
|
218
|
+
...(await new VidCloud(this.proxyConfig, this.adapter).extract(serverUrl)),
|
|
281
219
|
};
|
|
282
220
|
default:
|
|
283
221
|
return {
|
|
284
222
|
headers: { Referer: serverUrl.href },
|
|
285
|
-
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(
|
|
286
|
-
serverUrl
|
|
287
|
-
),
|
|
223
|
+
sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl),
|
|
288
224
|
};
|
|
289
225
|
}
|
|
290
226
|
}
|
|
@@ -316,14 +252,8 @@ class SFlix extends MovieParser {
|
|
|
316
252
|
* @param episodeId takes episode link or movie id
|
|
317
253
|
* @param mediaId takes movie link or id (found on movie info object)
|
|
318
254
|
*/
|
|
319
|
-
override fetchEpisodeServers = async (
|
|
320
|
-
episodeId
|
|
321
|
-
mediaId: string
|
|
322
|
-
): Promise<IEpisodeServer[]> => {
|
|
323
|
-
if (
|
|
324
|
-
!episodeId.startsWith(this.baseUrl + '/ajax') &&
|
|
325
|
-
!mediaId.includes('movie')
|
|
326
|
-
)
|
|
255
|
+
override fetchEpisodeServers = async (episodeId: string, mediaId: string): Promise<IEpisodeServer[]> => {
|
|
256
|
+
if (!episodeId.startsWith(this.baseUrl + '/ajax') && !mediaId.includes('movie'))
|
|
327
257
|
episodeId = `${this.baseUrl}/ajax/v2/episode/servers/${episodeId}`;
|
|
328
258
|
else episodeId = `${this.baseUrl}/ajax/movie/episodes/${episodeId}`;
|
|
329
259
|
|
|
@@ -338,9 +268,7 @@ class SFlix extends MovieParser {
|
|
|
338
268
|
? $(el).find('a').find('span').text().trim().toLowerCase()
|
|
339
269
|
: $(el).find('a').find('span').text().trim().toLowerCase(),
|
|
340
270
|
url: `${this.baseUrl}/${mediaId}.${
|
|
341
|
-
!mediaId.includes('movie')
|
|
342
|
-
? $(el).find('a').attr('data-id')
|
|
343
|
-
: $(el).find('a').attr('data-id')
|
|
271
|
+
!mediaId.includes('movie') ? $(el).find('a').attr('data-id') : $(el).find('a').attr('data-id')
|
|
344
272
|
}`.replace(
|
|
345
273
|
!mediaId.includes('movie') ? /\/tv\// : /\/movie\//,
|
|
346
274
|
!mediaId.includes('movie') ? '/watch-tv/' : '/watch-movie/'
|
|
@@ -364,21 +292,14 @@ class SFlix extends MovieParser {
|
|
|
364
292
|
'section.block_area:contains("Latest Movies") > div:nth-child(2) > div:nth-child(1) > div.flw-item'
|
|
365
293
|
)
|
|
366
294
|
.map((i, el) => {
|
|
367
|
-
const releaseDate = $(el)
|
|
368
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
369
|
-
.text();
|
|
295
|
+
const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text();
|
|
370
296
|
const movie: any = {
|
|
371
297
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
372
|
-
title: $(el)
|
|
373
|
-
.find('div.film-detail > h3.film-name > a')
|
|
374
|
-
.attr('title')!,
|
|
298
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
|
|
375
299
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
376
300
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
377
301
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
378
|
-
rating:
|
|
379
|
-
$(el)
|
|
380
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(1)')
|
|
381
|
-
.text() || null,
|
|
302
|
+
rating: $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text() || null,
|
|
382
303
|
type: TvType.MOVIE,
|
|
383
304
|
};
|
|
384
305
|
return movie;
|
|
@@ -401,21 +322,12 @@ class SFlix extends MovieParser {
|
|
|
401
322
|
.map((i, el) => {
|
|
402
323
|
const tvshow = {
|
|
403
324
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
404
|
-
title: $(el)
|
|
405
|
-
.find('div.film-detail > h3.film-name > a')
|
|
406
|
-
.attr('title')!,
|
|
325
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
|
|
407
326
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
408
327
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
409
|
-
season:
|
|
410
|
-
$(el)
|
|
411
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
412
|
-
.text()
|
|
413
|
-
.split(':')[0] || null,
|
|
328
|
+
season: $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[0] || null,
|
|
414
329
|
latestEpisode:
|
|
415
|
-
$(el)
|
|
416
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
417
|
-
.text()
|
|
418
|
-
.split(':')[1] || null,
|
|
330
|
+
$(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[1] || null,
|
|
419
331
|
type: TvType.TVSERIES,
|
|
420
332
|
};
|
|
421
333
|
return tvshow;
|
|
@@ -434,21 +346,14 @@ class SFlix extends MovieParser {
|
|
|
434
346
|
|
|
435
347
|
const movies = $('div#trending-movies div.film_list-wrap div.flw-item')
|
|
436
348
|
.map((i, el) => {
|
|
437
|
-
const releaseDate = $(el)
|
|
438
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
439
|
-
.text();
|
|
349
|
+
const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text();
|
|
440
350
|
const movie: any = {
|
|
441
351
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
442
|
-
title: $(el)
|
|
443
|
-
.find('div.film-detail > h3.film-name > a')
|
|
444
|
-
.attr('title')!,
|
|
352
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
|
|
445
353
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
446
354
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
447
355
|
releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
|
|
448
|
-
rating:
|
|
449
|
-
$(el)
|
|
450
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(1)')
|
|
451
|
-
.text() || null,
|
|
356
|
+
rating: $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text() || null,
|
|
452
357
|
type: TvType.MOVIE,
|
|
453
358
|
};
|
|
454
359
|
return movie;
|
|
@@ -469,21 +374,12 @@ class SFlix extends MovieParser {
|
|
|
469
374
|
.map((i, el) => {
|
|
470
375
|
const tvshow = {
|
|
471
376
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
|
|
472
|
-
title: $(el)
|
|
473
|
-
.find('div.film-detail > h3.film-name > a')
|
|
474
|
-
.attr('title')!,
|
|
377
|
+
title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
|
|
475
378
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
476
379
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
477
|
-
season:
|
|
478
|
-
$(el)
|
|
479
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
480
|
-
.text()
|
|
481
|
-
.split(':')[0] || null,
|
|
380
|
+
season: $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[0] || null,
|
|
482
381
|
latestEpisode:
|
|
483
|
-
$(el)
|
|
484
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
485
|
-
.text()
|
|
486
|
-
.split(':')[1] || null,
|
|
382
|
+
$(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[1] || null,
|
|
487
383
|
type: TvType.TVSERIES,
|
|
488
384
|
};
|
|
489
385
|
return tvshow;
|
|
@@ -495,70 +391,41 @@ class SFlix extends MovieParser {
|
|
|
495
391
|
}
|
|
496
392
|
};
|
|
497
393
|
|
|
498
|
-
fetchByCountry = async (
|
|
499
|
-
country: string,
|
|
500
|
-
page: number = 1
|
|
501
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
394
|
+
fetchByCountry = async (country: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
502
395
|
const result: ISearch<IMovieResult> = {
|
|
503
396
|
currentPage: page,
|
|
504
397
|
hasNextPage: false,
|
|
505
398
|
results: [],
|
|
506
399
|
};
|
|
507
|
-
const navSelector =
|
|
508
|
-
'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
400
|
+
const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
509
401
|
|
|
510
402
|
try {
|
|
511
|
-
const { data } = await this.client.get(
|
|
512
|
-
`${this.baseUrl}/country/${country}/?page=${page}`
|
|
513
|
-
);
|
|
403
|
+
const { data } = await this.client.get(`${this.baseUrl}/country/${country}/?page=${page}`);
|
|
514
404
|
const $ = load(data);
|
|
515
405
|
|
|
516
|
-
result.hasNextPage =
|
|
517
|
-
$(navSelector).length > 0
|
|
518
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
519
|
-
: false;
|
|
406
|
+
result.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
520
407
|
|
|
521
|
-
$(
|
|
522
|
-
'div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item'
|
|
523
|
-
)
|
|
408
|
+
$('div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item')
|
|
524
409
|
.each((i, el) => {
|
|
525
410
|
const resultItem: IMovieResult = {
|
|
526
411
|
id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
|
|
527
|
-
title:
|
|
528
|
-
$(el).find('div.film-detail > h2.film-name > a').attr('title') ??
|
|
529
|
-
'',
|
|
412
|
+
title: $(el).find('div.film-detail > h2.film-name > a').attr('title') ?? '',
|
|
530
413
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
531
414
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
532
415
|
type:
|
|
533
|
-
$(el)
|
|
534
|
-
.find('div.film-poster > a')
|
|
535
|
-
.attr('href')
|
|
536
|
-
?.slice(1)
|
|
537
|
-
.split('/')[0]!
|
|
538
|
-
.toLowerCase() === 'movie'
|
|
416
|
+
$(el).find('div.film-poster > a').attr('href')?.slice(1).split('/')[0]!.toLowerCase() === 'movie'
|
|
539
417
|
? TvType.MOVIE
|
|
540
418
|
: TvType.TVSERIES,
|
|
541
419
|
};
|
|
542
|
-
const season =
|
|
543
|
-
$(el)
|
|
544
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
545
|
-
.text()
|
|
546
|
-
.split(':')[0] ?? null;
|
|
420
|
+
const season = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[0] ?? null;
|
|
547
421
|
const latestEpisode =
|
|
548
|
-
$(el)
|
|
549
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
550
|
-
.text()
|
|
551
|
-
.split(':')[1] ?? null;
|
|
422
|
+
$(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[1] ?? null;
|
|
552
423
|
if (resultItem.type === TvType.TVSERIES) {
|
|
553
424
|
resultItem.season = season;
|
|
554
425
|
resultItem.latestEpisode = latestEpisode;
|
|
555
426
|
} else {
|
|
556
|
-
resultItem.rating = $(el)
|
|
557
|
-
|
|
558
|
-
.text();
|
|
559
|
-
resultItem.releaseDate = $(el)
|
|
560
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
561
|
-
.text();
|
|
427
|
+
resultItem.rating = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
|
|
428
|
+
resultItem.releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text();
|
|
562
429
|
}
|
|
563
430
|
result.results.push(resultItem);
|
|
564
431
|
})
|
|
@@ -569,69 +436,42 @@ class SFlix extends MovieParser {
|
|
|
569
436
|
}
|
|
570
437
|
};
|
|
571
438
|
|
|
572
|
-
fetchByGenre = async (
|
|
573
|
-
genre: string,
|
|
574
|
-
page: number = 1
|
|
575
|
-
): Promise<ISearch<IMovieResult>> => {
|
|
439
|
+
fetchByGenre = async (genre: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
|
|
576
440
|
const result: ISearch<IMovieResult> = {
|
|
577
441
|
currentPage: page,
|
|
578
442
|
hasNextPage: false,
|
|
579
443
|
results: [],
|
|
580
444
|
};
|
|
581
445
|
try {
|
|
582
|
-
const { data } = await this.client.get(
|
|
583
|
-
`${this.baseUrl}/genre/${genre}?page=${page}`
|
|
584
|
-
);
|
|
446
|
+
const { data } = await this.client.get(`${this.baseUrl}/genre/${genre}?page=${page}`);
|
|
585
447
|
|
|
586
448
|
const $ = load(data);
|
|
587
449
|
|
|
588
|
-
const navSelector =
|
|
589
|
-
'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
450
|
+
const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
|
|
590
451
|
|
|
591
|
-
result.hasNextPage =
|
|
592
|
-
$(navSelector).length > 0
|
|
593
|
-
? !$(navSelector).children().last().hasClass('active')
|
|
594
|
-
: false;
|
|
452
|
+
result.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
|
|
595
453
|
|
|
596
454
|
$('.film_list-wrap > div.flw-item')
|
|
597
455
|
.each((i, el) => {
|
|
598
456
|
const resultItem: IMovieResult = {
|
|
599
457
|
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
|
-
'',
|
|
458
|
+
title: $(el).find('div.film-detail > h2.film-name > a').attr('title') ?? '',
|
|
603
459
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
|
|
604
460
|
image: $(el).find('div.film-poster > img').attr('data-src'),
|
|
605
461
|
type:
|
|
606
|
-
$(el)
|
|
607
|
-
.find('div.film-poster > a')
|
|
608
|
-
.attr('href')
|
|
609
|
-
?.slice(1)
|
|
610
|
-
.split('/')[0]!
|
|
611
|
-
.toLowerCase() === 'movie'
|
|
462
|
+
$(el).find('div.film-poster > a').attr('href')?.slice(1).split('/')[0]!.toLowerCase() === 'movie'
|
|
612
463
|
? TvType.MOVIE
|
|
613
464
|
: TvType.TVSERIES,
|
|
614
465
|
};
|
|
615
|
-
const season =
|
|
616
|
-
$(el)
|
|
617
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
618
|
-
.text()
|
|
619
|
-
.split(':')[0] ?? null;
|
|
466
|
+
const season = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[0] ?? null;
|
|
620
467
|
const latestEpisode =
|
|
621
|
-
$(el)
|
|
622
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
623
|
-
.text()
|
|
624
|
-
.split(':')[1] ?? null;
|
|
468
|
+
$(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[1] ?? null;
|
|
625
469
|
if (resultItem.type === TvType.TVSERIES) {
|
|
626
470
|
resultItem.season = season;
|
|
627
471
|
resultItem.latestEpisode = latestEpisode;
|
|
628
472
|
} else {
|
|
629
|
-
resultItem.rating = $(el)
|
|
630
|
-
|
|
631
|
-
.text();
|
|
632
|
-
resultItem.releaseDate = $(el)
|
|
633
|
-
.find('div.film-detail > div.fd-infor > span:nth-child(3)')
|
|
634
|
-
.text();
|
|
473
|
+
resultItem.rating = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
|
|
474
|
+
resultItem.releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text();
|
|
635
475
|
}
|
|
636
476
|
result.results.push(resultItem);
|
|
637
477
|
})
|
|
@@ -658,10 +498,7 @@ class SFlix extends MovieParser {
|
|
|
658
498
|
cover: $(el).find('div.slide-photo > a > img').attr('src'),
|
|
659
499
|
rating: $(el).find('.scd-item:nth-child(1)').text().trim(),
|
|
660
500
|
description: $(el).find('.sc-desc').text().trim(),
|
|
661
|
-
type:
|
|
662
|
-
$(el).find('a').attr('href')?.split('/')[1] === 'movie'
|
|
663
|
-
? TvType.MOVIE
|
|
664
|
-
: TvType.TVSERIES,
|
|
501
|
+
type: $(el).find('a').attr('href')?.split('/')[1] === 'movie' ? TvType.MOVIE : TvType.TVSERIES,
|
|
665
502
|
});
|
|
666
503
|
});
|
|
667
504
|
return results;
|
|
@@ -67,9 +67,7 @@ class SmashyStream extends MovieParser {
|
|
|
67
67
|
): Promise<ISource> => {
|
|
68
68
|
try {
|
|
69
69
|
const servers = await this.fetchEpisodeServers(tmdbId, season, episode);
|
|
70
|
-
const selectedServer = servers.find(
|
|
71
|
-
(s) => s.name.toLowerCase() === server?.toLowerCase()
|
|
72
|
-
);
|
|
70
|
+
const selectedServer = servers.find((s) => s.name.toLowerCase() === server?.toLowerCase());
|
|
73
71
|
|
|
74
72
|
if (!selectedServer) {
|
|
75
73
|
let url = `${this.baseUrl}/playere.php?tmdb=${tmdbId}`;
|
|
@@ -79,72 +77,53 @@ class SmashyStream extends MovieParser {
|
|
|
79
77
|
|
|
80
78
|
return {
|
|
81
79
|
headers: { Referer: this.baseUrl },
|
|
82
|
-
...(await new SS(this.proxyConfig, this.adapter).extract(
|
|
83
|
-
new URL(url)
|
|
84
|
-
)),
|
|
80
|
+
...(await new SS(this.proxyConfig, this.adapter).extract(new URL(url))),
|
|
85
81
|
};
|
|
86
82
|
}
|
|
87
83
|
|
|
88
84
|
if (selectedServer.url.includes('/ffix')) {
|
|
89
85
|
return {
|
|
90
86
|
headers: { Referer: this.baseUrl },
|
|
91
|
-
...(await new SS(this.proxyConfig, this.adapter).extractSmashyFfix(
|
|
92
|
-
selectedServer.url
|
|
93
|
-
)),
|
|
87
|
+
...(await new SS(this.proxyConfig, this.adapter).extractSmashyFfix(selectedServer.url)),
|
|
94
88
|
};
|
|
95
89
|
}
|
|
96
90
|
|
|
97
91
|
if (selectedServer.url.includes('/watchx')) {
|
|
98
92
|
return {
|
|
99
93
|
headers: { Referer: this.baseUrl },
|
|
100
|
-
...(await new SS(this.proxyConfig, this.adapter).extractSmashyWatchX(
|
|
101
|
-
selectedServer.url
|
|
102
|
-
)),
|
|
94
|
+
...(await new SS(this.proxyConfig, this.adapter).extractSmashyWatchX(selectedServer.url)),
|
|
103
95
|
};
|
|
104
96
|
}
|
|
105
97
|
|
|
106
98
|
if (selectedServer.url.includes('/nflim')) {
|
|
107
99
|
return {
|
|
108
100
|
headers: { Referer: this.baseUrl },
|
|
109
|
-
...(await new SS(this.proxyConfig, this.adapter).extractSmashyNFlim(
|
|
110
|
-
selectedServer.url
|
|
111
|
-
)),
|
|
101
|
+
...(await new SS(this.proxyConfig, this.adapter).extractSmashyNFlim(selectedServer.url)),
|
|
112
102
|
};
|
|
113
103
|
}
|
|
114
104
|
|
|
115
105
|
if (selectedServer.url.includes('/fx')) {
|
|
116
106
|
return {
|
|
117
107
|
headers: { Referer: this.baseUrl },
|
|
118
|
-
...(await new SS(this.proxyConfig, this.adapter).extractSmashyFX(
|
|
119
|
-
selectedServer.url
|
|
120
|
-
)),
|
|
108
|
+
...(await new SS(this.proxyConfig, this.adapter).extractSmashyFX(selectedServer.url)),
|
|
121
109
|
};
|
|
122
110
|
}
|
|
123
111
|
|
|
124
112
|
if (selectedServer.url.includes('/cf')) {
|
|
125
113
|
return {
|
|
126
114
|
headers: { Referer: this.baseUrl },
|
|
127
|
-
...(await new SS(this.proxyConfig, this.adapter).extractSmashyCF(
|
|
128
|
-
selectedServer.url
|
|
129
|
-
)),
|
|
115
|
+
...(await new SS(this.proxyConfig, this.adapter).extractSmashyCF(selectedServer.url)),
|
|
130
116
|
};
|
|
131
117
|
}
|
|
132
118
|
|
|
133
119
|
if (selectedServer.url.includes('/eemovie')) {
|
|
134
120
|
return {
|
|
135
121
|
headers: { Referer: this.baseUrl },
|
|
136
|
-
...(await new SS(this.proxyConfig, this.adapter).extractSmashyEEMovie(
|
|
137
|
-
selectedServer.url
|
|
138
|
-
)),
|
|
122
|
+
...(await new SS(this.proxyConfig, this.adapter).extractSmashyEEMovie(selectedServer.url)),
|
|
139
123
|
};
|
|
140
124
|
}
|
|
141
125
|
|
|
142
|
-
return await this.fetchEpisodeSources(
|
|
143
|
-
selectedServer.url,
|
|
144
|
-
season,
|
|
145
|
-
episode,
|
|
146
|
-
server
|
|
147
|
-
);
|
|
126
|
+
return await this.fetchEpisodeSources(selectedServer.url, season, episode, server);
|
|
148
127
|
} catch (err) {
|
|
149
128
|
throw new Error((err as Error).message);
|
|
150
129
|
}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { load } from 'cheerio';
|
|
2
|
-
import {
|
|
3
|
-
type IAnimeInfo,
|
|
4
|
-
type IEpisodeServer,
|
|
5
|
-
type IMovieInfo,
|
|
6
|
-
type ISource,
|
|
7
|
-
MovieParser,
|
|
8
|
-
TvType,
|
|
9
|
-
} from '../../models';
|
|
2
|
+
import { type IAnimeInfo, type IEpisodeServer, type IMovieInfo, type ISource, MovieParser, TvType } from '../../models';
|
|
10
3
|
|
|
11
4
|
export default class Turkish extends MovieParser {
|
|
12
5
|
name: string = 'Turkish123';
|
|
@@ -40,10 +33,7 @@ export default class Turkish extends MovieParser {
|
|
|
40
33
|
.map((_, e) => $(e).text())
|
|
41
34
|
.get();
|
|
42
35
|
info.rating = parseFloat($('.imdb-r').text());
|
|
43
|
-
info.releaseDate = $('.mvici-right > p:nth-child(3)')
|
|
44
|
-
.find('a')
|
|
45
|
-
.first()
|
|
46
|
-
.text();
|
|
36
|
+
info.releaseDate = $('.mvici-right > p:nth-child(3)').find('a').first().text();
|
|
47
37
|
info.totalEpisodes = $('.les-content > a').length;
|
|
48
38
|
info.episodes = $('.les-content > a')
|
|
49
39
|
.map((i, e) => ({
|
|
@@ -68,9 +58,7 @@ export default class Turkish extends MovieParser {
|
|
|
68
58
|
'Referer': this.baseUrl,
|
|
69
59
|
},
|
|
70
60
|
});
|
|
71
|
-
const resp = (
|
|
72
|
-
await this.client(data.match(/"(https:\/\/tukipasti.com\/t\/.*?)"/)![1])
|
|
73
|
-
).data;
|
|
61
|
+
const resp = (await this.client(data.match(/"(https:\/\/tukipasti.com\/t\/.*?)"/)![1])).data;
|
|
74
62
|
source.sources[0]!.url = resp.match(/var urlPlay = '(.*?)'/)![1];
|
|
75
63
|
} catch (error) {}
|
|
76
64
|
return source;
|
|
@@ -95,11 +83,7 @@ export default class Turkish extends MovieParser {
|
|
|
95
83
|
.not('.ss-bottom')
|
|
96
84
|
.each((_, ele) => {
|
|
97
85
|
result.push({
|
|
98
|
-
id: $(ele)
|
|
99
|
-
.find('a')
|
|
100
|
-
.attr('href')!
|
|
101
|
-
.replace(this.baseUrl, '')
|
|
102
|
-
.replace('/', ''),
|
|
86
|
+
id: $(ele).find('a').attr('href')!.replace(this.baseUrl, '').replace('/', ''),
|
|
103
87
|
image:
|
|
104
88
|
$(ele)
|
|
105
89
|
.find('a')
|