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
|
@@ -22,29 +22,21 @@ interface WatchAnime {
|
|
|
22
22
|
class AnimeDrive extends AnimeParser {
|
|
23
23
|
override readonly name = 'AnimeDrive';
|
|
24
24
|
protected override baseUrl = 'https://animedrive.hu';
|
|
25
|
-
protected override logo =
|
|
26
|
-
'https://cdn.rcd.gg/PreMiD/websites/A/AnimeDrive/assets/logo.png';
|
|
25
|
+
protected override logo = 'https://cdn.rcd.gg/PreMiD/websites/A/AnimeDrive/assets/logo.png';
|
|
27
26
|
protected override classPath = 'ANIME.animedrive';
|
|
28
27
|
|
|
29
28
|
/**
|
|
30
29
|
* @param query Search query
|
|
31
30
|
* @param page Page number (optional)
|
|
32
31
|
*/
|
|
33
|
-
override search = async (
|
|
34
|
-
query: string,
|
|
35
|
-
page: number = 1
|
|
36
|
-
): Promise<ISearch<IAnimeResult>> => {
|
|
32
|
+
override search = async (query: string, page: number = 1): Promise<ISearch<IAnimeResult>> => {
|
|
37
33
|
try {
|
|
38
|
-
const { data } = await this.client.get(
|
|
39
|
-
`${this.baseUrl}/search/?q=${decodeURIComponent(query)}&p=${page}`
|
|
40
|
-
);
|
|
34
|
+
const { data } = await this.client.get(`${this.baseUrl}/search/?q=${decodeURIComponent(query)}&p=${page}`);
|
|
41
35
|
|
|
42
36
|
const $ = load(data);
|
|
43
37
|
|
|
44
38
|
const hasNextPage =
|
|
45
|
-
$(
|
|
46
|
-
'.nk-pagination.nk-pagination-center > nav > a.nk-pagination-current-white'
|
|
47
|
-
).next('a').length > 0;
|
|
39
|
+
$('.nk-pagination.nk-pagination-center > nav > a.nk-pagination-current-white').next('a').length > 0;
|
|
48
40
|
|
|
49
41
|
const searchResults: IAnimeResult[] = [];
|
|
50
42
|
|
|
@@ -55,15 +47,9 @@ class AnimeDrive extends AnimeParser {
|
|
|
55
47
|
.find('div.card__content > h3.card__title > a')
|
|
56
48
|
.attr('href')
|
|
57
49
|
?.replace('https://animedrive.hu/anime/?id=', '');
|
|
58
|
-
const title = $(el)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
const image = $(el)
|
|
62
|
-
.find('div.card__cover > div.nk-image-box-1-a > img')
|
|
63
|
-
.attr('src');
|
|
64
|
-
const url = $(el)
|
|
65
|
-
.find('div.card__content > h3.card__title > a')
|
|
66
|
-
.attr('href');
|
|
50
|
+
const title = $(el).find('div.card__content > h3.card__title > a').text();
|
|
51
|
+
const image = $(el).find('div.card__cover > div.nk-image-box-1-a > img').attr('src');
|
|
52
|
+
const url = $(el).find('div.card__content > h3.card__title > a').attr('href');
|
|
67
53
|
const subOrDub = 'sub'; // there is no hungarian dub for animes sadly
|
|
68
54
|
|
|
69
55
|
if (id && title && image && url) {
|
|
@@ -95,44 +81,23 @@ class AnimeDrive extends AnimeParser {
|
|
|
95
81
|
|
|
96
82
|
info.title = $('div.col-sm-12.col-md-8.col-lg-9 > h2').text();
|
|
97
83
|
info.image = $('div.nk-image-box-1-a.col-12 > img').attr('src');
|
|
98
|
-
info.description = $('div.col-sm-12.col-md-8.col-lg-9 > p.col-12')
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
const typeText = $('table.animeSpecs.left td:contains("TÍPUS:")')
|
|
103
|
-
.next('td')
|
|
104
|
-
.text()
|
|
105
|
-
.trim();
|
|
84
|
+
info.description = $('div.col-sm-12.col-md-8.col-lg-9 > p.col-12').text().trim();
|
|
85
|
+
|
|
86
|
+
const typeText = $('table.animeSpecs.left td:contains("TÍPUS:")').next('td').text().trim();
|
|
106
87
|
info.type = this.parseType(typeText);
|
|
107
88
|
|
|
108
|
-
info.releaseYear = $('table.animeSpecs.left td:contains("KIADÁS:")')
|
|
109
|
-
.next('td')
|
|
110
|
-
.text()
|
|
111
|
-
.trim();
|
|
89
|
+
info.releaseYear = $('table.animeSpecs.left td:contains("KIADÁS:")').next('td').text().trim();
|
|
112
90
|
|
|
113
|
-
const statusText = $('table.animeSpecs.left td:contains("STÁTUSZ:")')
|
|
114
|
-
.next('td')
|
|
115
|
-
.text()
|
|
116
|
-
.trim();
|
|
91
|
+
const statusText = $('table.animeSpecs.left td:contains("STÁTUSZ:")').next('td').text().trim();
|
|
117
92
|
info.status = this.parseStatus(statusText);
|
|
118
93
|
|
|
119
|
-
const totalEpisodesWithSlash = $(
|
|
120
|
-
|
|
121
|
-
)
|
|
122
|
-
.next('td')
|
|
123
|
-
.text()
|
|
124
|
-
.trim();
|
|
125
|
-
const totalEpisodesWithoutSlash = totalEpisodesWithSlash
|
|
126
|
-
.split('/')[0]!
|
|
127
|
-
.trim();
|
|
94
|
+
const totalEpisodesWithSlash = $('table.animeSpecs.right td:contains("RÉSZEK:")').next('td').text().trim();
|
|
95
|
+
const totalEpisodesWithoutSlash = totalEpisodesWithSlash.split('/')[0]!.trim();
|
|
128
96
|
info.totalEpisodes = parseInt(totalEpisodesWithoutSlash);
|
|
129
97
|
info.url = `${this.baseUrl}/anime/?id=${id}`;
|
|
130
98
|
info.episodes = [];
|
|
131
99
|
|
|
132
|
-
const episodes = Array.from(
|
|
133
|
-
{ length: info.totalEpisodes },
|
|
134
|
-
(_, i) => i + 1
|
|
135
|
-
);
|
|
100
|
+
const episodes = Array.from({ length: info.totalEpisodes }, (_, i) => i + 1);
|
|
136
101
|
episodes.forEach((_, i) => {
|
|
137
102
|
info.episodes?.push({
|
|
138
103
|
id: `?id=${id}&ep=${i + 1}`,
|
|
@@ -178,32 +143,21 @@ class AnimeDrive extends AnimeParser {
|
|
|
178
143
|
/**
|
|
179
144
|
* @param page Page number
|
|
180
145
|
*/
|
|
181
|
-
fetchRecentEpisodes = async (
|
|
182
|
-
page: number = 1
|
|
183
|
-
): Promise<ISearch<IAnimeResult>> => {
|
|
146
|
+
fetchRecentEpisodes = async (page: number = 1): Promise<ISearch<IAnimeResult>> => {
|
|
184
147
|
try {
|
|
185
|
-
const { data } = await this.client.get(
|
|
186
|
-
`${this.baseUrl}/latest-added?page=${page}`
|
|
187
|
-
);
|
|
148
|
+
const { data } = await this.client.get(`${this.baseUrl}/latest-added?page=${page}`);
|
|
188
149
|
const $ = load(data);
|
|
189
150
|
|
|
190
|
-
const hasNextPage = !$('.pagination > nav > ul > li')
|
|
191
|
-
.last()
|
|
192
|
-
.hasClass('disabled');
|
|
151
|
+
const hasNextPage = !$('.pagination > nav > ul > li').last().hasClass('disabled');
|
|
193
152
|
|
|
194
153
|
const recentEpisodes: IAnimeResult[] = [];
|
|
195
154
|
|
|
196
155
|
$('div.film_list-wrap > div').each((i, el) => {
|
|
197
|
-
const id = $(el)
|
|
198
|
-
.find('div.film-poster > a')
|
|
199
|
-
.attr('href')
|
|
200
|
-
?.replace('/watch/', '');
|
|
156
|
+
const id = $(el).find('div.film-poster > a').attr('href')?.replace('/watch/', '');
|
|
201
157
|
const image = $(el).find('div.film-poster > img').attr('data-src');
|
|
202
158
|
const title = $(el).find('div.film-poster > img').attr('alt');
|
|
203
159
|
const url = `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`;
|
|
204
|
-
const episode = parseInt(
|
|
205
|
-
$(el).find('div.tick-eps').text().replace('EP ', '').split('/')[0]!
|
|
206
|
-
);
|
|
160
|
+
const episode = parseInt($(el).find('div.tick-eps').text().replace('EP ', '').split('/')[0]!);
|
|
207
161
|
if (id && image && title && url && !isNaN(episode)) {
|
|
208
162
|
recentEpisodes.push({ id, image, title, url, episode });
|
|
209
163
|
}
|
|
@@ -223,9 +177,7 @@ class AnimeDrive extends AnimeParser {
|
|
|
223
177
|
*
|
|
224
178
|
* @param episodeId episode id
|
|
225
179
|
*/
|
|
226
|
-
override fetchEpisodeSources = async (
|
|
227
|
-
episodeId: string
|
|
228
|
-
): Promise<ISource> => {
|
|
180
|
+
override fetchEpisodeSources = async (episodeId: string): Promise<ISource> => {
|
|
229
181
|
const headers = {
|
|
230
182
|
'Accept':
|
|
231
183
|
'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
|
|
@@ -252,15 +204,12 @@ class AnimeDrive extends AnimeParser {
|
|
|
252
204
|
const $ = load(response.data);
|
|
253
205
|
const htmlData = response.data;
|
|
254
206
|
|
|
255
|
-
const sourcesDataMatch = /sources:\s*\[\s*(.*?)\s*\],?\s*poster:/.exec(
|
|
256
|
-
htmlData
|
|
257
|
-
);
|
|
207
|
+
const sourcesDataMatch = /sources:\s*\[\s*(.*?)\s*\],?\s*poster:/.exec(htmlData);
|
|
258
208
|
const sources: WatchAnime[] = [];
|
|
259
209
|
|
|
260
210
|
if (sourcesDataMatch) {
|
|
261
211
|
const sourcesData = sourcesDataMatch[1];
|
|
262
|
-
const sourceRegex =
|
|
263
|
-
/{\s*src:\s*'(.*?)'.*?type:\s*'(.*?)'.*?size:\s*(\d+),?\s*}/g;
|
|
212
|
+
const sourceRegex = /{\s*src:\s*'(.*?)'.*?type:\s*'(.*?)'.*?size:\s*(\d+),?\s*}/g;
|
|
264
213
|
let match;
|
|
265
214
|
|
|
266
215
|
while ((match = sourceRegex.exec(sourcesData!)) !== null) {
|
|
@@ -288,9 +237,7 @@ class AnimeDrive extends AnimeParser {
|
|
|
288
237
|
/**
|
|
289
238
|
* @deprecated Use fetchEpisodeSources instead
|
|
290
239
|
*/
|
|
291
|
-
override fetchEpisodeServers = (
|
|
292
|
-
_episodeId: string
|
|
293
|
-
): Promise<IEpisodeServer[]> => {
|
|
240
|
+
override fetchEpisodeServers = (_episodeId: string): Promise<IEpisodeServer[]> => {
|
|
294
241
|
throw new Error('Method not implemented.');
|
|
295
242
|
};
|
|
296
243
|
}
|
|
@@ -23,10 +23,7 @@ class AnimeFox extends AnimeParser {
|
|
|
23
23
|
* @param query Search query
|
|
24
24
|
* @param page Page number (optional)
|
|
25
25
|
*/
|
|
26
|
-
override search = async (
|
|
27
|
-
query: string,
|
|
28
|
-
page: number = 1
|
|
29
|
-
): Promise<ISearch<IAnimeResult>> => {
|
|
26
|
+
override search = async (query: string, page: number = 1): Promise<ISearch<IAnimeResult>> => {
|
|
30
27
|
try {
|
|
31
28
|
const { data } = await this.client.get(
|
|
32
29
|
`${this.baseUrl}/search?keyword=${decodeURIComponent(query)}&page=${page}`
|
|
@@ -34,11 +31,7 @@ class AnimeFox extends AnimeParser {
|
|
|
34
31
|
|
|
35
32
|
const $ = load(data);
|
|
36
33
|
|
|
37
|
-
const hasNextPage = $('.pagination > nav > ul > li')
|
|
38
|
-
.last()
|
|
39
|
-
.hasClass('disabled')
|
|
40
|
-
? false
|
|
41
|
-
: true;
|
|
34
|
+
const hasNextPage = $('.pagination > nav > ul > li').last().hasClass('disabled') ? false : true;
|
|
42
35
|
|
|
43
36
|
const searchResults: IAnimeResult[] = [];
|
|
44
37
|
|
|
@@ -62,17 +55,12 @@ class AnimeFox extends AnimeParser {
|
|
|
62
55
|
break;
|
|
63
56
|
}
|
|
64
57
|
searchResults.push({
|
|
65
|
-
id: $(el)
|
|
66
|
-
.find('div.film-poster > a')
|
|
67
|
-
.attr('href')
|
|
68
|
-
?.replace('/anime/', '')!,
|
|
58
|
+
id: $(el).find('div.film-poster > a').attr('href')?.replace('/anime/', '')!,
|
|
69
59
|
title: $(el).find('div.film-poster > img').attr('alt')!,
|
|
70
60
|
type: type,
|
|
71
61
|
image: $(el).find('div.fd-infor > span:nth-child(1)').text()!,
|
|
72
62
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`!,
|
|
73
|
-
episode: parseInt(
|
|
74
|
-
$(el).find('div.tick-eps').text().replace('EP', '').trim()
|
|
75
|
-
)!,
|
|
63
|
+
episode: parseInt($(el).find('div.tick-eps').text().replace('EP', '').trim())!,
|
|
76
64
|
});
|
|
77
65
|
});
|
|
78
66
|
return {
|
|
@@ -99,9 +87,7 @@ class AnimeFox extends AnimeParser {
|
|
|
99
87
|
|
|
100
88
|
info.title = $('h2.film-name').attr('data-jname')!;
|
|
101
89
|
info.image = $('img.film-poster-img').attr('data-src')!;
|
|
102
|
-
info.description = $('div.anisc-info > div:nth-child(1) > div')
|
|
103
|
-
.text()
|
|
104
|
-
.trim()!;
|
|
90
|
+
info.description = $('div.anisc-info > div:nth-child(1) > div').text().trim()!;
|
|
105
91
|
switch ($('div.anisc-info > div:nth-child(8) > a').text().trim()) {
|
|
106
92
|
case 'TV Series':
|
|
107
93
|
info.type = MediaFormat.TV;
|
|
@@ -120,9 +106,7 @@ class AnimeFox extends AnimeParser {
|
|
|
120
106
|
break;
|
|
121
107
|
}
|
|
122
108
|
|
|
123
|
-
info.releaseYear = $('div.anisc-info > div:nth-child(7) > a')
|
|
124
|
-
.text()
|
|
125
|
-
.trim()!;
|
|
109
|
+
info.releaseYear = $('div.anisc-info > div:nth-child(7) > a').text().trim()!;
|
|
126
110
|
switch ($('div.anisc-info > div:nth-child(9) > a').text().trim()!) {
|
|
127
111
|
case 'Ongoing':
|
|
128
112
|
info.status = MediaStatus.ONGOING;
|
|
@@ -137,23 +121,12 @@ class AnimeFox extends AnimeParser {
|
|
|
137
121
|
info.status = MediaStatus.UNKNOWN;
|
|
138
122
|
break;
|
|
139
123
|
}
|
|
140
|
-
info.totalEpisodes = parseInt(
|
|
141
|
-
$('div.anisc-info > div:nth-child(4) > span:nth-child(2)').text().trim()
|
|
142
|
-
)!;
|
|
124
|
+
info.totalEpisodes = parseInt($('div.anisc-info > div:nth-child(4) > span:nth-child(2)').text().trim())!;
|
|
143
125
|
info.url = `${this.baseUrl}/${id}`;
|
|
144
126
|
info.episodes = [];
|
|
145
|
-
info.hasSub =
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
.trim() === 'Subbed';
|
|
149
|
-
info.hasDub =
|
|
150
|
-
$('div.anisc-info > div:nth-child(3) > span:nth-child(2)')
|
|
151
|
-
.text()
|
|
152
|
-
.trim() === 'Dubbed';
|
|
153
|
-
const episodes = Array.from(
|
|
154
|
-
{ length: info.totalEpisodes },
|
|
155
|
-
(_, i) => i + 1
|
|
156
|
-
);
|
|
127
|
+
info.hasSub = $('div.anisc-info > div:nth-child(3) > span:nth-child(2)').text().trim() === 'Subbed';
|
|
128
|
+
info.hasDub = $('div.anisc-info > div:nth-child(3) > span:nth-child(2)').text().trim() === 'Dubbed';
|
|
129
|
+
const episodes = Array.from({ length: info.totalEpisodes }, (_, i) => i + 1);
|
|
157
130
|
episodes.forEach((element, i) =>
|
|
158
131
|
info.episodes?.push({
|
|
159
132
|
id: `${id}-episode-${i + 1}`,
|
|
@@ -171,35 +144,22 @@ class AnimeFox extends AnimeParser {
|
|
|
171
144
|
/**
|
|
172
145
|
* @param page Page number
|
|
173
146
|
*/
|
|
174
|
-
fetchRecentEpisodes = async (
|
|
175
|
-
page: number = 1
|
|
176
|
-
): Promise<ISearch<IAnimeResult>> => {
|
|
147
|
+
fetchRecentEpisodes = async (page: number = 1): Promise<ISearch<IAnimeResult>> => {
|
|
177
148
|
try {
|
|
178
|
-
const { data } = await this.client.get(
|
|
179
|
-
`${this.baseUrl}/latest-added?page=${page}`
|
|
180
|
-
);
|
|
149
|
+
const { data } = await this.client.get(`${this.baseUrl}/latest-added?page=${page}`);
|
|
181
150
|
const $ = load(data);
|
|
182
151
|
|
|
183
|
-
const hasNextPage = $('.pagination > nav > ul > li')
|
|
184
|
-
.last()
|
|
185
|
-
.hasClass('disabled')
|
|
186
|
-
? false
|
|
187
|
-
: true;
|
|
152
|
+
const hasNextPage = $('.pagination > nav > ul > li').last().hasClass('disabled') ? false : true;
|
|
188
153
|
|
|
189
154
|
const recentEpisodes: IAnimeResult[] = [];
|
|
190
155
|
|
|
191
156
|
$('div.film_list-wrap > div').each((i, el) => {
|
|
192
157
|
recentEpisodes.push({
|
|
193
|
-
id: $(el)
|
|
194
|
-
.find('div.film-poster > a')
|
|
195
|
-
.attr('href')
|
|
196
|
-
?.replace('/watch/', '')!,
|
|
158
|
+
id: $(el).find('div.film-poster > a').attr('href')?.replace('/watch/', '')!,
|
|
197
159
|
image: $(el).find('div.film-poster > img').attr('data-src')!,
|
|
198
160
|
title: $(el).find('div.film-poster > img').attr('alt')!,
|
|
199
161
|
url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}!`,
|
|
200
|
-
episode: parseInt(
|
|
201
|
-
$(el).find('div.tick-eps').text().replace('EP ', '').split('/')[0]!
|
|
202
|
-
)!,
|
|
162
|
+
episode: parseInt($(el).find('div.tick-eps').text().replace('EP ', '').split('/')[0]!)!,
|
|
203
163
|
});
|
|
204
164
|
});
|
|
205
165
|
|
|
@@ -217,13 +177,9 @@ class AnimeFox extends AnimeParser {
|
|
|
217
177
|
*
|
|
218
178
|
* @param episodeId episode id
|
|
219
179
|
*/
|
|
220
|
-
override fetchEpisodeSources = async (
|
|
221
|
-
episodeId: string
|
|
222
|
-
): Promise<ISource> => {
|
|
180
|
+
override fetchEpisodeSources = async (episodeId: string): Promise<ISource> => {
|
|
223
181
|
try {
|
|
224
|
-
const { data } = await this.client.get(
|
|
225
|
-
`${this.baseUrl}/watch/${episodeId}`
|
|
226
|
-
);
|
|
182
|
+
const { data } = await this.client.get(`${this.baseUrl}/watch/${episodeId}`);
|
|
227
183
|
const $ = load(data);
|
|
228
184
|
const iframe = $('#iframe-to-load').attr('src') || '';
|
|
229
185
|
const streamUrl = `https://goload.io/streaming.php?id=${iframe.split('=')[1]}`;
|
|
@@ -239,9 +195,7 @@ class AnimeFox extends AnimeParser {
|
|
|
239
195
|
/**
|
|
240
196
|
* @deprecated Use fetchEpisodeSources instead
|
|
241
197
|
*/
|
|
242
|
-
override fetchEpisodeServers = (
|
|
243
|
-
episodeIs: string
|
|
244
|
-
): Promise<IEpisodeServer[]> => {
|
|
198
|
+
override fetchEpisodeServers = (episodeIs: string): Promise<IEpisodeServer[]> => {
|
|
245
199
|
throw new Error('Method not implemented.');
|
|
246
200
|
};
|
|
247
201
|
}
|