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
|
@@ -24,22 +24,14 @@ class FlameScans extends MangaParser {
|
|
|
24
24
|
|
|
25
25
|
override search = async (query: string): Promise<ISearch<IMangaResult>> => {
|
|
26
26
|
try {
|
|
27
|
-
const { data } = await this.client.get(
|
|
28
|
-
`${this.baseUrl}/series/?title=${query.replace(/ /g, '%20')}`
|
|
29
|
-
);
|
|
27
|
+
const { data } = await this.client.get(`${this.baseUrl}/series/?title=${query.replace(/ /g, '%20')}`);
|
|
30
28
|
const $ = load(data);
|
|
31
29
|
|
|
32
|
-
const searchMangaSelector =
|
|
33
|
-
'.utao .uta .imgu, .listupd .bs .bsx, .listo .bs .bsx';
|
|
30
|
+
const searchMangaSelector = '.utao .uta .imgu, .listupd .bs .bsx, .listo .bs .bsx';
|
|
34
31
|
const results = $(searchMangaSelector)
|
|
35
32
|
.map(
|
|
36
33
|
(i, el): IMangaResult => ({
|
|
37
|
-
id:
|
|
38
|
-
$(el)
|
|
39
|
-
.find('a')
|
|
40
|
-
.attr('href')
|
|
41
|
-
?.split('/series/')[1]!
|
|
42
|
-
.replace('/', '') ?? '',
|
|
34
|
+
id: $(el).find('a').attr('href')?.split('/series/')[1]!.replace('/', '') ?? '',
|
|
43
35
|
title: $(el).find('a').attr('title') ?? '',
|
|
44
36
|
image: $(el).find('img').attr('src'),
|
|
45
37
|
})
|
|
@@ -60,9 +52,7 @@ class FlameScans extends MangaParser {
|
|
|
60
52
|
title: '',
|
|
61
53
|
};
|
|
62
54
|
try {
|
|
63
|
-
const { data } = await this.client.get(
|
|
64
|
-
`${this.baseUrl}/manga/${mangaId}`
|
|
65
|
-
);
|
|
55
|
+
const { data } = await this.client.get(`${this.baseUrl}/manga/${mangaId}`);
|
|
66
56
|
const $ = load(data);
|
|
67
57
|
|
|
68
58
|
// base from https://github.com/tachiyomiorg/tachiyomi-extensions/blob/661311c13b3b550e3fa906c1130b77a037ef7a11/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesia.kt#L233
|
|
@@ -71,17 +61,13 @@ class FlameScans extends MangaParser {
|
|
|
71
61
|
".infotable tr:icontains('artist') td:last-child, .tsinfo .imptdt:icontains('artist') i, .fmed b:icontains('artist')+span, span:icontains('artist')";
|
|
72
62
|
const seriesAuthorSelector =
|
|
73
63
|
".infotable tr:icontains('author') td:last-child, .tsinfo .imptdt:icontains('author') i, .fmed b:icontains('author')+span, span:icontains('author')";
|
|
74
|
-
const seriesDescriptionSelector =
|
|
75
|
-
|
|
76
|
-
const seriesAltNameSelector =
|
|
77
|
-
".alternative > div, .wd-full:icontains('alt') span, .alter, .seriestualt";
|
|
64
|
+
const seriesDescriptionSelector = '.desc, .entry-content[itemprop=description]';
|
|
65
|
+
const seriesAltNameSelector = ".alternative > div, .wd-full:icontains('alt') span, .alter, .seriestualt";
|
|
78
66
|
const seriesGenreSelector = 'div.gnr a, .mgen a, .seriestugenre a';
|
|
79
67
|
const seriesStatusSelector =
|
|
80
68
|
".infotable tr:icontains('status') td:last-child, .tsinfo .imptdt:icontains('status') i, .fmed b:icontains('status')+span span:icontains('status')";
|
|
81
|
-
const seriesThumbnailSelector =
|
|
82
|
-
|
|
83
|
-
const seriesChaptersSelector =
|
|
84
|
-
'div.bxcl li, div.cl li, #chapterlist li, ul li:has(div.chbox):has(div.eph-num)';
|
|
69
|
+
const seriesThumbnailSelector = '.infomanga > div[itemprop=image] img, .thumb img';
|
|
70
|
+
const seriesChaptersSelector = 'div.bxcl li, div.cl li, #chapterlist li, ul li:has(div.chbox):has(div.eph-num)';
|
|
85
71
|
|
|
86
72
|
mangaInfo.title = $(seriesTitleSelector).text().trim();
|
|
87
73
|
mangaInfo.altTitles = $(seriesAltNameSelector).text()
|
|
@@ -117,18 +103,12 @@ class FlameScans extends MangaParser {
|
|
|
117
103
|
.split(',')
|
|
118
104
|
.map((item) => item.trim())
|
|
119
105
|
: [];
|
|
120
|
-
mangaInfo.artist = $(seriesArtistSelector).text().trim()
|
|
121
|
-
? $(seriesArtistSelector).text().trim()
|
|
122
|
-
: 'N/A';
|
|
106
|
+
mangaInfo.artist = $(seriesArtistSelector).text().trim() ? $(seriesArtistSelector).text().trim() : 'N/A';
|
|
123
107
|
mangaInfo.chapters = $(seriesChaptersSelector)
|
|
124
108
|
.map(
|
|
125
109
|
(i, el): IMangaChapter => ({
|
|
126
110
|
id: $(el).find('a').attr('href')?.split('/')[3] ?? '',
|
|
127
|
-
title: $(el)
|
|
128
|
-
.find('.lch a, .chapternum')
|
|
129
|
-
.text()
|
|
130
|
-
.trim()
|
|
131
|
-
.replace(/\n/g, ' '),
|
|
111
|
+
title: $(el).find('.lch a, .chapternum').text().trim().replace(/\n/g, ' '),
|
|
132
112
|
releasedDate: $(el).find('.chapterdate').text(),
|
|
133
113
|
})
|
|
134
114
|
)
|
|
@@ -140,15 +120,12 @@ class FlameScans extends MangaParser {
|
|
|
140
120
|
}
|
|
141
121
|
};
|
|
142
122
|
|
|
143
|
-
override fetchChapterPages = async (
|
|
144
|
-
chapterId: string
|
|
145
|
-
): Promise<IMangaChapterPage[]> => {
|
|
123
|
+
override fetchChapterPages = async (chapterId: string): Promise<IMangaChapterPage[]> => {
|
|
146
124
|
try {
|
|
147
125
|
const { data } = await this.client.get(`${this.baseUrl}/${chapterId}`);
|
|
148
126
|
const $ = load(data);
|
|
149
127
|
|
|
150
|
-
const pageSelector =
|
|
151
|
-
'div#readerarea img, #readerarea div.figure_container div.composed_figure';
|
|
128
|
+
const pageSelector = 'div#readerarea img, #readerarea div.figure_container div.composed_figure';
|
|
152
129
|
|
|
153
130
|
const pages = $(pageSelector)
|
|
154
131
|
.map(
|
|
@@ -14,8 +14,7 @@ import { capitalizeFirstLetter, substringBefore } from '../../utils';
|
|
|
14
14
|
class MangaDex extends MangaParser {
|
|
15
15
|
override readonly name = 'MangaDex';
|
|
16
16
|
protected override baseUrl = 'https://mangadex.org';
|
|
17
|
-
protected override logo =
|
|
18
|
-
'https://pbs.twimg.com/profile_images/1391016345714757632/xbt_jW78_400x400.jpg';
|
|
17
|
+
protected override logo = 'https://pbs.twimg.com/profile_images/1391016345714757632/xbt_jW78_400x400.jpg';
|
|
19
18
|
protected override classPath = 'MANGA.MangaDex';
|
|
20
19
|
|
|
21
20
|
private readonly apiUrl = 'https://api.mangadex.org';
|
|
@@ -34,9 +33,7 @@ class MangaDex extends MangaParser {
|
|
|
34
33
|
themes: data.data.attributes.tags
|
|
35
34
|
.filter((tag: any) => tag.attributes.group === 'theme')
|
|
36
35
|
.map((tag: any) => tag.attributes.name.en),
|
|
37
|
-
status: capitalizeFirstLetter(
|
|
38
|
-
data.data.attributes.status
|
|
39
|
-
) as MediaStatus,
|
|
36
|
+
status: capitalizeFirstLetter(data.data.attributes.status) as MediaStatus,
|
|
40
37
|
releaseDate: data.data.attributes.year,
|
|
41
38
|
chapters: [],
|
|
42
39
|
};
|
|
@@ -45,27 +42,21 @@ class MangaDex extends MangaParser {
|
|
|
45
42
|
for (const chapter of allChapters) {
|
|
46
43
|
mangaInfo.chapters?.push({
|
|
47
44
|
id: chapter.id,
|
|
48
|
-
title: chapter.attributes.title
|
|
49
|
-
? chapter.attributes.title
|
|
50
|
-
: chapter.attributes.chapter,
|
|
45
|
+
title: chapter.attributes.title ? chapter.attributes.title : chapter.attributes.chapter,
|
|
51
46
|
chapterNumber: chapter.attributes.chapter,
|
|
52
47
|
volumeNumber: chapter.attributes.volume,
|
|
53
48
|
pages: chapter.attributes.pages,
|
|
54
49
|
});
|
|
55
50
|
}
|
|
56
51
|
|
|
57
|
-
const findCoverArt = data.data.relationships.find(
|
|
58
|
-
(rel: any) => rel.type === 'cover_art'
|
|
59
|
-
);
|
|
52
|
+
const findCoverArt = data.data.relationships.find((rel: any) => rel.type === 'cover_art');
|
|
60
53
|
const coverArt = await this.fetchCoverImage(findCoverArt?.id);
|
|
61
54
|
mangaInfo.image = `${this.baseUrl}/covers/${mangaInfo.id}/${coverArt}`;
|
|
62
55
|
|
|
63
56
|
return mangaInfo;
|
|
64
57
|
} catch (err) {
|
|
65
58
|
if ((err as AxiosError).code === 'ERR_BAD_REQUEST')
|
|
66
|
-
throw new Error(
|
|
67
|
-
`[${this.name}] Bad request. Make sure you have entered a valid query.`
|
|
68
|
-
);
|
|
59
|
+
throw new Error(`[${this.name}] Bad request. Make sure you have entered a valid query.`);
|
|
69
60
|
|
|
70
61
|
throw new Error((err as Error).message);
|
|
71
62
|
}
|
|
@@ -74,13 +65,9 @@ class MangaDex extends MangaParser {
|
|
|
74
65
|
/**
|
|
75
66
|
* @currently only supports english
|
|
76
67
|
*/
|
|
77
|
-
override fetchChapterPages = async (
|
|
78
|
-
chapterId: string
|
|
79
|
-
): Promise<IMangaChapterPage[]> => {
|
|
68
|
+
override fetchChapterPages = async (chapterId: string): Promise<IMangaChapterPage[]> => {
|
|
80
69
|
try {
|
|
81
|
-
const res = await this.client.get(
|
|
82
|
-
`${this.apiUrl}/at-home/server/${chapterId}`
|
|
83
|
-
);
|
|
70
|
+
const res = await this.client.get(`${this.apiUrl}/at-home/server/${chapterId}`);
|
|
84
71
|
const pages: { img: string; page: number }[] = [];
|
|
85
72
|
|
|
86
73
|
for (const id of res.data.chapter.data) {
|
|
@@ -100,11 +87,7 @@ class MangaDex extends MangaParser {
|
|
|
100
87
|
* @param page page number (default: 1)
|
|
101
88
|
* @param limit limit of results to return (default: 20) (max: 100) (min: 1)
|
|
102
89
|
*/
|
|
103
|
-
override search = async (
|
|
104
|
-
query: string,
|
|
105
|
-
page: number = 1,
|
|
106
|
-
limit: number = 20
|
|
107
|
-
): Promise<ISearch<IMangaResult>> => {
|
|
90
|
+
override search = async (query: string, page: number = 1, limit: number = 20): Promise<ISearch<IMangaResult>> => {
|
|
108
91
|
if (page <= 0) throw new Error('Page number must be greater than 0');
|
|
109
92
|
if (limit > 100) throw new Error('Limit must be less than or equal to 100');
|
|
110
93
|
if (limit * (page - 1) >= 10000) throw new Error('not enough results');
|
|
@@ -123,9 +106,7 @@ class MangaDex extends MangaParser {
|
|
|
123
106
|
};
|
|
124
107
|
|
|
125
108
|
for (const manga of res.data.data) {
|
|
126
|
-
const findCoverArt = manga.relationships.find(
|
|
127
|
-
(item: any) => item.type === 'cover_art'
|
|
128
|
-
);
|
|
109
|
+
const findCoverArt = manga.relationships.find((item: any) => item.type === 'cover_art');
|
|
129
110
|
const coverArtId = findCoverArt ? findCoverArt.id : null;
|
|
130
111
|
const coverArt = await this.fetchCoverImage(
|
|
131
112
|
coverArtId === null || coverArtId === void 0 ? void 0 : coverArtId
|
|
@@ -135,9 +116,7 @@ class MangaDex extends MangaParser {
|
|
|
135
116
|
id: manga.id,
|
|
136
117
|
title: Object.values(manga.attributes.title)[0] as string,
|
|
137
118
|
altTitles: manga.attributes.altTitles,
|
|
138
|
-
description: Object.values(
|
|
139
|
-
manga.attributes.description
|
|
140
|
-
)[0] as string,
|
|
119
|
+
description: Object.values(manga.attributes.description)[0] as string,
|
|
141
120
|
status: manga.attributes.status,
|
|
142
121
|
releaseDate: manga.attributes.year,
|
|
143
122
|
contentRating: manga.attributes.contentRating,
|
|
@@ -153,9 +132,7 @@ class MangaDex extends MangaParser {
|
|
|
153
132
|
}
|
|
154
133
|
} catch (err) {
|
|
155
134
|
if ((err as AxiosError).code === 'ERR_BAD_REQUEST') {
|
|
156
|
-
throw new Error(
|
|
157
|
-
'Bad request. Make sure you have entered a valid query.'
|
|
158
|
-
);
|
|
135
|
+
throw new Error('Bad request. Make sure you have entered a valid query.');
|
|
159
136
|
}
|
|
160
137
|
|
|
161
138
|
throw new Error((err as Error).message);
|
|
@@ -170,21 +147,15 @@ class MangaDex extends MangaParser {
|
|
|
170
147
|
currentPage: 1,
|
|
171
148
|
results: [],
|
|
172
149
|
};
|
|
173
|
-
const findCoverArt = res.data.data.relationships.find(
|
|
174
|
-
(item: any) => item.type === 'cover_art'
|
|
175
|
-
);
|
|
150
|
+
const findCoverArt = res.data.data.relationships.find((item: any) => item.type === 'cover_art');
|
|
176
151
|
const coverArtId = findCoverArt ? findCoverArt.id : null;
|
|
177
|
-
const coverArt = await this.fetchCoverImage(
|
|
178
|
-
coverArtId === null || coverArtId === void 0 ? void 0 : coverArtId
|
|
179
|
-
);
|
|
152
|
+
const coverArt = await this.fetchCoverImage(coverArtId === null || coverArtId === void 0 ? void 0 : coverArtId);
|
|
180
153
|
|
|
181
154
|
results.results.push({
|
|
182
155
|
id: res.data.data.id,
|
|
183
156
|
title: Object.values(res.data.data.attributes.title)[0] as string,
|
|
184
157
|
altTitles: res.data.data.attributes.altTitles,
|
|
185
|
-
description: Object.values(
|
|
186
|
-
res.data.data.attributes.description
|
|
187
|
-
)[0] as string,
|
|
158
|
+
description: Object.values(res.data.data.attributes.description)[0] as string,
|
|
188
159
|
status: res.data.data.attributes.status,
|
|
189
160
|
releaseDate: res.data.data.attributes.year,
|
|
190
161
|
contentRating: res.data.data.attributes.contentRating,
|
|
@@ -201,10 +172,7 @@ class MangaDex extends MangaParser {
|
|
|
201
172
|
throw new Error((err as Error).message);
|
|
202
173
|
}
|
|
203
174
|
};
|
|
204
|
-
fetchRecentlyAdded = async (
|
|
205
|
-
page: number = 1,
|
|
206
|
-
limit: number = 20
|
|
207
|
-
): Promise<ISearch<IMangaResult>> => {
|
|
175
|
+
fetchRecentlyAdded = async (page: number = 1, limit: number = 20): Promise<ISearch<IMangaResult>> => {
|
|
208
176
|
if (page <= 0) throw new Error('Page number must be greater than 0');
|
|
209
177
|
if (limit > 100) throw new Error('Limit must be less than or equal to 100');
|
|
210
178
|
if (limit * (page - 1) >= 10000) throw new Error('not enough results');
|
|
@@ -225,9 +193,7 @@ class MangaDex extends MangaParser {
|
|
|
225
193
|
};
|
|
226
194
|
|
|
227
195
|
for (const manga of res.data.data) {
|
|
228
|
-
const findCoverArt = manga.relationships.find(
|
|
229
|
-
(item: any) => item.type === 'cover_art'
|
|
230
|
-
);
|
|
196
|
+
const findCoverArt = manga.relationships.find((item: any) => item.type === 'cover_art');
|
|
231
197
|
const coverArtId = findCoverArt ? findCoverArt.id : null;
|
|
232
198
|
const coverArt = await this.fetchCoverImage(
|
|
233
199
|
coverArtId === null || coverArtId === void 0 ? void 0 : coverArtId
|
|
@@ -236,9 +202,7 @@ class MangaDex extends MangaParser {
|
|
|
236
202
|
id: manga.id,
|
|
237
203
|
title: Object.values(manga.attributes.title)[0] as string,
|
|
238
204
|
altTitles: manga.attributes.altTitles,
|
|
239
|
-
description: Object.values(
|
|
240
|
-
manga.attributes.description
|
|
241
|
-
)[0] as string,
|
|
205
|
+
description: Object.values(manga.attributes.description)[0] as string,
|
|
242
206
|
status: manga.attributes.status,
|
|
243
207
|
releaseDate: manga.attributes.year,
|
|
244
208
|
contentRating: manga.attributes.contentRating,
|
|
@@ -256,10 +220,7 @@ class MangaDex extends MangaParser {
|
|
|
256
220
|
throw new Error((err as Error).message);
|
|
257
221
|
}
|
|
258
222
|
};
|
|
259
|
-
fetchLatestUpdates = async (
|
|
260
|
-
page: number = 1,
|
|
261
|
-
limit: number = 20
|
|
262
|
-
): Promise<ISearch<IMangaResult>> => {
|
|
223
|
+
fetchLatestUpdates = async (page: number = 1, limit: number = 20): Promise<ISearch<IMangaResult>> => {
|
|
263
224
|
if (page <= 0) throw new Error('Page number must be greater than 0');
|
|
264
225
|
if (limit > 100) throw new Error('Limit must be less than or equal to 100');
|
|
265
226
|
if (limit * (page - 1) >= 10000) throw new Error('not enough results');
|
|
@@ -276,9 +237,7 @@ class MangaDex extends MangaParser {
|
|
|
276
237
|
};
|
|
277
238
|
|
|
278
239
|
for (const manga of res.data.data) {
|
|
279
|
-
const findCoverArt = manga.relationships.find(
|
|
280
|
-
(item: any) => item.type === 'cover_art'
|
|
281
|
-
);
|
|
240
|
+
const findCoverArt = manga.relationships.find((item: any) => item.type === 'cover_art');
|
|
282
241
|
const coverArtId = findCoverArt ? findCoverArt.id : null;
|
|
283
242
|
const coverArt = await this.fetchCoverImage(
|
|
284
243
|
coverArtId === null || coverArtId === void 0 ? void 0 : coverArtId
|
|
@@ -288,9 +247,7 @@ class MangaDex extends MangaParser {
|
|
|
288
247
|
id: manga.id,
|
|
289
248
|
title: Object.values(manga.attributes.title)[0] as string,
|
|
290
249
|
altTitles: manga.attributes.altTitles,
|
|
291
|
-
description: Object.values(
|
|
292
|
-
manga.attributes.description
|
|
293
|
-
)[0] as string,
|
|
250
|
+
description: Object.values(manga.attributes.description)[0] as string,
|
|
294
251
|
status: manga.attributes.status,
|
|
295
252
|
releaseDate: manga.attributes.year,
|
|
296
253
|
contentRating: manga.attributes.contentRating,
|
|
@@ -308,10 +265,7 @@ class MangaDex extends MangaParser {
|
|
|
308
265
|
throw new Error((err as Error).message);
|
|
309
266
|
}
|
|
310
267
|
};
|
|
311
|
-
fetchPopular = async (
|
|
312
|
-
page: number = 1,
|
|
313
|
-
limit: number = 20
|
|
314
|
-
): Promise<ISearch<IMangaResult>> => {
|
|
268
|
+
fetchPopular = async (page: number = 1, limit: number = 20): Promise<ISearch<IMangaResult>> => {
|
|
315
269
|
if (page <= 0) throw new Error('Page number must be greater than 0');
|
|
316
270
|
if (limit > 100) throw new Error('Limit must be less than or equal to 100');
|
|
317
271
|
if (limit * (page - 1) >= 10000) throw new Error('not enough results');
|
|
@@ -332,9 +286,7 @@ class MangaDex extends MangaParser {
|
|
|
332
286
|
};
|
|
333
287
|
|
|
334
288
|
for (const manga of res.data.data) {
|
|
335
|
-
const findCoverArt = manga.relationships.find(
|
|
336
|
-
(item: any) => item.type === 'cover_art'
|
|
337
|
-
);
|
|
289
|
+
const findCoverArt = manga.relationships.find((item: any) => item.type === 'cover_art');
|
|
338
290
|
const coverArtId = findCoverArt ? findCoverArt.id : null;
|
|
339
291
|
const coverArt = await this.fetchCoverImage(
|
|
340
292
|
coverArtId === null || coverArtId === void 0 ? void 0 : coverArtId
|
|
@@ -344,9 +296,7 @@ class MangaDex extends MangaParser {
|
|
|
344
296
|
id: manga.id,
|
|
345
297
|
title: Object.values(manga.attributes.title)[0] as string,
|
|
346
298
|
altTitles: manga.attributes.altTitles,
|
|
347
|
-
description: Object.values(
|
|
348
|
-
manga.attributes.description
|
|
349
|
-
)[0] as string,
|
|
299
|
+
description: Object.values(manga.attributes.description)[0] as string,
|
|
350
300
|
status: manga.attributes.status,
|
|
351
301
|
releaseDate: manga.attributes.year,
|
|
352
302
|
contentRating: manga.attributes.contentRating,
|
|
@@ -364,11 +314,7 @@ class MangaDex extends MangaParser {
|
|
|
364
314
|
throw new Error((err as Error).message);
|
|
365
315
|
}
|
|
366
316
|
};
|
|
367
|
-
private fetchAllChapters = async (
|
|
368
|
-
mangaId: string,
|
|
369
|
-
offset: number,
|
|
370
|
-
res?: AxiosResponse<any, any>
|
|
371
|
-
): Promise<any[]> => {
|
|
317
|
+
private fetchAllChapters = async (mangaId: string, offset: number, res?: AxiosResponse<any, any>): Promise<any[]> => {
|
|
372
318
|
if (res?.data?.offset + 96 >= res?.data?.total) {
|
|
373
319
|
return [];
|
|
374
320
|
}
|
|
@@ -377,10 +323,7 @@ class MangaDex extends MangaParser {
|
|
|
377
323
|
`${this.apiUrl}/manga/${mangaId}/feed?offset=${offset}&limit=96&order[volume]=desc&order[chapter]=desc&translatedLanguage[]=en`
|
|
378
324
|
);
|
|
379
325
|
|
|
380
|
-
return [
|
|
381
|
-
...response.data.data,
|
|
382
|
-
...(await this.fetchAllChapters(mangaId, offset + 96, response)),
|
|
383
|
-
];
|
|
326
|
+
return [...response.data.data, ...(await this.fetchAllChapters(mangaId, offset + 96, response))];
|
|
384
327
|
};
|
|
385
328
|
|
|
386
329
|
private fetchCoverImage = async (coverId: string): Promise<string> => {
|
|
@@ -12,8 +12,7 @@ import {
|
|
|
12
12
|
class MangaHere extends MangaParser {
|
|
13
13
|
override readonly name = 'MangaHere';
|
|
14
14
|
protected override baseUrl = 'http://www.mangahere.cc';
|
|
15
|
-
protected override logo =
|
|
16
|
-
'https://i.pinimg.com/564x/51/08/62/51086247ed16ff8abae2df0bb06448e4.jpg';
|
|
15
|
+
protected override logo = 'https://i.pinimg.com/564x/51/08/62/51086247ed16ff8abae2df0bb06448e4.jpg';
|
|
17
16
|
protected override classPath = 'MANGA.MangaHere';
|
|
18
17
|
|
|
19
18
|
override fetchMangaInfo = async (mangaId: string): Promise<IMangaInfo> => {
|
|
@@ -22,14 +21,11 @@ class MangaHere extends MangaParser {
|
|
|
22
21
|
title: '',
|
|
23
22
|
};
|
|
24
23
|
try {
|
|
25
|
-
const { data } = await this.client.get(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
}
|
|
32
|
-
);
|
|
24
|
+
const { data } = await this.client.get(`${this.baseUrl}/manga/${mangaId}`, {
|
|
25
|
+
headers: {
|
|
26
|
+
cookie: 'isAdult=1',
|
|
27
|
+
},
|
|
28
|
+
});
|
|
33
29
|
|
|
34
30
|
const $ = load(data);
|
|
35
31
|
|
|
@@ -51,9 +47,7 @@ class MangaHere extends MangaParser {
|
|
|
51
47
|
mangaInfo.status = MediaStatus.UNKNOWN;
|
|
52
48
|
break;
|
|
53
49
|
}
|
|
54
|
-
mangaInfo.rating = parseFloat(
|
|
55
|
-
$('span.detail-info-right-title-star > span').last().text()
|
|
56
|
-
);
|
|
50
|
+
mangaInfo.rating = parseFloat($('span.detail-info-right-title-star > span').last().text());
|
|
57
51
|
mangaInfo.authors = $('p.detail-info-right-say > a')
|
|
58
52
|
.map((i, el) => $(el).attr('title'))
|
|
59
53
|
.get();
|
|
@@ -71,9 +65,7 @@ class MangaHere extends MangaParser {
|
|
|
71
65
|
}
|
|
72
66
|
};
|
|
73
67
|
|
|
74
|
-
override fetchChapterPages = async (
|
|
75
|
-
chapterId: string
|
|
76
|
-
): Promise<IMangaChapterPage[]> => {
|
|
68
|
+
override fetchChapterPages = async (chapterId: string): Promise<IMangaChapterPage[]> => {
|
|
77
69
|
const chapterPages: IMangaChapterPage[] = [];
|
|
78
70
|
const url = `${this.baseUrl}/manga/${chapterId}/1.html`;
|
|
79
71
|
|
|
@@ -87,8 +79,7 @@ class MangaHere extends MangaParser {
|
|
|
87
79
|
const $ = load(data);
|
|
88
80
|
|
|
89
81
|
const copyrightHandle =
|
|
90
|
-
$('p.detail-block-content').text().match('Dear user') ||
|
|
91
|
-
$('p.detail-block-content').text().match('blocked');
|
|
82
|
+
$('p.detail-block-content').text().match('Dear user') || $('p.detail-block-content').text().match('blocked');
|
|
92
83
|
if (copyrightHandle) {
|
|
93
84
|
throw Error(copyrightHandle.input?.trim());
|
|
94
85
|
}
|
|
@@ -113,17 +104,11 @@ class MangaHere extends MangaParser {
|
|
|
113
104
|
} else {
|
|
114
105
|
let sKey = this.extractKey(html);
|
|
115
106
|
const chapterIdsl = html.indexOf('chapterid');
|
|
116
|
-
const chapterId = html
|
|
117
|
-
.substring(chapterIdsl + 11, html.indexOf(';', chapterIdsl))
|
|
118
|
-
.trim();
|
|
107
|
+
const chapterId = html.substring(chapterIdsl + 11, html.indexOf(';', chapterIdsl)).trim();
|
|
119
108
|
|
|
120
|
-
const chapterPagesElmnt = $(
|
|
121
|
-
'body > div:nth-child(6) > div > span'
|
|
122
|
-
).children('a');
|
|
109
|
+
const chapterPagesElmnt = $('body > div:nth-child(6) > div > span').children('a');
|
|
123
110
|
|
|
124
|
-
const pages = parseInt(
|
|
125
|
-
chapterPagesElmnt.last().prev().attr('data-page') ?? '0'
|
|
126
|
-
);
|
|
111
|
+
const pages = parseInt(chapterPagesElmnt.last().prev().attr('data-page') ?? '0');
|
|
127
112
|
|
|
128
113
|
const pageBase = url.substring(0, url.lastIndexOf('/'));
|
|
129
114
|
|
|
@@ -169,22 +154,16 @@ class MangaHere extends MangaParser {
|
|
|
169
154
|
}
|
|
170
155
|
};
|
|
171
156
|
|
|
172
|
-
override search = async (
|
|
173
|
-
query: string,
|
|
174
|
-
page: number = 1
|
|
175
|
-
): Promise<ISearch<IMangaResult>> => {
|
|
157
|
+
override search = async (query: string, page: number = 1): Promise<ISearch<IMangaResult>> => {
|
|
176
158
|
const searchRes: ISearch<IMangaResult> = {
|
|
177
159
|
currentPage: page,
|
|
178
160
|
results: [],
|
|
179
161
|
};
|
|
180
162
|
try {
|
|
181
|
-
const { data } = await this.client.get(
|
|
182
|
-
`${this.baseUrl}/search?title=${query}&page=${page}`
|
|
183
|
-
);
|
|
163
|
+
const { data } = await this.client.get(`${this.baseUrl}/search?title=${query}&page=${page}`);
|
|
184
164
|
const $ = load(data);
|
|
185
165
|
|
|
186
|
-
searchRes.hasNextPage =
|
|
187
|
-
$('div.pager-list-left > a.active').next().text() !== '>';
|
|
166
|
+
searchRes.hasNextPage = $('div.pager-list-left > a.active').next().text() !== '>';
|
|
188
167
|
|
|
189
168
|
searchRes.results = $('div.container > div > div > ul > li')
|
|
190
169
|
.map(
|
|
@@ -195,11 +174,9 @@ class MangaHere extends MangaParser {
|
|
|
195
174
|
image: $(el).find('a > img').attr('src'),
|
|
196
175
|
description: $(el).find('p').last().text(),
|
|
197
176
|
status:
|
|
198
|
-
$(el).find('p.manga-list-4-show-tag-list-2 > a').text() ===
|
|
199
|
-
'Ongoing'
|
|
177
|
+
$(el).find('p.manga-list-4-show-tag-list-2 > a').text() === 'Ongoing'
|
|
200
178
|
? MediaStatus.ONGOING
|
|
201
|
-
: $(el).find('p.manga-list-4-show-tag-list-2 > a').text() ===
|
|
202
|
-
'Completed'
|
|
179
|
+
: $(el).find('p.manga-list-4-show-tag-list-2 > a').text() === 'Completed'
|
|
203
180
|
? MediaStatus.COMPLETED
|
|
204
181
|
: MediaStatus.UNKNOWN,
|
|
205
182
|
})
|
|
@@ -22,21 +22,14 @@ class MangaHost extends MangaParser {
|
|
|
22
22
|
title: '',
|
|
23
23
|
};
|
|
24
24
|
try {
|
|
25
|
-
const { data } = await this.client.get(
|
|
26
|
-
`${this.baseUrl}/manga/${mangaId}`
|
|
27
|
-
);
|
|
25
|
+
const { data } = await this.client.get(`${this.baseUrl}/manga/${mangaId}`);
|
|
28
26
|
const $ = load(data);
|
|
29
27
|
|
|
30
28
|
mangaInfo.title = $('article.ejeCg > h1.title').text();
|
|
31
29
|
mangaInfo.altTitles = $('article.ejeCg > h3.subtitle').text();
|
|
32
|
-
mangaInfo.description = $('div.text > div.paragraph > p')
|
|
33
|
-
.text()
|
|
34
|
-
.replace(/\n/g, '')
|
|
35
|
-
.trim();
|
|
30
|
+
mangaInfo.description = $('div.text > div.paragraph > p').text().replace(/\n/g, '').trim();
|
|
36
31
|
mangaInfo.headerForImage = { Referer: this.baseUrl };
|
|
37
|
-
mangaInfo.image = $('div.widget:nth-child(1) > picture > img').attr(
|
|
38
|
-
'src'
|
|
39
|
-
);
|
|
32
|
+
mangaInfo.image = $('div.widget:nth-child(1) > picture > img').attr('src');
|
|
40
33
|
mangaInfo.genres = $('article.ejeCg:nth-child(1) > div.tags > a.tag ')
|
|
41
34
|
.map((i, el) => $(el).text())
|
|
42
35
|
.get();
|
|
@@ -52,11 +45,7 @@ class MangaHost extends MangaParser {
|
|
|
52
45
|
mangaInfo.status = MediaStatus.UNKNOWN;
|
|
53
46
|
}
|
|
54
47
|
mangaInfo.views = parseInt(
|
|
55
|
-
$('div.classificacao-box-1 > div.text-block-3')
|
|
56
|
-
.text()
|
|
57
|
-
.replace(' views', '')
|
|
58
|
-
.replace(/,/g, '')
|
|
59
|
-
.trim()
|
|
48
|
+
$('div.classificacao-box-1 > div.text-block-3').text().replace(' views', '').replace(/,/g, '').trim()
|
|
60
49
|
);
|
|
61
50
|
mangaInfo.authors = $(
|
|
62
51
|
'div.w-col.w-col-6:nth-child(1) > ul.w-list-unstyled:nth-child(1) > li:nth-child(3) > div:nth-child(1)'
|
|
@@ -86,18 +75,13 @@ class MangaHost extends MangaParser {
|
|
|
86
75
|
}
|
|
87
76
|
};
|
|
88
77
|
|
|
89
|
-
override fetchChapterPages = async (
|
|
90
|
-
mangaId: string,
|
|
91
|
-
chapterId: string
|
|
92
|
-
): Promise<IMangaChapterPage[]> => {
|
|
78
|
+
override fetchChapterPages = async (mangaId: string, chapterId: string): Promise<IMangaChapterPage[]> => {
|
|
93
79
|
try {
|
|
94
80
|
const url = `${this.baseUrl}/manga/${mangaId}/${chapterId}`;
|
|
95
81
|
const { data } = await this.client.get(url);
|
|
96
82
|
const $ = load(data);
|
|
97
83
|
|
|
98
|
-
const pages = $(
|
|
99
|
-
'section#imageWrapper > div > div.read-slideshow > a > img'
|
|
100
|
-
)
|
|
84
|
+
const pages = $('section#imageWrapper > div > div.read-slideshow > a > img')
|
|
101
85
|
.map(
|
|
102
86
|
(i, el): IMangaChapterPage => ({
|
|
103
87
|
img: $(el).attr('src')!,
|
|
@@ -120,9 +104,7 @@ class MangaHost extends MangaParser {
|
|
|
120
104
|
*/
|
|
121
105
|
override search = async (query: string): Promise<ISearch<IMangaResult>> => {
|
|
122
106
|
try {
|
|
123
|
-
const { data } = await this.client.get(
|
|
124
|
-
`${this.baseUrl}/find/${query.replace(/ /g, '+')}`
|
|
125
|
-
);
|
|
107
|
+
const { data } = await this.client.get(`${this.baseUrl}/find/${query.replace(/ /g, '+')}`);
|
|
126
108
|
const $ = load(data);
|
|
127
109
|
|
|
128
110
|
const results = $('body > div.w-container > main > table > tbody > tr')
|
|
@@ -130,9 +112,7 @@ class MangaHost extends MangaParser {
|
|
|
130
112
|
(i, row): IMangaResult => ({
|
|
131
113
|
id: $(row).find('td > a.pull-left').attr('href')?.split('/')[4]!,
|
|
132
114
|
title: $(row).find('td > h4.entry-title > a').text(),
|
|
133
|
-
image: $(row)
|
|
134
|
-
.find('td > a.pull-left > picture > img.manga')
|
|
135
|
-
.attr('src'),
|
|
115
|
+
image: $(row).find('td > a.pull-left > picture > img.manga').attr('src'),
|
|
136
116
|
headerForImage: { Referer: this.baseUrl },
|
|
137
117
|
})
|
|
138
118
|
)
|