From 649f77c55996b956094b9f7bf1104f901ada694c Mon Sep 17 00:00:00 2001 From: Durgesh Kumar Dwivedi Date: Sun, 22 Dec 2024 20:42:14 +0530 Subject: [PATCH] feat(multimovies): add new movie provider for Indian languages support in movies/anime --- .../megacloud/megacloud.decodedpng.d.ts | 2 +- dist/extractors/vidhide.js | 4 +- dist/extractors/vidhide.js.map | 2 +- dist/providers/anime/anix.js.map | 2 +- dist/providers/meta/tmdb.js | 41 +- dist/providers/meta/tmdb.js.map | 2 +- dist/providers/movies/dramacool.js | 16 +- dist/providers/movies/dramacool.js.map | 2 +- dist/providers/movies/index.d.ts | 2 + dist/providers/movies/index.js | 2 + dist/providers/movies/index.js.map | 2 +- dist/providers/movies/multimovies.d.ts | 34 ++ dist/providers/movies/multimovies.js | 357 ++++++++++++++++ dist/providers/movies/multimovies.js.map | 1 + dist/utils/utils.d.ts | 2 +- docs/providers/multimovies.md | 278 +++++++++++++ src/extractors/vidhide.ts | 2 +- src/providers/meta/tmdb.ts | 7 + src/providers/movies/dramacool.ts | 16 +- src/providers/movies/index.ts | 2 + src/providers/movies/multimovies.ts | 384 ++++++++++++++++++ test/movies/multimovies.test.ts | 53 +++ 22 files changed, 1176 insertions(+), 37 deletions(-) create mode 100644 dist/providers/movies/multimovies.d.ts create mode 100644 dist/providers/movies/multimovies.js create mode 100644 dist/providers/movies/multimovies.js.map create mode 100644 docs/providers/multimovies.md create mode 100644 src/providers/movies/multimovies.ts create mode 100644 test/movies/multimovies.test.ts diff --git a/dist/extractors/megacloud/megacloud.decodedpng.d.ts b/dist/extractors/megacloud/megacloud.decodedpng.d.ts index 522f29a23..fd3dd0eb0 100644 --- a/dist/extractors/megacloud/megacloud.decodedpng.d.ts +++ b/dist/extractors/megacloud/megacloud.decodedpng.d.ts @@ -1 +1 @@ -export declare const decoded_png: Uint8ClampedArray; +export declare const decoded_png: Uint8ClampedArray; diff --git a/dist/extractors/vidhide.js b/dist/extractors/vidhide.js index d631fc7a3..5b07a1a18 100644 --- a/dist/extractors/vidhide.js +++ b/dist/extractors/vidhide.js @@ -7,7 +7,7 @@ class VidHide extends models_1.VideoExtractor { this.serverName = 'VidHide'; this.sources = []; this.extract = async (videoUrl) => { - var _a; + var _a, _b; try { const result = { sources: [], @@ -36,7 +36,7 @@ class VidHide extends models_1.VideoExtractor { if (!video.includes('m3u8')) continue; const url = video.split('\n')[1]; - const quality = video.split('RESOLUTION=')[1].split(',')[0].split('x')[1]; + const quality = (_b = video.split('RESOLUTION=')[1]) === null || _b === void 0 ? void 0 : _b.split(',')[0].split('x')[1]; result.sources.push({ url: `${pathWithoutMaster}/${url}`, quality: `${quality}p`, diff --git a/dist/extractors/vidhide.js.map b/dist/extractors/vidhide.js.map index 301632b04..ab87ae65a 100644 --- a/dist/extractors/vidhide.js.map +++ b/dist/extractors/vidhide.js.map @@ -1 +1 @@ -{"version":3,"file":"vidhide.js","sourceRoot":"","sources":["../../src/extractors/vidhide.ts"],"names":[],"mappings":";;AAAA,sCAA8D;AAE9D,MAAM,OAAQ,SAAQ,uBAAc;IAApC;;QACqB,eAAU,GAAG,SAAS,CAAC;QACvB,YAAO,GAAa,EAAE,CAAC;QAEjC,YAAO,GAAG,KAAK,EAAE,QAAa,EAAqB,EAAE;;YAC5D,IAAI,CAAC;gBACH,MAAM,MAAM,GAAkD;oBAC5D,OAAO,EAAE,EAAE;oBACX,SAAS,EAAE,EAAE;iBACd,CAAC;gBAEF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE;oBAC/D,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;gBACrC,CAAC,CAAC,CAAC;gBAEH,MAAM,YAAY,GAAG,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAA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;oBACL,CAAC;gBACH,CAAC;gBAED,OAAO,MAAM,CAAC,OAAO,CAAC;YACxB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;YAC1C,CAAC;QACH,CAAC,CAAC;IACJ,CAAC;CAAA;AACD,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/providers/anime/anix.js.map b/dist/providers/anime/anix.js.map index 572f474a5..fe3fa3288 100644 --- a/dist/providers/anime/anix.js.map +++ b/dist/providers/anime/anix.js.map @@ -1 +1 @@ -{"version":3,"file":"anix.js","sourceRoot":"","sources":["../../../src/providers/anime/anix.ts"],"names":[],"mappings":";;AAAA,qCAAwC;AAExC,yCAWsB;AACtB,iDAAyD;AAGzD,MAAM,IAAK,SAAQ,oBAAW;IAsB5B,YAAY,aAAsB,EAAE,KAAmB,EAAE,OAAsB;QAC7E,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAtBN,SAAI,GAAG,MAAM,CAAC;QACb,YAAO,GAAG,iBAAiB,CAAC;QAC5B,SAAI,GAAG,8BAA8B,CAAC;QACtC,cAAS,GAAG,YAAY,CAAC;QAC3B,kBAAa,GAAG;YAC/B,KAAK,EAAE,CAAC;YACR,EAAE,EAAE,CAAC;YACL,GAAG,EAAE,CAAC;YACN,OAAO,EAAE,CAAC;YACV,GAAG,EAAE,CAAC;YACN,UAAU,EAAE,CAAC;SACd,CAAC;QACe,gBAAW,GAAG;YAC7B,KAAK,EAAE,6DAA6D;YACpE,OAAO,EAAE,aAAa;YACtB,GAAG,EAAE,gBAAgB;YACrB,GAAG,EAAE,gBAAgB;SACtB,CAAC;QACe,gBAAW,GAAG,WAAW,IAAI,CAAC,aAAa,CAAC,KAAK,WAAW,IAAI,CAAC,aAAa,CAAC,EAAE,WAAW,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,IAAI,CA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,CAAC,CAAC;oBACxB,CAAC;yBAAM,IAAI,QAAQ,KAAK,KAAK,EAAE,CAAC;wBAC9B,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBACvB,CAAC;gBACH,CAAC,CAAC,CAAC;YACP,CAAC,CAAC,CAAC;YAEH,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;YAC5C,CAAC;YAED,gDAAgD;YAChD,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE,CAAC;gBACjC,OAAO,IAAI,CAAC;YACd,CAAC;iBAAM,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE,CAAC;gBACxC,OAAO,IAAI,CAAC;YACd,CAAC;iBAAM,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,KAAK,EAAE,CAAC;gBACxC,OAAO,GAAG,CAAC;YACb,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;YACzC,CAAC;QACH,CAAC,CAAC;QAlcA,IAAI,CAAC,OAAO,GAAG,aAAa;YAC1B,CAAC,CAAC,aAAa,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,aAAa,CAAC,UAAU,CAAC,UAAU,CAAC;gBAC3E,CAAC,CAAC,aAAa;gBACf,CAAC,CAAC,UAAU,aAAa,EAAE;YAC7B,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;IACnB,CAAC;CA8bF;AAED,kBAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/dist/providers/meta/tmdb.js b/dist/providers/meta/tmdb.js index 97b0b448a..6e2555910 100644 --- a/dist/providers/meta/tmdb.js +++ b/dist/providers/meta/tmdb.js @@ -126,7 +126,7 @@ class TMDB extends models_1.MovieParser { * @param type movie or tv */ this.fetchMediaInfo = async (mediaId, type) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2; + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3; type = type.toLowerCase() === 'movie' ? 'movie' : 'tv'; const infoUrl = `${this.apiUrl}/${type}/${mediaId}?api_key=${this.apiKey}&language=en-US&append_to_response=release_dates,watch/providers,alternative_titles,credits,external_ids,images,keywords,recommendations,reviews,similar,translations,videos&include_image_language=en`; const info = { @@ -177,19 +177,26 @@ class TMDB extends models_1.MovieParser { info.directors = (_d = data === null || data === void 0 ? void 0 : data.credits) === null || _d === void 0 ? void 0 : _d.crew.filter((crew) => crew.job === 'Director').map((crew) => crew.name); info.writers = (_e = data === null || data === void 0 ? void 0 : data.credits) === null || _e === void 0 ? void 0 : _e.crew.filter((crew) => crew.job === 'Screenplay').map((crew) => crew.name); info.actors = (_f = data === null || data === void 0 ? void 0 : data.credits) === null || _f === void 0 ? void 0 : _f.cast.map((cast) => cast.name); + info.characters = (_g = data === null || data === void 0 ? void 0 : data.credits) === null || _g === void 0 ? void 0 : _g.cast.map((cast) => ({ + id: cast.id, + name: cast.name, + url: `https://www.themoviedb.org/person/${cast.id}`, + character: cast.character, + image: `https://image.tmdb.org/t/p/original${cast.profile_path}`, + })); info.trailer = { - id: (_h = (_g = data === null || data === void 0 ? void 0 : data.videos) === null || _g === void 0 ? void 0 : _g.results[0]) === null || _h === void 0 ? void 0 : _h.key, - site: (_k = (_j = data === null || data === void 0 ? void 0 : data.videos) === null || _j === void 0 ? void 0 : _j.results[0]) === null || _k === void 0 ? void 0 : _k.site, - url: `https://www.youtube.com/watch?v=${(_m = (_l = data === null || data === void 0 ? void 0 : data.videos) === null || _l === void 0 ? void 0 : _l.results[0]) === null || _m === void 0 ? void 0 : _m.key}`, + id: (_j = (_h = data === null || data === void 0 ? void 0 : data.videos) === null || _h === void 0 ? void 0 : _h.results[0]) === null || _j === void 0 ? void 0 : _j.key, + site: (_l = (_k = data === null || data === void 0 ? void 0 : data.videos) === null || _k === void 0 ? void 0 : _k.results[0]) === null || _l === void 0 ? void 0 : _l.site, + url: `https://www.youtube.com/watch?v=${(_o = (_m = data === null || data === void 0 ? void 0 : data.videos) === null || _m === void 0 ? void 0 : _m.results[0]) === null || _o === void 0 ? void 0 : _o.key}`, }; info.mappings = { - imdb: ((_o = data === null || data === void 0 ? void 0 : data.external_ids) === null || _o === void 0 ? void 0 : _o.imdb_id) || undefined, + imdb: ((_p = data === null || data === void 0 ? void 0 : data.external_ids) === null || _p === void 0 ? void 0 : _p.imdb_id) || undefined, tmdb: (data === null || data === void 0 ? void 0 : data.id) || undefined, }; info.similar = - ((_q = (_p = data === null || data === void 0 ? void 0 : data.similar) === null || _p === void 0 ? void 0 : _p.results) === null || _q === void 0 ? void 0 : _q.length) <= 0 + ((_r = (_q = data === null || data === void 0 ? void 0 : data.similar) === null || _q === void 0 ? void 0 : _q.results) === null || _r === void 0 ? void 0 : _r.length) <= 0 ? undefined - : (_r = data === null || data === void 0 ? void 0 : data.similar) === null || _r === void 0 ? void 0 : _r.results.map((result) => { + : (_s = data === null || data === void 0 ? void 0 : data.similar) === null || _s === void 0 ? void 0 : _s.results.map((result) => { return { id: result.id, title: result.title || result.name, @@ -200,9 +207,9 @@ class TMDB extends models_1.MovieParser { }; }); info.recommendations = - ((_t = (_s = data === null || data === void 0 ? void 0 : data.recommendations) === null || _s === void 0 ? void 0 : _s.results) === null || _t === void 0 ? void 0 : _t.length) <= 0 + ((_u = (_t = data === null || data === void 0 ? void 0 : data.recommendations) === null || _t === void 0 ? void 0 : _t.results) === null || _u === void 0 ? void 0 : _u.length) <= 0 ? undefined - : (_u = data === null || data === void 0 ? void 0 : data.recommendations) === null || _u === void 0 ? void 0 : _u.results.map((result) => { + : (_v = data === null || data === void 0 ? void 0 : data.recommendations) === null || _v === void 0 ? void 0 : _v.results.map((result) => { return { id: result.id, title: result.title || result.name, @@ -222,19 +229,19 @@ class TMDB extends models_1.MovieParser { return info; info.nextAiringEpisode = (data === null || data === void 0 ? void 0 : data.next_episode_to_air) ? { - season: ((_v = data.next_episode_to_air) === null || _v === void 0 ? void 0 : _v.season_number) || undefined, - episode: ((_w = data.next_episode_to_air) === null || _w === void 0 ? void 0 : _w.episode_number) || undefined, - releaseDate: ((_x = data.next_episode_to_air) === null || _x === void 0 ? void 0 : _x.air_date) || undefined, - title: ((_y = data.next_episode_to_air) === null || _y === void 0 ? void 0 : _y.name) || undefined, - description: ((_z = data.next_episode_to_air) === null || _z === void 0 ? void 0 : _z.overview) || undefined, - runtime: ((_0 = data.next_episode_to_air) === null || _0 === void 0 ? void 0 : _0.runtime) || undefined, + season: ((_w = data.next_episode_to_air) === null || _w === void 0 ? void 0 : _w.season_number) || undefined, + episode: ((_x = data.next_episode_to_air) === null || _x === void 0 ? void 0 : _x.episode_number) || undefined, + releaseDate: ((_y = data.next_episode_to_air) === null || _y === void 0 ? void 0 : _y.air_date) || undefined, + title: ((_z = data.next_episode_to_air) === null || _z === void 0 ? void 0 : _z.name) || undefined, + description: ((_0 = data.next_episode_to_air) === null || _0 === void 0 ? void 0 : _0.overview) || undefined, + runtime: ((_1 = data.next_episode_to_air) === null || _1 === void 0 ? void 0 : _1.runtime) || undefined, } : undefined; for (let i = 1; i <= totalSeasons; i++) { const { data: seasonData } = await this.client.get(seasonUrl(i.toString())); //find season in each episode (providerEpisodes) const seasonEpisodes = providerEpisodes === null || providerEpisodes === void 0 ? void 0 : providerEpisodes.filter(episode => episode.season === i); - const episodes = ((_1 = seasonData === null || seasonData === void 0 ? void 0 : seasonData.episodes) === null || _1 === void 0 ? void 0 : _1.length) <= 0 + const episodes = ((_2 = seasonData === null || seasonData === void 0 ? void 0 : seasonData.episodes) === null || _2 === void 0 ? void 0 : _2.length) <= 0 ? undefined : seasonData === null || seasonData === void 0 ? void 0 : seasonData.episodes.map((episode) => { //find episode in each season (seasonEpisodes) @@ -264,7 +271,7 @@ class TMDB extends models_1.MovieParser { hd: `https://image.tmdb.org/t/p/w780${seasonData.poster_path}`, }, episodes, - isReleased: ((_2 = seasonData === null || seasonData === void 0 ? void 0 : seasonData.episodes[0]) === null || _2 === void 0 ? void 0 : _2.air_date) > new Date().toISOString() ? false : true, + isReleased: ((_3 = seasonData === null || seasonData === void 0 ? void 0 : seasonData.episodes[0]) === null || _3 === void 0 ? void 0 : _3.air_date) > new Date().toISOString() ? false : true, }); } } diff --git a/dist/providers/meta/tmdb.js.map b/dist/providers/meta/tmdb.js.map index 96c30d3e0..4d83870cd 100644 --- a/dist/providers/meta/tmdb.js.map +++ b/dist/providers/meta/tmdb.js.map @@ -1 +1 @@ -{"version":3,"file":"tmdb.js","sourceRoot":"","sources":["../../../src/providers/meta/tmdb.ts"],"names":[],"mappings":";;;;;AAAA,yCAYsB;AAEtB,uCAAgD;AAChD,8DAAsC;AAGtC,MAAM,IAAK,SAAQ,oBAAW;IAU5B,YACU,SAAiB,kCAAkC,EAC3D,QAAsB,EACtB,WAAyB,EACzB,OAAsB;QAEtB,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QALpB,WAAM,GAAN,MAAM,CAA6C;QAV3C,SAAI,GAAG,MAAM,CAAC;QACb,YAAO,GAAG,4BAA4B,CAAC;QAChD,WAAM,GAAG,8BAA8B,CAAC;QAC/B,SAAI,GAAG,+EAA+E,CAAC;QACvF,cAAS,GAAG,WAAW,CAAC;QAClC,mBAAc,GAAG,IAAI,GAAG,CAAC,CAAC,eAAM,CAAC,KAAK,EAAE,eAAM,CAAC,QAAQ,EAAE,eAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAcjF;;;;WAIG;QACH,kBAAa,GAAG,KAAK,EACnB,IAAoB,EACpB,aAA6B,KAAK,EAClC,OAAe,CAAC,EAC+C,EAAE;YACjE,MAAM,WAAW,GAAG,GAAG,IAAI,CAAC,MAAM,aAChC,IAAI,CAAC,WAAW,EAAE,KAA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;AAER,kBAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/dramacool.js b/dist/providers/movies/dramacool.js index 48ff9d345..310e60aa1 100644 --- a/dist/providers/movies/dramacool.js +++ b/dist/providers/movies/dramacool.js @@ -143,23 +143,28 @@ class DramaCool extends models_1.MovieParser { switch (server) { case models_1.StreamingServers.AsianLoad: return { + headers: { Referer: serverUrl.origin }, ...(await new extractors_1.AsianLoad(this.proxyConfig, this.adapter).extract(serverUrl)), download: this.downloadLink(episodeId), }; case models_1.StreamingServers.MixDrop: return { + headers: { Referer: serverUrl.origin }, sources: await new extractors_1.MixDrop(this.proxyConfig, this.adapter).extract(serverUrl), }; case models_1.StreamingServers.StreamTape: return { + headers: { Referer: serverUrl.origin }, sources: await new extractors_1.StreamTape(this.proxyConfig, this.adapter).extract(serverUrl), }; case models_1.StreamingServers.StreamSB: return { + headers: { Referer: serverUrl.origin }, sources: await new extractors_1.StreamSB(this.proxyConfig, this.adapter).extract(serverUrl), }; case models_1.StreamingServers.StreamWish: return { + headers: { Referer: serverUrl.origin }, ...(await new extractors_1.StreamWish(this.proxyConfig, this.adapter).extract(serverUrl)), }; default: @@ -301,10 +306,11 @@ class DramaCool extends models_1.MovieParser { } } //testing fetchPopular via iife -// (async () => { -// const dramaCool = new DramaCool(); -// const l=await dramaCool.fetchSpotlight(); -// console.log(l); -// })(); +(async () => { + const dramaCool = new DramaCool(); + // const l=await dramaCool.fetchSpotlight(); + const l = await dramaCool.fetchEpisodeSources('vincenzo-2021-episode-1'); + console.log(l); +})(); exports.default = DramaCool; //# sourceMappingURL=dramacool.js.map \ No newline at end of file diff --git a/dist/providers/movies/dramacool.js.map b/dist/providers/movies/dramacool.js.map index 2c678eb6f..d8a33aaa2 100644 --- a/dist/providers/movies/dramacool.js.map +++ b/dist/providers/movies/dramacool.js.map @@ -1 +1 @@ -{"version":3,"file":"dramacool.js","sourceRoot":"","sources":["../../../src/providers/movies/dramacool.ts"],"names":[],"mappings":";;AAAA,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AC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;oBAAE,OAAO,CAAC,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;qBACpF,IAAI,OAAO,CAAC,WAAW;oBAAE,OAAO,CAAC,UAAU,GAAG,IAAI,GAAG,CAAC,CAAC;YAC9D,CAAC;iBAAM,IAAI,OAAO,CAAC,WAAW;gBAAE,OAAO,CAAC,UAAU,GAAG,IAAI,GAAG,CAAC,CAAC;YAE9D,OAAO,OAAO,CAAC;QACjB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;CAiBF;AACD,+BAA+B;AAC/B,CAAC,KAAK,IAAI,EAAE;IACV,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;IAClC,4CAA4C;IAC5C,MAAM,CAAC,GAAG,MAAM,SAAS,CAAC,mBAAmB,CAAC,yBAAyB,CAAC,CAAC;IACzE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACjB,CAAC,CAAC,EAAE,CAAC;AAEL,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/index.d.ts b/dist/providers/movies/index.d.ts index b679eb732..75639cd71 100644 --- a/dist/providers/movies/index.d.ts +++ b/dist/providers/movies/index.d.ts @@ -8,6 +8,7 @@ import SmashyStream from './smashystream'; import Turkish from './turkish123'; import ViewAsian from './viewAsian'; import SFlix from './sflix'; +import MultiMovies from './multimovies'; declare const _default: { DramaCool: typeof DramaCool; FlixHQ: typeof FlixHQ; @@ -19,5 +20,6 @@ declare const _default: { ViewAsian: typeof ViewAsian; Turkish: typeof Turkish; SFlix: typeof SFlix; + MultiMovies: typeof MultiMovies; }; export default _default; diff --git a/dist/providers/movies/index.js b/dist/providers/movies/index.js index d1cd61eb8..6643074f2 100644 --- a/dist/providers/movies/index.js +++ b/dist/providers/movies/index.js @@ -13,6 +13,7 @@ const smashystream_1 = __importDefault(require("./smashystream")); const turkish123_1 = __importDefault(require("./turkish123")); const viewAsian_1 = __importDefault(require("./viewAsian")); const sflix_1 = __importDefault(require("./sflix")); +const multimovies_1 = __importDefault(require("./multimovies")); exports.default = { DramaCool: dramacool_1.default, FlixHQ: flixhq_1.default, @@ -24,5 +25,6 @@ exports.default = { ViewAsian: viewAsian_1.default, Turkish: turkish123_1.default, SFlix: sflix_1.default, + MultiMovies: multimovies_1.default, }; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/providers/movies/index.js.map b/dist/providers/movies/index.js.map index 96d902cfa..30e55f230 100644 --- a/dist/providers/movies/index.js.map +++ b/dist/providers/movies/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/movies/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAoC;AACpC,sDAA8B;AAC9B,wDAAgC;AAChC,kDAA0B;AAC1B,4DAAoC;AACpC,kEAA0C;AAC1C,kEAA0C;AAC1C,8DAAmC;AACnC,4DAAoC;AACpC,oDAA4B;AAE5B,kBAAe;IACb,SAAS,EAAT,mBAAS;IACT,MAAM,EAAN,gBAAM;IACN,OAAO,EAAP,iBAAO;IACP,IAAI,EAAJ,cAAI;IACJ,SAAS,EAAT,mBAAS;IACT,YAAY,EAAZ,sBAAY;IACZ,YAAY,EAAZ,sBAAY;IACZ,SAAS,EAAT,mBAAS;IACT,OAAO,EAAP,oBAAO;IACP,KAAK,EAAL,eAAK;CACN,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/movies/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAoC;AACpC,sDAA8B;AAC9B,wDAAgC;AAChC,kDAA0B;AAC1B,4DAAoC;AACpC,kEAA0C;AAC1C,kEAA0C;AAC1C,8DAAmC;AACnC,4DAAoC;AACpC,oDAA4B;AAC5B,gEAAwC;AAExC,kBAAe;IACb,SAAS,EAAT,mBAAS;IACT,MAAM,EAAN,gBAAM;IACN,OAAO,EAAP,iBAAO;IACP,IAAI,EAAJ,cAAI;IACJ,SAAS,EAAT,mBAAS;IACT,YAAY,EAAZ,sBAAY;IACZ,YAAY,EAAZ,sBAAY;IACZ,SAAS,EAAT,mBAAS;IACT,OAAO,EAAP,oBAAO;IACP,KAAK,EAAL,eAAK;IACL,WAAW,EAAX,qBAAW;CACZ,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/multimovies.d.ts b/dist/providers/movies/multimovies.d.ts new file mode 100644 index 000000000..9d9a25a88 --- /dev/null +++ b/dist/providers/movies/multimovies.d.ts @@ -0,0 +1,34 @@ +import { MovieParser, TvType, IMovieInfo, IEpisodeServer, StreamingServers, ISource, IMovieResult, ISearch } from '../../models'; +declare class MultiMovies extends MovieParser { + readonly name = "MultiMovies"; + protected baseUrl: string; + protected logo: string; + protected classPath: string; + supportedTypes: Set; + /** + * + * @param query search query string + * @param page page number (default 1) (optional) + */ + search: (query: string, page?: number) => Promise>; + /** + * + * @param mediaId media link or id + */ + fetchMediaInfo: (mediaId: string) => Promise; + /** + * + * @param episodeId episode id + * @param server server type (default `StreamWish`) (optional) + */ + fetchEpisodeSources: (episodeId: string, server?: StreamingServers, fileId?: string) => Promise; + /** + * + * @param episodeId takes episode link or movie id + */ + fetchEpisodeServers: (episodeId: string) => Promise; + fetchPopular: (page?: number) => Promise>; + fetchByGenre: (genre: string, page?: number) => Promise>; + private getServer; +} +export default MultiMovies; diff --git a/dist/providers/movies/multimovies.js b/dist/providers/movies/multimovies.js new file mode 100644 index 000000000..906e85f51 --- /dev/null +++ b/dist/providers/movies/multimovies.js @@ -0,0 +1,357 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const cheerio_1 = require("cheerio"); +const models_1 = require("../../models"); +const extractors_1 = require("../../extractors"); +class MultiMovies extends models_1.MovieParser { + constructor() { + super(...arguments); + this.name = 'MultiMovies'; + this.baseUrl = 'https://multimovies.lat'; + this.logo = 'https://multimovies.lat/wp-content/uploads/2024/01/cropped-CompressJPEG.online_512x512_image.png'; + this.classPath = 'MOVIES.MultiMovies'; + this.supportedTypes = new Set([models_1.TvType.MOVIE, models_1.TvType.TVSERIES]); + /** + * + * @param query search query string + * @param page page number (default 1) (optional) + */ + this.search = async (query, page = 1) => { + const searchResult = { + currentPage: page, + hasNextPage: false, + results: [], + }; + try { + let url; + if (page === 1) { + url = `${this.baseUrl}/?s=${query.replace(/[\W_]+/g, '+')}`; + } + else { + url = `${this.baseUrl}/page/${page}/?s=${query.replace(/[\W_]+/g, '+')}`; + } + const { data } = await this.client.get(url); + const $ = (0, cheerio_1.load)(data); + const navSelector = 'div.pagination'; + searchResult.hasNextPage = $(navSelector).find('#nextpagination').length > 0; + $('.search-page .result-item article').each((i, el) => { + var _a, _b, _c, _d, _e, _f; + searchResult.results.push({ + id: (_c = (_b = (_a = $(el).find('.thumbnail a').attr('href')) === null || _a === void 0 ? void 0 : _a.split(this.baseUrl)[1]) === null || _b === void 0 ? void 0 : _b.replace('/', '')) !== null && _c !== void 0 ? _c : '', + title: $(el).find('.details .title a').text().trim(), + url: (_d = $(el).find('.thumbnail a').attr('href')) !== null && _d !== void 0 ? _d : '', + image: (_e = $(el).find('.thumbnail img').attr('src')) !== null && _e !== void 0 ? _e : '', + rating: parseFloat($(el).find('.meta .rating').text().replace('IMDb ', '')) || 0, + releaseDate: $(el).find('.meta .year').text().trim(), + description: $(el).find('.contenido p').text().trim(), + type: ((_f = $(el).find('.thumbnail a').attr('href')) === null || _f === void 0 ? void 0 : _f.includes('/movies/')) + ? models_1.TvType.MOVIE + : models_1.TvType.TVSERIES, + }); + }); + return searchResult; + } + catch (err) { + throw new Error(err.message); + } + }; + /** + * + * @param mediaId media link or id + */ + this.fetchMediaInfo = async (mediaId) => { + var _a, _b, _c, _d; + if (!mediaId.startsWith(this.baseUrl)) { + mediaId = `${this.baseUrl}/${mediaId}`; + } + const movieInfo = { + id: mediaId.split(`${this.baseUrl}/`)[1], + title: '', + url: mediaId, + }; + try { + const { data } = await this.client.get(mediaId); + const $ = (0, cheerio_1.load)(data); + const recommendationsArray = []; + $('div#single_relacionados article').each((i, el) => { + var _a, _b, _c, _d; + recommendationsArray.push({ + id: (_b = (_a = $(el).find('a').attr('href')) === null || _a === void 0 ? void 0 : _a.split(this.baseUrl)[1]) === null || _b === void 0 ? void 0 : _b.replace('/', ''), + title: $(el).find('a img').attr('alt'), + image: $(el).find('a img').attr('data-src'), + type: ((_c = $(el).find('.thumbnail a').attr('href')) === null || _c === void 0 ? void 0 : _c.includes('/movies/')) + ? models_1.TvType.TVSERIES + : (_d = models_1.TvType.MOVIE) !== null && _d !== void 0 ? _d : null, + }); + }); + movieInfo.cover = (_b = (_a = $('div#info .galeria').first().find('.g-item a').attr('href')) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : ''; + movieInfo.title = $('.sheader > .data > h1').text(); + movieInfo.image = $('.sheader > .poster > img').attr('data-src'); + movieInfo.description = $('div#info div[itemprop="description"] p').text(); + movieInfo.type = movieInfo.id.split('/')[0] === 'tvshows' ? models_1.TvType.TVSERIES : models_1.TvType.MOVIE; + movieInfo.releaseDate = $('.sheader > .data > .extra > span.date').text().trim(); + movieInfo.trailer = { + id: (_d = (_c = $('div#trailer .embed iframe').attr('data-litespeed-src')) === null || _c === void 0 ? void 0 : _c.split('embed/')[1]) === null || _d === void 0 ? void 0 : _d.split('?')[0], + url: $('div#trailer .embed iframe').attr('data-litespeed-src'), + }; + movieInfo.genres = $('.sgeneros a') + .map((i, el) => $(el).text()) + .get() + .map(v => v.trim()); + movieInfo.characters = []; + $('div#cast .persons .person').each((i, el) => { + const url = $(el).find('.img > a').attr('href'); + const image = $(el).find('.img > a > img').attr('data-src'); + const name = $(el).find('.data > .name > a').text(); + const character = $(el).find('.data > .caracter').text(); + movieInfo.characters.push({ + url, + image, + name, + character, + }); + }); + movieInfo.country = $('.sheader > .data > .extra > span.country').text(); + movieInfo.duration = $('.sheader > .data > .extra > span.runtime').text(); + movieInfo.rating = parseFloat($('.starstruck-rating span.dt_rating_vgs[itemprop="ratingValue"]').text()); + movieInfo.recommendations = recommendationsArray; + if (movieInfo.type === models_1.TvType.TVSERIES) { + movieInfo.episodes = []; + $('#seasons .se-c').each((i, el) => { + const seasonNumber = parseInt($(el).find('.se-t').text().trim()); + $(el) + .find('.episodios li') + .each((j, ep) => { + var _a, _b, _c, _d, _e, _f; + const episode = { + id: (_a = $(ep).find('.episodiotitle a').attr('href')) === null || _a === void 0 ? void 0 : _a.split(`${this.baseUrl}/`)[1], + season: seasonNumber, + number: parseInt($(ep).find('.numerando').text().trim().split('-')[1]), + title: $(ep).find('.episodiotitle a').text().trim(), + url: (_c = (_b = $(ep).find('.episodiotitle a').attr('href')) === null || _b === void 0 ? void 0 : _b.trim()) !== null && _c !== void 0 ? _c : '', + releaseDate: $(ep).find('.episodiotitle .date').text().trim(), + image: (_e = (_d = $(ep).find('.imagen img').attr('data-src')) === null || _d === void 0 ? void 0 : _d.trim()) !== null && _e !== void 0 ? _e : '', + }; + (_f = movieInfo.episodes) === null || _f === void 0 ? void 0 : _f.push(episode); + }); + }); + } + else { + movieInfo.episodes = [ + { + id: movieInfo.id, + title: movieInfo.title, + url: movieInfo.url, + image: movieInfo.cover || movieInfo.image, + }, + ]; + } + return movieInfo; + } + catch (err) { + throw new Error(err.message); + } + }; + /** + * + * @param episodeId episode id + * @param server server type (default `StreamWish`) (optional) + */ + this.fetchEpisodeSources = async (episodeId, server = models_1.StreamingServers.StreamWish, fileId) => { + var _a, _b; + if (episodeId.startsWith('http')) { + const serverUrl = new URL(episodeId); + switch (server) { + case models_1.StreamingServers.MixDrop: + return { + headers: { Referer: serverUrl.href }, + sources: await new extractors_1.MixDrop(this.proxyConfig, this.adapter).extract(serverUrl), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + case models_1.StreamingServers.StreamWish: + return { + headers: { Referer: serverUrl.href }, + ...(await new extractors_1.StreamWish(this.proxyConfig, this.adapter).extract(serverUrl)), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + case models_1.StreamingServers.StreamTape: + return { + headers: { Referer: serverUrl.href }, + sources: await new extractors_1.StreamTape(this.proxyConfig, this.adapter).extract(serverUrl), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + case models_1.StreamingServers.VidHide: + return { + headers: { Referer: serverUrl.href }, + sources: await new extractors_1.VidHide(this.proxyConfig, this.adapter).extract(serverUrl), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + default: + return { + headers: { Referer: serverUrl.href }, + ...(await new extractors_1.StreamWish(this.proxyConfig, this.adapter).extract(serverUrl)), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + } + } + try { + const servers = await this.fetchEpisodeServers(episodeId); + const i = servers.findIndex(s => s.name.toLowerCase() === server.toLowerCase()); + if (i === -1) { + throw new Error(`Server ${server} not found`); + } + const serverUrl = new URL(servers[i].url); + let fileId = ''; + if (!episodeId.startsWith('http')) { + const $iframe = await this.getServer(`${this.baseUrl}/${episodeId}`); + const match = (_a = $iframe.html()) === null || _a === void 0 ? void 0 : _a.match(/fileId\s*=\s*["']([^"']+)["']/); + fileId = (_b = match === null || match === void 0 ? void 0 : match[1]) !== null && _b !== void 0 ? _b : ''; + } + // fileId to be used for download link + return await this.fetchEpisodeSources(serverUrl.href, server, fileId); + } + catch (err) { + console.log(err); + throw new Error(err.message); + } + }; + /** + * + * @param episodeId takes episode link or movie id + */ + this.fetchEpisodeServers = async (episodeId) => { + if (!episodeId.startsWith(this.baseUrl)) { + episodeId = `${this.baseUrl}/${episodeId}`; + } + try { + const $iframe = await this.getServer(episodeId); + const servers = $iframe('#videoLinks li') + .map((i, el) => { + var _a, _b; + return ({ + name: $iframe(el).text().trim(), + url: (_b = (_a = $iframe(el).attr('data-link')) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : '', + }); + }) + .get(); + return servers; + } + catch (err) { + throw new Error(err.message); + } + }; + this.fetchPopular = async (page = 1) => { + const result = { + currentPage: page, + hasNextPage: false, + results: [], + }; + try { + const { data } = await this.client.get(`${this.baseUrl}/trending/page/${page}/`); + const $ = (0, cheerio_1.load)(data); + const navSelector = 'div.pagination'; + result.hasNextPage = $(navSelector).find('#nextpagination').length > 0; + $('.items > article') + .each((i, el) => { + var _a, _b, _c, _d, _e; + const resultItem = { + id: $(el).attr('id'), + title: (_a = $(el).find('div.data > h3').text()) !== null && _a !== void 0 ? _a : '', + url: $(el).find('div.poster > a').attr('href'), + image: (_b = $(el).find('div.poster > img').attr('data-src')) !== null && _b !== void 0 ? _b : '', + type: ((_c = $(el).find('div.poster > a').attr('href')) === null || _c === void 0 ? void 0 : _c.includes('/movies/')) + ? models_1.TvType.MOVIE + : models_1.TvType.TVSERIES, + rating: (_d = $(el).find('div.poster > div.rating').text()) !== null && _d !== void 0 ? _d : '', + releaseDate: (_e = $(el).find('div.data > span').text()) !== null && _e !== void 0 ? _e : '', + }; + result.results.push(resultItem); + }) + .get(); + return result; + } + catch (err) { + throw new Error(err.message); + } + }; + this.fetchByGenre = async (genre, page = 1) => { + const result = { + currentPage: page, + hasNextPage: false, + results: [], + }; + try { + const { data } = await this.client.get(`${this.baseUrl}/genre/${genre}/page/${page}`); + const $ = (0, cheerio_1.load)(data); + const navSelector = 'div.pagination'; + result.hasNextPage = $(navSelector).find('#nextpagination').length > 0; + $('.items > article') + .each((i, el) => { + var _a, _b, _c, _d, _e; + const resultItem = { + id: $(el).attr('id'), + title: (_a = $(el).find('div.data > h3').text()) !== null && _a !== void 0 ? _a : '', + url: $(el).find('div.poster > a').attr('href'), + image: (_b = $(el).find('div.poster > img').attr('data-src')) !== null && _b !== void 0 ? _b : '', + type: ((_c = $(el).find('div.poster > a').attr('href')) === null || _c === void 0 ? void 0 : _c.includes('/movies/')) + ? models_1.TvType.MOVIE + : models_1.TvType.TVSERIES, + rating: (_d = $(el).find('div.poster > div.rating').text()) !== null && _d !== void 0 ? _d : '', + releaseDate: (_e = $(el).find('div.data > span').text()) !== null && _e !== void 0 ? _e : '', + }; + result.results.push(resultItem); + }) + .get(); + return result; + } + catch (err) { + throw new Error(err.message); + } + }; + } + async getServer(url) { + var _a, _b, _c, _d; + const { data } = await this.client.get(url); + const $ = (0, cheerio_1.load)(data); + const playerConfig = { + postId: $('#player-option-1').attr('data-post'), + nume: $('#player-option-1').attr('data-nume'), + type: $('#player-option-1').attr('data-type'), + }; + const formData = new FormData(); + formData.append('action', 'doo_player_ajax'); + if (playerConfig.postId) + formData.append('post', playerConfig.postId); + if (playerConfig.nume) + formData.append('nume', playerConfig.nume); + if (playerConfig.type) + formData.append('type', playerConfig.type); + const headers = { + 'sec-ch-ua': '"Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120"', + 'sec-ch-ua-mobile': '?0', + 'sec-ch-ua-platform': '"Windows"', + 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0', + }; + const playerRes = await this.client.post(`${this.baseUrl}/wp-admin/admin-ajax.php`, formData, { + headers, + }); + const iframeUrl = ((_c = (_b = (_a = playerRes.data) === null || _a === void 0 ? void 0 : _a.embed_url) === null || _b === void 0 ? void 0 : _b.match(/]+src="([^"]+)"[^>]*>/i)) === null || _c === void 0 ? void 0 : _c[1]) || ((_d = playerRes.data) === null || _d === void 0 ? void 0 : _d.embed_url); + if (!iframeUrl || iframeUrl.includes('multimovies')) { + return (0, cheerio_1.load)(''); + } + const { data: iframeData } = await this.client.get(iframeUrl, { headers }); + const $iframe = (0, cheerio_1.load)(iframeData); + return $iframe; + } +} +(async () => { + const movie = new MultiMovies(); + // const search = await movie.fetchMediaInfo('tvshows/jujutsu-kaisen/'); + const movieInfo = await movie.fetchEpisodeSources('episodes/jujutsu-kaisen-1x2/'); + // const server = await movie.fetchEpisodeServers('episodes/jujutsu-kaisen-1x2/'); + // const recentTv = await movie.fetchPopular(); + // const genre = await movie.fetchByGenre('action'); + console.log(movieInfo); +})(); +exports.default = MultiMovies; +//# sourceMappingURL=multimovies.js.map \ No newline at end of file diff --git a/dist/providers/movies/multimovies.js.map b/dist/providers/movies/multimovies.js.map new file mode 100644 index 000000000..dba7f9c65 --- /dev/null +++ b/dist/providers/movies/multimovies.js.map @@ -0,0 +1 @@ +{"version":3,"file":"multimovies.js","sourceRoot":"","sources":["../../../src/providers/movies/multimovies.ts"],"names":[],"mappings":";;AAAA,qCAA2C;AAE3C,yCASsB;AACtB,iDAA4E;AAE5E,MAAM,WAAY,SAAQ,oBAAW;IAArC;;QACoB,SAAI,GAAG,aAAa,CAAC;QACpB,YAAO,GAAG,yBAAyB,CAAC;QACpC,SAAI,GACrB,kGAAkG,CAAC;QAClF,cAAS,GAAG,oBAAoB,CAAC;QAC3C,mBAAc,GAAG,IAAI,GAAG,CAAC,CAAC,eAAM,CAAC,KAAK,EAAE,eAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEnE;;;;WAIG;QACM,WAAM,GAAG,KAAK,EAAE,KAAa,EAAE,OAAe,CAAC,EAAkC,EAAE;YAC1F,MAAM,YAAY,GAA0B;gBAC1C,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE,KAAK;gBAClB,OAAO,EAAE,EAAE;aACZ,CAAC;YACF,IAAI,CAAC;gBACH,IAAI,GAAG,CAAC;gBACR,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC;oBACf,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,OAAO,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,EAAE,CAAC;gBAC9D,CAAC;qBAAM,CAAC;oBACN,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,EAAE,CAAC;gBAC3E,CAAC;gBACD,MAAM,EAAE,IAA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d.ts b/dist/utils/utils.d.ts index 97e988f2e..2ba324c81 100644 --- a/dist/utils/utils.d.ts +++ b/dist/utils/utils.d.ts @@ -4,7 +4,7 @@ export declare const ANIFY_URL = "https://anify.eltik.cc"; export declare const splitAuthor: (authors: string) => string[]; export declare const floorID: (id: string) => number; export declare const formatTitle: (title: string) => string; -export declare const genElement: (s: string, e: string) => import("cheerio").Cheerio | undefined; +export declare const genElement: (s: string, e: string) => import("cheerio").Cheerio | undefined; export declare const range: ({ from, to, step, length }: { from?: number | undefined; to?: number | undefined; diff --git a/docs/providers/multimovies.md b/docs/providers/multimovies.md new file mode 100644 index 000000000..a4fef2934 --- /dev/null +++ b/docs/providers/multimovies.md @@ -0,0 +1,278 @@ +

MultiMovies

+ +```ts +const multimovies = new MOVIES.MultiMovies(); +``` + +

Methods

+ +- [search](#search) +- [fetchMediaInfo](#fetchmediainfo) +- [fetchEpisodeSources](#fetchepisodesources) +- [fetchEpisodeServers](#fetchepisodeservers) +- [fetchPopular](#fetchpopular) +- [fetchByGenre](#fetchbygenre) + +### search +> Note: This method is a subclass of the [`BaseParser`](https://github.com/consumet/extensions/blob/master/src/models/base-parser.ts) class. meaning it is available across most categories. + + +

Parameters

+ +| Parameter | Type | Description | +| --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------ | +| query | `string` | query to search for. (*In this case, We're searching for `jujutsu kaisen`*)| +| page (optional) | `number` | page number (default: 1) | + +```ts +multimovies.search("jujutsu kaisen").then(data => { + console.log(data); +}) +``` + +returns a promise which resolves into an array of movies/tv series. (*[`Promise>`](https://github.com/consumet/extensions/blob/master/src/models/types.ts#L233-L241)*)\ +output: +```js +{ + currentPage: 1, + hasNextPage: false, + results: [ + { + id: 'movies/jujutsu-kaisen-0/', //media id + title: 'Jujutsu Kaisen 0', + url: 'https://multimovies.lat/movies/jujutsu-kaisen-0/', + image: 'https://multimovies.lat/wp-content/uploads/2023/04/23oJaeBh0FDk2mQ2P240PU9Xxfh-150x150.jpg', + rating: 7.8, + releaseDate: '2021', + description: 'Yuta Okkotsu is a nervous high school student who is suffering from a serious problem—his childhood friend Rika has turned into a curse and won’t leave him alone. Since Rika is no ordinary curse, ...', + type: 'Movie' + }, + ] +} +``` + +### fetchMediaInfo + +

Parameters

+ +| Parameter | Type | Description | +| --------- | -------- | ------------------------------------------------------------------------------------------------------------------------------- | +| mediaId | `string` | takes media id or url as a parameter. (*media id or url can be found in the media search results as shown on the above method*) | + +```ts +multimovies.fetchMediaInfo('tvshows/jujutsu-kaisen/').then(data => { + console.log(data); +}) +``` + +returns a promise which resolves into an anime info object (including the episodes). (*[`Promise`](https://github.com/consumet/extensions/blob/master/src/models/types.ts#L243-L254)*)\ +output: +```js +{ + id: 'tvshows/jujutsu-kaisen/', //media id + title: 'Jujutsu Kaisen', + url: 'https://multimovies.lat/tvshows/jujutsu-kaisen/', + cover: 'https://image.tmdb.org/t/p/original/nIHp6fz2MX33blJKYa9BSbhct7W.jpg', + image: 'https://multimovies.lat/wp-content/uploads/2024/01/fHpKWq9ayzSk8nSwqRuaAUemRKh-200x300.jpg', + description: '', + type: 'TV Series', + releaseDate: 'Oct. 03, 2020', + trailer: { + id: 'f8JWhakG2Pc', + url: 'https://www.youtube.com/embed/f8JWhakG2Pc?autoplay=0&autohide=1' + }, + genres: [ + 'Action & Adventure', + 'Animation',... + ], + characters: [ + { + url: 'https://multimovies.lat/cast/junya-enoki/', + image: 'https://image.tmdb.org/t/p/w92/vBnNL3Jqy0zkS3ZgsXZmvDM9Dfz.jpg', + name: 'Junya Enoki', + character: 'Yuji Itadori (voice)' + }, + {...}, + ... + ], + country: '', + duration: '', + rating: 9.4, + recommendations: [ + { + id: 'tvshows/knuckles/', + title: 'Knuckles', + image: 'https://multimovies.lat/wp-content/uploads/2024/04/w88Obs6wAdhlmYziKXz8EsKDmJs-185x278.jpg', + type: 'Movie' + }, + {...}, + ... + ], + episodes: [ + { + id: 'episodes/jujutsu-kaisen-1x1/', //episode id + season: 1, + number: 1, + title: 'Ryomen Sukuna', + url: 'https://multimovies.lat/episodes/jujutsu-kaisen-1x1/', + releaseDate: 'Oct. 03, 2020', + image: 'https://multimovies.lat/wp-content/uploads/2023/04/veG3J8KaBudM8omuGi58fYOMDTz-300x170.jpg' + }, + + {...}, + ... + ] +} +``` + +### fetchEpisodeSources + +

Parameters

+ +| Parameter | Type | Description | +| ----------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| episodeId | `string` | takes episode id as a parameter. (*episode id can be found in the media info object*) | +| server (optional) | [`StreamingServers`](https://github.com/consumet/extensions/blob/master/src/models/types.ts#L144-L157) | takes server enum as a parameter. *default: [`StreamingServers.StreamWish`](https://github.com/consumet/extensions/blob/master/src/models/types.ts#L150)* | + + +```ts +multimovies.fetchEpisodeSources('episodes/jujutsu-kaisen-1x1/').then(data => { + console.log(data); +}) +``` +returns a promise which resolves into an array of episode sources and subtitles. (*[`Promise`](https://github.com/consumet/extensions/blob/master/src/models/types.ts#L300-L306)*)\ +output: +```js +{ + headers: { Referer: 'https://hlswish.com/e/v8k4m560gcra' }, + sources: [ + { + quality: 'default', + url: 'https://wydwcbdskx.cdn-centaurus.com/hls2/01/04908/v8k4m560gcra_,l,n,h,.urlset/master.m3u8?t=__wsgELMAIU3gmmoU1Ql5pHJej0EusGAtojLX_3N7r4&s=1734874347&e=129600&f=24540091&srv=Gy4KXLg7mXRDXE7k&i=0.4&sp=500&p1=Gy4KXLg7mXRDXE7k&p2=Gy4KXLg7mXRDXE7k&asn=138296', + isM3U8: true + }, + { + quality: 'backup', + url: 'https://wydwcbdskx.cdn-centaurus.com/hls2/01/04908/v8k4m560gcra_,l,n,h,.urlset/master.m3u8?t=__wsgELMAIU3gmmoU1Ql5pHJej0EusGAtojLX_3N7r4&s=1734874347&e=129600&f=24540091&srv=Gy4KXLg7mXRDXE7k&i=0.4&sp=500&p1=Gy4KXLg7mXRDXE7k&p2=Gy4KXLg7mXRDXE7k&asn=138296', + isM3U8: true + } + ], + subtitles: [ + { + lang: 'thumbnails', + url: 'https://streamwish.com/dl?op=get_slides&length=1437&url=https://akumachi.com/v8k4m560gcra0000.jpg' + }, + { + lang: 'English', + url: 'https://Gy4KXLg7mXRDXE7k.premilkyway.com/vtt/01/04908/v8k4m560gcra_eng.vtt' + } + ] +} +``` + +### fetchEpisodeServers + +

Parameters

+ +| Parameter | Type | Description | +| --------- | -------- | ------------------------------------------------------------------------------------------------------------- | +| episodeId | `string` | take an episode id or url as a parameter. (*episode id or episode url can be found in the media info object*) | + + +```ts +multimovies.fetchEpisodeServers("vincenzo-2021-episode-1").then(data => { + console.log(data); +}) +``` +returns a promise which resolves into an array of episode servers. (*[`Promise`](https://github.com/consumet/extensions/blob/master/src/models/types.ts#L115-L118)*)\ +output: +```js +[ + { name: 'VidHide', url: 'https://vidhidehub.com/v/52x28ai7sy75' }, + { name: 'StreamWish', url: 'https://hlswish.com/e/v8k4m560gcra' }, + { name: 'OneUpload', url: 'https://oneupload.to/embed-x4ehvd3l0fm2' }, + { name: 'Vid-guard', url: 'https://listeamed.net/e/NMRLEprjYAY5XaG' }, + { name: 'MixDrop', url: 'https://mixdrop.ag/e/z19wdvwztv3ew0' }, + { name: 'Playerx', url: 'https://boosterx.stream/v/fOSJdaFYrqKG' }, + {name: 'Streamtape',url: 'https://streamtape.site/e/eg36VZgKoqI2kj'} +] +``` + +

(back to movie providers list)

+ +### fetchPopular + +```ts +multimovies.fetchPopular.then(data => { + console.log(data); +}) +``` + +returns a promise which resolves into an array of movies. (*[`Promise>`](https://github.com/consumet/extensions/blob/master/src/models/types.ts#L328-L336)*)\ +output: +```js +{ + currentPage: 1, + hasNextPage: true, + results: [ + { + id: 'post-30719', + title: 'Jawan', + url: 'https://multimovies.lat/movies/jawan/', + image: 'https://multimovies.lat/wp-content/uploads/2024/09/jFt1gS4BGHlK8xt76Y81Alp4dbt-185x278.jpg', + type: 'Movie', + rating: '6.9', + releaseDate: 'Sep. 07, 2023' + }, + { + id: 'post-5231', + title: 'Naruto (Hindi Dubbed)', + url: 'https://multimovies.lat/tvshows/naruto-hindi-dubbed/', + image: 'https://multimovies.lat/wp-content/uploads/2023/04/xppeysfvDKVx775MFuH8Z9BlpMk-185x278.jpg', + type: 'TV Series', + rating: '8.355', + releaseDate: 'Oct. 03, 2002' + }, + {...} + ] +} +``` + + +### fetchByGenre + + ```ts + multimovies.fetchByGenre("action").then(data => { + console.log(data); + }) + ``` + + returns a promise which resolves into an array of movies. (*[`Promise>`](https://github.com/consumet/extensions/blob/master/src/models/types.ts#L328-L336)*)\ +output: +```js + +{ + currentPage: 1, + hasNextPage: true, + results: [ + { + id: 'post-71528', + title: 'Marco', + url: 'https://multimovies.lat/movies/marco/', + image: 'https://multimovies.lat/wp-content/uploads/2024/12/il3ao5gcF6fZNqo1o9o7lusmEyU-185x278.jpg', + type: 'Movie', + rating: '8.3', + releaseDate: 'Dec. 20, 2024' + }, + { + id: 'post-70068', + title: 'Pushpa 2 – The Rule', + url: 'https://multimovies.lat/movies/pushpa-2-the-rule/', + image: 'https://multimovies.lat/wp-content/uploads/2024/12/1T21FblunT0y8fz7YaW8JMYgUKm-185x278.jpg', + type: 'Movie', + rating: '6.6', + releaseDate: 'Dec. 04, 2024' + }, + {...} + ]} +``` \ No newline at end of file diff --git a/src/extractors/vidhide.ts b/src/extractors/vidhide.ts index 87982b8b7..ae7d492ee 100644 --- a/src/extractors/vidhide.ts +++ b/src/extractors/vidhide.ts @@ -37,7 +37,7 @@ class VidHide extends VideoExtractor { if (!video.includes('m3u8')) continue; const url = video.split('\n')[1]; - const quality = video.split('RESOLUTION=')[1].split(',')[0].split('x')[1]; + const quality = video.split('RESOLUTION=')[1]?.split(',')[0].split('x')[1]; result.sources.push({ url: `${pathWithoutMaster}/${url}`, diff --git a/src/providers/meta/tmdb.ts b/src/providers/meta/tmdb.ts index 6a422b4c0..2df20c686 100644 --- a/src/providers/meta/tmdb.ts +++ b/src/providers/meta/tmdb.ts @@ -233,6 +233,13 @@ class TMDB extends MovieParser { .filter((crew: { job: string }) => crew.job === 'Screenplay') .map((crew: { name: string }) => crew.name); info.actors = data?.credits?.cast.map((cast: { name: string }) => cast.name); + info.characters = data?.credits?.cast.map((cast: any) => ({ + id: cast.id, + name: cast.name, + url: `https://www.themoviedb.org/person/${cast.id}`, + character: cast.character, + image: `https://image.tmdb.org/t/p/original${cast.profile_path}`, + })); info.trailer = { id: data?.videos?.results[0]?.key, site: data?.videos?.results[0]?.site, diff --git a/src/providers/movies/dramacool.ts b/src/providers/movies/dramacool.ts index f20213efe..ce7e888f6 100644 --- a/src/providers/movies/dramacool.ts +++ b/src/providers/movies/dramacool.ts @@ -209,23 +209,28 @@ class DramaCool extends MovieParser { switch (server) { case StreamingServers.AsianLoad: return { + headers: { Referer: serverUrl.origin }, ...(await new AsianLoad(this.proxyConfig, this.adapter).extract(serverUrl)), download: this.downloadLink(episodeId), }; case StreamingServers.MixDrop: return { + headers: { Referer: serverUrl.origin }, sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl), }; case StreamingServers.StreamTape: return { + headers: { Referer: serverUrl.origin }, sources: await new StreamTape(this.proxyConfig, this.adapter).extract(serverUrl), }; case StreamingServers.StreamSB: return { + headers: { Referer: serverUrl.origin }, sources: await new StreamSB(this.proxyConfig, this.adapter).extract(serverUrl), }; case StreamingServers.StreamWish: return { + headers: { Referer: serverUrl.origin }, ...(await new StreamWish(this.proxyConfig, this.adapter).extract(serverUrl)), }; default: @@ -359,10 +364,11 @@ class DramaCool extends MovieParser { }; } //testing fetchPopular via iife -// (async () => { -// const dramaCool = new DramaCool(); -// const l=await dramaCool.fetchSpotlight(); -// console.log(l); -// })(); +(async () => { + const dramaCool = new DramaCool(); + // const l=await dramaCool.fetchSpotlight(); + const l = await dramaCool.fetchEpisodeSources('vincenzo-2021-episode-1'); + console.log(l); +})(); export default DramaCool; diff --git a/src/providers/movies/index.ts b/src/providers/movies/index.ts index dfad7ff50..200da206e 100644 --- a/src/providers/movies/index.ts +++ b/src/providers/movies/index.ts @@ -8,6 +8,7 @@ import SmashyStream from './smashystream'; import Turkish from './turkish123'; import ViewAsian from './viewAsian'; import SFlix from './sflix'; +import MultiMovies from './multimovies'; export default { DramaCool, @@ -20,4 +21,5 @@ export default { ViewAsian, Turkish, SFlix, + MultiMovies, }; diff --git a/src/providers/movies/multimovies.ts b/src/providers/movies/multimovies.ts new file mode 100644 index 000000000..ea5a6689a --- /dev/null +++ b/src/providers/movies/multimovies.ts @@ -0,0 +1,384 @@ +import { CheerioAPI, load } from 'cheerio'; + +import { + MovieParser, + TvType, + IMovieInfo, + IEpisodeServer, + StreamingServers, + ISource, + IMovieResult, + ISearch, +} from '../../models'; +import { MixDrop, StreamTape, StreamWish, VidHide } from '../../extractors'; + +class MultiMovies extends MovieParser { + override readonly name = 'MultiMovies'; + protected override baseUrl = 'https://multimovies.lat'; + protected override logo = + 'https://multimovies.lat/wp-content/uploads/2024/01/cropped-CompressJPEG.online_512x512_image.png'; + protected override classPath = 'MOVIES.MultiMovies'; + override supportedTypes = new Set([TvType.MOVIE, TvType.TVSERIES]); + + /** + * + * @param query search query string + * @param page page number (default 1) (optional) + */ + override search = async (query: string, page: number = 1): Promise> => { + const searchResult: ISearch = { + currentPage: page, + hasNextPage: false, + results: [], + }; + try { + let url; + if (page === 1) { + url = `${this.baseUrl}/?s=${query.replace(/[\W_]+/g, '+')}`; + } else { + url = `${this.baseUrl}/page/${page}/?s=${query.replace(/[\W_]+/g, '+')}`; + } + const { data } = await this.client.get(url); + const $ = load(data); + + const navSelector = 'div.pagination'; + searchResult.hasNextPage = $(navSelector).find('#nextpagination').length > 0; + + $('.search-page .result-item article').each((i, el) => { + searchResult.results.push({ + id: $(el).find('.thumbnail a').attr('href')?.split(this.baseUrl)[1]?.replace('/', '') ?? '', + title: $(el).find('.details .title a').text().trim(), + url: $(el).find('.thumbnail a').attr('href') ?? '', + image: $(el).find('.thumbnail img').attr('src') ?? '', + rating: parseFloat($(el).find('.meta .rating').text().replace('IMDb ', '')) || 0, + releaseDate: $(el).find('.meta .year').text().trim(), + description: $(el).find('.contenido p').text().trim(), + type: $(el).find('.thumbnail a').attr('href')?.includes('/movies/') + ? TvType.MOVIE + : TvType.TVSERIES, + }); + }); + + return searchResult; + } catch (err) { + throw new Error((err as Error).message); + } + }; + + /** + * + * @param mediaId media link or id + */ + override fetchMediaInfo = async (mediaId: string): Promise => { + if (!mediaId.startsWith(this.baseUrl)) { + mediaId = `${this.baseUrl}/${mediaId}`; + } + const movieInfo: IMovieInfo = { + id: mediaId.split(`${this.baseUrl}/`)[1]!, + title: '', + url: mediaId, + }; + try { + const { data } = await this.client.get(mediaId); + const $ = load(data); + const recommendationsArray: IMovieResult[] = []; + + $('div#single_relacionados article').each((i, el) => { + recommendationsArray.push({ + id: $(el).find('a').attr('href')?.split(this.baseUrl)[1]?.replace('/', '')!, + title: $(el).find('a img').attr('alt')!, + image: $(el).find('a img').attr('data-src'), + type: $(el).find('.thumbnail a').attr('href')?.includes('/movies/') + ? TvType.TVSERIES + : TvType.MOVIE ?? null, + }); + }); + movieInfo.cover = $('div#info .galeria').first().find('.g-item a').attr('href')?.trim() ?? ''; + movieInfo.title = $('.sheader > .data > h1').text(); + movieInfo.image = $('.sheader > .poster > img').attr('data-src'); + movieInfo.description = $('div#info div[itemprop="description"] p').text(); + movieInfo.type = movieInfo.id.split('/')[0] === 'tvshows' ? TvType.TVSERIES : TvType.MOVIE; + movieInfo.releaseDate = $('.sheader > .data > .extra > span.date').text().trim(); + movieInfo.trailer = { + id: $('div#trailer .embed iframe').attr('data-litespeed-src')?.split('embed/')[1]?.split('?')[0]!, + url: $('div#trailer .embed iframe').attr('data-litespeed-src')!, + }; + movieInfo.genres = $('.sgeneros a') + .map((i, el) => $(el).text()) + .get() + .map(v => v.trim()); + movieInfo.characters = []; + $('div#cast .persons .person').each((i, el) => { + const url = $(el).find('.img > a').attr('href'); + const image = $(el).find('.img > a > img').attr('data-src'); + const name = $(el).find('.data > .name > a').text(); + const character = $(el).find('.data > .caracter').text(); + + (movieInfo.characters as any[]).push({ + url, + image, + name, + character, + }); + }); + movieInfo.country = $('.sheader > .data > .extra > span.country').text(); + movieInfo.duration = $('.sheader > .data > .extra > span.runtime').text(); + movieInfo.rating = parseFloat( + $('.starstruck-rating span.dt_rating_vgs[itemprop="ratingValue"]').text() + ); + movieInfo.recommendations = recommendationsArray as any; + + if (movieInfo.type === TvType.TVSERIES) { + movieInfo.episodes = []; + $('#seasons .se-c').each((i, el) => { + const seasonNumber = parseInt($(el).find('.se-t').text().trim()); + $(el) + .find('.episodios li') + .each((j, ep) => { + const episode = { + id: $(ep).find('.episodiotitle a').attr('href')?.split(`${this.baseUrl}/`)[1]!, + season: seasonNumber, + number: parseInt($(ep).find('.numerando').text().trim().split('-')[1]), + title: $(ep).find('.episodiotitle a').text().trim(), + url: $(ep).find('.episodiotitle a').attr('href')?.trim() ?? '', + releaseDate: $(ep).find('.episodiotitle .date').text().trim(), + image: $(ep).find('.imagen img').attr('data-src')?.trim() ?? '', + }; + + movieInfo.episodes?.push(episode); + }); + }); + } else { + movieInfo.episodes = [ + { + id: movieInfo.id, + title: movieInfo.title, + url: movieInfo.url, + image: movieInfo.cover || movieInfo.image, + }, + ]; + } + + return movieInfo; + } catch (err) { + throw new Error((err as Error).message); + } + }; + + /** + * + * @param episodeId episode id + * @param server server type (default `StreamWish`) (optional) + */ + override fetchEpisodeSources = async ( + episodeId: string, + server: StreamingServers = StreamingServers.StreamWish, + fileId?: string + ): Promise => { + if (episodeId.startsWith('http')) { + const serverUrl = new URL(episodeId); + switch (server) { + case StreamingServers.MixDrop: + return { + headers: { Referer: serverUrl.href }, + sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + case StreamingServers.StreamWish: + return { + headers: { Referer: serverUrl.href }, + ...(await new StreamWish(this.proxyConfig, this.adapter).extract(serverUrl)), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + case StreamingServers.StreamTape: + return { + headers: { Referer: serverUrl.href }, + sources: await new StreamTape(this.proxyConfig, this.adapter).extract(serverUrl), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + case StreamingServers.VidHide: + return { + headers: { Referer: serverUrl.href }, + sources: await new VidHide(this.proxyConfig, this.adapter).extract(serverUrl), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + default: + return { + headers: { Referer: serverUrl.href }, + ...(await new StreamWish(this.proxyConfig, this.adapter).extract(serverUrl)), + download: fileId ? `https://gdmirrorbot.nl/file/${fileId}` : '', + }; + } + } + + try { + const servers = await this.fetchEpisodeServers(episodeId); + const i = servers.findIndex(s => s.name.toLowerCase() === server.toLowerCase()); + + if (i === -1) { + throw new Error(`Server ${server} not found`); + } + + const serverUrl: URL = new URL(servers[i].url); + let fileId = ''; + + if (!episodeId.startsWith('http')) { + const $iframe = await this.getServer(`${this.baseUrl}/${episodeId}`); + const match = $iframe.html()?.match(/fileId\s*=\s*["']([^"']+)["']/); + fileId = match?.[1] ?? ''; + } + // fileId to be used for download link + return await this.fetchEpisodeSources(serverUrl.href, server, fileId); + } catch (err) { + console.log(err); + throw new Error((err as Error).message); + } + }; + + /** + * + * @param episodeId takes episode link or movie id + */ + override fetchEpisodeServers = async (episodeId: string): Promise => { + if (!episodeId.startsWith(this.baseUrl)) { + episodeId = `${this.baseUrl}/${episodeId}`; + } + + try { + const $iframe = await this.getServer(episodeId); + + const servers: IEpisodeServer[] = $iframe('#videoLinks li') + .map((i, el) => ({ + name: $iframe(el).text().trim(), + url: $iframe(el).attr('data-link')?.trim() ?? '', + })) + .get(); + + return servers; + } catch (err) { + throw new Error((err as Error).message); + } + }; + + fetchPopular = async (page: number = 1): Promise> => { + const result: ISearch = { + currentPage: page, + hasNextPage: false, + results: [], + }; + try { + const { data } = await this.client.get(`${this.baseUrl}/trending/page/${page}/`); + const $ = load(data); + const navSelector = 'div.pagination'; + + result.hasNextPage = $(navSelector).find('#nextpagination').length > 0; + $('.items > article') + .each((i, el) => { + const resultItem: IMovieResult = { + id: $(el).attr('id')!, + title: $(el).find('div.data > h3').text() ?? '', + url: $(el).find('div.poster > a').attr('href'), + image: $(el).find('div.poster > img').attr('data-src') ?? '', + type: $(el).find('div.poster > a').attr('href')?.includes('/movies/') + ? TvType.MOVIE + : TvType.TVSERIES, + rating: $(el).find('div.poster > div.rating').text() ?? '', + releaseDate: $(el).find('div.data > span').text() ?? '', + }; + result.results.push(resultItem); + }) + .get(); + + return result; + } catch (err) { + throw new Error((err as Error).message); + } + }; + + fetchByGenre = async (genre: string, page: number = 1): Promise> => { + const result: ISearch = { + currentPage: page, + hasNextPage: false, + results: [], + }; + try { + const { data } = await this.client.get(`${this.baseUrl}/genre/${genre}/page/${page}`); + + const $ = load(data); + const navSelector = 'div.pagination'; + + result.hasNextPage = $(navSelector).find('#nextpagination').length > 0; + $('.items > article') + .each((i, el) => { + const resultItem: IMovieResult = { + id: $(el).attr('id')!, + title: $(el).find('div.data > h3').text() ?? '', + url: $(el).find('div.poster > a').attr('href'), + image: $(el).find('div.poster > img').attr('data-src') ?? '', + type: $(el).find('div.poster > a').attr('href')?.includes('/movies/') + ? TvType.MOVIE + : TvType.TVSERIES, + rating: $(el).find('div.poster > div.rating').text() ?? '', + releaseDate: $(el).find('div.data > span').text() ?? '', + }; + result.results.push(resultItem); + }) + .get(); + + return result; + } catch (err) { + throw new Error((err as Error).message); + } + }; + + private async getServer(url: string): Promise { + const { data } = await this.client.get(url); + const $ = load(data); + const playerConfig = { + postId: $('#player-option-1').attr('data-post'), + nume: $('#player-option-1').attr('data-nume'), + type: $('#player-option-1').attr('data-type'), + }; + + const formData = new FormData(); + formData.append('action', 'doo_player_ajax'); + if (playerConfig.postId) formData.append('post', playerConfig.postId); + if (playerConfig.nume) formData.append('nume', playerConfig.nume); + if (playerConfig.type) formData.append('type', playerConfig.type); + + const headers = { + 'sec-ch-ua': '"Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120"', + 'sec-ch-ua-mobile': '?0', + 'sec-ch-ua-platform': '"Windows"', + 'User-Agent': + 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0', + }; + + const playerRes = await this.client.post(`${this.baseUrl}/wp-admin/admin-ajax.php`, formData, { + headers, + }); + + const iframeUrl = + playerRes.data?.embed_url?.match(/]+src="([^"]+)"[^>]*>/i)?.[1] || playerRes.data?.embed_url; + + if (!iframeUrl || iframeUrl.includes('multimovies')) { + return load(''); + } + + const { data: iframeData } = await this.client.get(iframeUrl, { headers }); + const $iframe = load(iframeData); + return $iframe; + } +} + +(async () => { + const movie = new MultiMovies(); + // const search = await movie.fetchMediaInfo('tvshows/jujutsu-kaisen/'); + const movieInfo = await movie.fetchEpisodeSources('episodes/jujutsu-kaisen-1x2/'); + // const server = await movie.fetchEpisodeServers('episodes/jujutsu-kaisen-1x2/'); + // const recentTv = await movie.fetchPopular(); + // const genre = await movie.fetchByGenre('action'); + console.log(movieInfo); +})(); + +export default MultiMovies; diff --git a/test/movies/multimovies.test.ts b/test/movies/multimovies.test.ts new file mode 100644 index 000000000..faaf86c76 --- /dev/null +++ b/test/movies/multimovies.test.ts @@ -0,0 +1,53 @@ +import { MOVIES } from '../../src/providers'; + +jest.setTimeout(120000); + +// run: yarn test --watch --verbose false multimovies.test.ts + +const multimovies = new MOVIES.MultiMovies(); + +test('Search: returns a filled array of movies/TV.', async () => { + const data = await multimovies.search('jujutsu kaisen'); + expect(data.results).not.toEqual([]); +}); + +test('fetchMediaInfo: returns filled movie/TV info when given a mediaId.', async () => { + const data = await multimovies.fetchMediaInfo('tvshows/jujutsu-kaisen/'); + expect(data).not.toEqual({}); +}); + +test('fetchEpisodeServers: returns filled object of streaming sources when given an episodeId.', async () => { + const data = await multimovies.fetchEpisodeServers('episodes/jujutsu-kaisen-1x1/'); + expect(data).not.toEqual({}); +}); + +test('fetchEpisodeSources: returns filled object of streaming sources when given an episodeId.', async () => { + const data = await multimovies.fetchEpisodeSources('episodes/jujutsu-kaisen-1x1/'); + expect(data).not.toEqual({}); +}); + +test('fetchMediaInfo: returns genres list when given a mediaId.', async () => { + const data = await multimovies.fetchMediaInfo('tvshows/jujutsu-kaisen/'); + expect(data.genres?.length).not.toEqual([]); +}); + +test('fetchMediaInfo: returns duration (if available) when given a mediaId.', async () => { + const data = await multimovies.fetchMediaInfo('tvshows/jujutsu-kaisen/'); + expect(data.duration).not.toEqual(undefined); +}); + +test('Search: returns totalPages when search: Jujutsu Kaisen', async () => { + const data = await multimovies.search('Jujutsu Kaisen'); + expect(data.totalPages).not.toEqual(1); +}); + +test('fetchPopular: returns a filled array of popular movies/TV.', async () => { + const data = await multimovies.fetchPopular(); + expect(data.results).not.toEqual([]); +}); + +test('fetchMediaInfo:returns content-rating, airs-on, director, original-network,trailer, characters', async () => { + const data = await multimovies.fetchMediaInfo('tvshows/jujutsu-kaisen/'); + expect(data.trailer).not.toEqual(undefined); + expect(data.characters).not.toEqual([]); +});