From c3497c83b28d7379f76180556bf10ea5a3ffb73c Mon Sep 17 00:00:00 2001 From: riimuru Date: Mon, 26 Dec 2022 13:45:19 -0500 Subject: [PATCH] chore: bump version 1.2.13-rc -> 1.3.0 --- dist/index.d.ts | 3 +- dist/index.js | 14 +- dist/index.js.map | 2 +- dist/models/movie-parser.d.ts | 4 +- dist/models/movie-parser.js.map | 2 +- dist/models/types.d.ts | 23 ++ dist/models/types.js.map | 2 +- dist/providers/anime/crunchyroll.d.ts | 44 ---- dist/providers/anime/crunchyroll.js | 245 -------------------- dist/providers/anime/crunchyroll.js.map | 2 +- dist/providers/anime/index.d.ts | 2 +- dist/providers/anime/index.js | 4 +- dist/providers/anime/index.js.map | 2 +- dist/providers/anime/kamyroll.d.ts | 44 ++++ dist/providers/anime/kamyroll.js | 247 ++++++++++++++++++++ dist/providers/anime/kamyroll.js.map | 1 + dist/providers/meta/anilist.js | 10 +- dist/providers/meta/anilist.js.map | 2 +- dist/providers/meta/index.d.ts | 2 + dist/providers/meta/index.js | 3 +- dist/providers/meta/index.js.map | 2 +- dist/providers/meta/mal.js | 10 +- dist/providers/meta/mal.js.map | 2 +- dist/providers/meta/tmdb.d.ts | 41 +++- dist/providers/meta/tmdb.js | 248 ++++++++++++++++++-- dist/providers/meta/tmdb.js.map | 2 +- dist/providers/movies/dramacool.d.ts | 3 +- dist/providers/movies/dramacool.js | 116 ++++++++-- dist/providers/movies/dramacool.js.map | 2 +- dist/providers/movies/flixhq.js | 24 +- dist/providers/movies/flixhq.js.map | 2 +- dist/providers/movies/index.d.ts | 2 + dist/providers/movies/index.js | 3 +- dist/providers/movies/index.js.map | 2 +- dist/providers/movies/ummagurau.js | 1 + dist/providers/movies/ummagurau.js.map | 2 +- dist/utils/providers-list.d.ts | 6 +- dist/utils/providers-list.js | 4 +- dist/utils/providers-list.js.map | 2 +- package.json | 4 +- src/models/types.ts | 16 ++ src/providers/anime/crunchyroll.ts | 289 ------------------------ src/providers/anime/index.ts | 2 +- src/providers/anime/kamyroll.ts | 289 ++++++++++++++++++++++++ src/providers/meta/anilist.ts | 2 +- src/providers/meta/mal.ts | 2 +- 46 files changed, 1082 insertions(+), 654 deletions(-) create mode 100644 dist/providers/anime/kamyroll.d.ts create mode 100644 dist/providers/anime/kamyroll.js create mode 100644 dist/providers/anime/kamyroll.js.map create mode 100644 src/providers/anime/kamyroll.ts diff --git a/dist/index.d.ts b/dist/index.d.ts index 9ad282ab7..62b9de10f 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,6 +1,7 @@ import { ANIME, BOOKS, COMICS, LIGHT_NOVELS, MANGA, MOVIES, META, NEWS } from './providers'; import { PROVIDERS_LIST } from './utils/providers-list'; +import { VizCloud, AsianLoad, GogoCDN, Kwik, MixDrop, RapidCloud, BilibiliExtractor, Filemoon, StreamSB, StreamTape, VidCloud } from './extractors'; import { IProviderStats, ISearch, IAnimeEpisode, IAnimeInfo, IAnimeResult, IEpisodeServer, IVideo, LibgenBook, StreamingServers, MediaStatus, SubOrSub, IMangaResult, IMangaChapter, IMangaInfo, ILightNovelResult, ILightNovelInfo, ILightNovelChapter, ILightNovelChapterContent, GetComicsComics, ComicRes, IMangaChapterPage, TvType, IMovieEpisode, IMovieInfo, ISource, ISubtitle, IMovieResult, Intro, Genres, INewsFeed, Topics, INewsInfo, FuzzyDate, ITitle, MediaFormat, ProxyConfig } from './models'; export { ANIME, BOOKS, COMICS, MANGA, LIGHT_NOVELS, MOVIES, META, NEWS }; export { PROVIDERS_LIST }; -export { Topics, Genres, SubOrSub, StreamingServers, MediaStatus, IProviderStats, IAnimeEpisode, IAnimeInfo, IAnimeResult, IEpisodeServer, IVideo, LibgenBook, IMangaResult, IMangaChapter, IMangaInfo, ILightNovelResult, ILightNovelInfo, ILightNovelChapter, ILightNovelChapterContent, GetComicsComics, ComicRes, ISearch, IMangaChapterPage, TvType, IMovieEpisode, IMovieInfo, ISource, ISubtitle, IMovieResult, Intro, INewsFeed, INewsInfo, FuzzyDate, ITitle, MediaFormat, ProxyConfig, }; +export { Topics, Genres, SubOrSub, StreamingServers, MediaStatus, IProviderStats, IAnimeEpisode, IAnimeInfo, IAnimeResult, IEpisodeServer, IVideo, LibgenBook, IMangaResult, IMangaChapter, IMangaInfo, ILightNovelResult, ILightNovelInfo, ILightNovelChapter, ILightNovelChapterContent, GetComicsComics, ComicRes, ISearch, IMangaChapterPage, TvType, IMovieEpisode, IMovieInfo, ISource, ISubtitle, IMovieResult, Intro, INewsFeed, INewsInfo, FuzzyDate, ITitle, MediaFormat, ProxyConfig, GogoCDN, StreamSB, VidCloud, MixDrop, Kwik, RapidCloud, StreamTape, VizCloud, Filemoon, BilibiliExtractor, AsianLoad, }; diff --git a/dist/index.js b/dist/index.js index 863631564..78f4a9607 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.MediaFormat = exports.TvType = exports.MediaStatus = exports.StreamingServers = exports.SubOrSub = exports.Genres = exports.Topics = exports.PROVIDERS_LIST = exports.NEWS = exports.META = exports.MOVIES = exports.LIGHT_NOVELS = exports.MANGA = exports.COMICS = exports.BOOKS = exports.ANIME = void 0; +exports.AsianLoad = exports.BilibiliExtractor = exports.Filemoon = exports.VizCloud = exports.StreamTape = exports.RapidCloud = exports.Kwik = exports.MixDrop = exports.VidCloud = exports.StreamSB = exports.GogoCDN = exports.MediaFormat = exports.TvType = exports.MediaStatus = exports.StreamingServers = exports.SubOrSub = exports.Genres = exports.Topics = exports.PROVIDERS_LIST = exports.NEWS = exports.META = exports.MOVIES = exports.LIGHT_NOVELS = exports.MANGA = exports.COMICS = exports.BOOKS = exports.ANIME = void 0; const providers_1 = require("./providers"); Object.defineProperty(exports, "ANIME", { enumerable: true, get: function () { return providers_1.ANIME; } }); Object.defineProperty(exports, "BOOKS", { enumerable: true, get: function () { return providers_1.BOOKS; } }); @@ -12,6 +12,18 @@ Object.defineProperty(exports, "META", { enumerable: true, get: function () { re Object.defineProperty(exports, "NEWS", { enumerable: true, get: function () { return providers_1.NEWS; } }); const providers_list_1 = require("./utils/providers-list"); Object.defineProperty(exports, "PROVIDERS_LIST", { enumerable: true, get: function () { return providers_list_1.PROVIDERS_LIST; } }); +const extractors_1 = require("./extractors"); +Object.defineProperty(exports, "VizCloud", { enumerable: true, get: function () { return extractors_1.VizCloud; } }); +Object.defineProperty(exports, "AsianLoad", { enumerable: true, get: function () { return extractors_1.AsianLoad; } }); +Object.defineProperty(exports, "GogoCDN", { enumerable: true, get: function () { return extractors_1.GogoCDN; } }); +Object.defineProperty(exports, "Kwik", { enumerable: true, get: function () { return extractors_1.Kwik; } }); +Object.defineProperty(exports, "MixDrop", { enumerable: true, get: function () { return extractors_1.MixDrop; } }); +Object.defineProperty(exports, "RapidCloud", { enumerable: true, get: function () { return extractors_1.RapidCloud; } }); +Object.defineProperty(exports, "BilibiliExtractor", { enumerable: true, get: function () { return extractors_1.BilibiliExtractor; } }); +Object.defineProperty(exports, "Filemoon", { enumerable: true, get: function () { return extractors_1.Filemoon; } }); +Object.defineProperty(exports, "StreamSB", { enumerable: true, get: function () { return extractors_1.StreamSB; } }); +Object.defineProperty(exports, "StreamTape", { enumerable: true, get: function () { return extractors_1.StreamTape; } }); +Object.defineProperty(exports, "VidCloud", { enumerable: true, get: function () { return extractors_1.VidCloud; } }); const models_1 = require("./models"); Object.defineProperty(exports, "StreamingServers", { enumerable: true, get: function () { return models_1.StreamingServers; } }); Object.defineProperty(exports, "MediaStatus", { enumerable: true, get: function () { return models_1.MediaStatus; } }); diff --git a/dist/index.js.map b/dist/index.js.map index e6fe89934..b5aea2d1e 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,2CAA4F;AAyCnF,sFAzCA,iBAAK,OAyCA;AAAE,sFAzCA,iBAAK,OAyCA;AAAE,uFAzCA,kBAAM,OAyCA;AAAS,6FAzCP,w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OA2CA;AAtBN,uFAdA,eAAM,OAcA;AADN,uFAXA,eAAM,OAWA;AAkCN,4FAzCA,oBAAW,OAyCA"} \ No newline at end of file diff --git a/dist/models/movie-parser.d.ts b/dist/models/movie-parser.d.ts index cf55c16d0..2fe6b9d05 100644 --- a/dist/models/movie-parser.d.ts +++ b/dist/models/movie-parser.d.ts @@ -1,4 +1,4 @@ -import { BaseParser, TvType, ISource, IEpisodeServer } from '.'; +import { BaseParser, TvType, ISource, IEpisodeServer, IMovieInfo, IAnimeInfo } from '.'; declare abstract class MovieParser extends BaseParser { /** * The supported types of the provider (e.g. `TV`, `Movie`) @@ -9,7 +9,7 @@ declare abstract class MovieParser extends BaseParser { * * returns media info (including episodes) */ - abstract fetchMediaInfo(mediaId: string): Promise; + abstract fetchMediaInfo(mediaId: string, type?: string): Promise; /** * takes episode id * diff --git a/dist/models/movie-parser.js.map b/dist/models/movie-parser.js.map index 617262f62..0cf6b2fec 100644 --- a/dist/models/movie-parser.js.map +++ b/dist/models/movie-parser.js.map @@ -1 +1 @@ -{"version":3,"file":"movie-parser.js","sourceRoot":"","sources":["../../src/models/movie-parser.ts"],"names":[],"mappings":";;AAAA,wBAAgE;AAEhE,MAAe,WAAY,SAAQ,aAAU;CA0B5C;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file +{"version":3,"file":"movie-parser.js","sourceRoot":"","sources":["../../src/models/movie-parser.ts"],"names":[],"mappings":";;AAAA,wBAAwF;AAExF,MAAe,WAAY,SAAQ,aAAU;CA0B5C;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/dist/models/types.d.ts b/dist/models/types.d.ts index bd954bb7f..7ba09ae41 100644 --- a/dist/models/types.d.ts +++ b/dist/models/types.d.ts @@ -91,6 +91,21 @@ export interface IAnimeInfo extends IAnimeResult { recommendations?: IAnimeResult[]; relations?: IAnimeResult[]; } +export interface IAnimeEpisodeV2 { + [x: string]: { + id: string; + season_number: number; + title: string; + image: string; + description: string; + releaseDate: string; + isHD: boolean; + isAdult: boolean; + isDubbed: boolean; + isSubbed: boolean; + duration: number; + }[]; +} export interface IAnimeEpisode { id: string; number: number; @@ -292,6 +307,7 @@ export interface IMovieEpisode { url?: string; number?: number; season?: number; + description?: string; image?: string; releaseDate?: string; [x: string]: unknown; @@ -336,6 +352,8 @@ interface INewsFeedPreview { full: string; } export interface IMovieInfo extends IMovieResult { + cover?: string; + recommendations?: IMovieResult[]; genres?: string[]; description?: string; rating?: number; @@ -345,6 +363,11 @@ export interface IMovieInfo extends IMovieResult { casts?: string[]; tags?: string[]; totalEpisodes?: number; + seasons?: { + season: number; + image?: string; + episodes: IMovieEpisode[]; + }[]; episodes?: IMovieEpisode[]; } export declare enum Genres { diff --git a/dist/models/types.js.map b/dist/models/types.js.map index 973b5dd01..ac34eeef6 100644 --- a/dist/models/types.js.map +++ b/dist/models/types.js.map @@ -1 +1 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/models/types.ts"],"names":[],"mappings":";;;AAuDA,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,wBAAS,CAAA;IACT,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,oCAAqB,CAAA;AACvB,CAAC,EAXW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAWtB;AA6ED,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,6CAAyB,CAAA;IACzB,yCAAqB,CAAA;IACrB,mBAAmB;IACnB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAbW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAg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AAiB,CAAA;IACjB,yBAAe,CAAA;IACf,2BAAiB,CAAA;AACnB,CAAC,EAbW,MAAM,GAAN,cAAM,KAAN,cAAM,QAajB"} \ No newline at end of file +{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/models/types.ts"],"names":[],"mappings":";;;AAuDA,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,wBAAS,CAAA;IACT,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,oCAAqB,CAAA;AACvB,CAAC,EAXW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAWtB;AA6FD,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,6CAAyB,CAAA;IACzB,yCAAqB,CAAA;IACrB,mBAAmB;IACnB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAbW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAa3B;AAED,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;IACvB,gCAAiB,CAAA;IACjB,sCAAuB,CAAA;IACvB,8CAA+B,CAAA;IAC/B,kCAAmB,CAAA;AACrB,CAAC,EAPW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAOtB;AAED,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,yBAAa,CAAA;AACf,CAAC,EAJW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAInB;AAwID;;GAEG;AACH,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,gCAAsB,CAAA;IACtB,yBAAe,CAAA;IACf,yBAAe,CAAA;AACjB,CAAC,EAJW,MAAM,GAAN,cAAM,KAAN,cAAM,QAIjB;AA0ED,IAAY,MAoBX;AApBD,WAAY,MAAM;IAChB,2BAAiB,CAAA;IACjB,iCAAuB,CAAA;IACvB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,6BAAmB,CAAA;IACnB,2BAAiB,CAAA;IACjB,uCAA6B,CAAA;IAC7B,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,6BAAmB,CAAA;IACnB,yCAA+B,CAAA;IAC/B,6BAAmB,CAAA;IACnB,2BAAiB,CAAA;IACjB,yCAA+B,CAAA;IAC/B,2BAAiB,CAAA;IACjB,uCAA6B,CAAA;IAC7B,+BAAqB,CAAA;AACvB,CAAC,EApBW,MAAM,GAAN,cAAM,KAAN,cAAM,QAoBjB;AAED,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,yBAAe,CAAA;IACf,iCAAuB,CAAA;IACvB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,qCAA2B,CAAA;IAC3B,+BAAqB,CAAA;IACrB,+BAAqB,CAAA;IACrB,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,2BAAiB,CAAA;AACnB,CAAC,EAbW,MAAM,GAAN,cAAM,KAAN,cAAM,QAajB"} \ No newline at end of file diff --git a/dist/providers/anime/crunchyroll.d.ts b/dist/providers/anime/crunchyroll.d.ts index 96638985c..e69de29bb 100644 --- a/dist/providers/anime/crunchyroll.d.ts +++ b/dist/providers/anime/crunchyroll.d.ts @@ -1,44 +0,0 @@ -import { AnimeParser, ISearch, IAnimeInfo, IAnimeResult, ISource, IEpisodeServer } from '../../models'; -declare class Crunchyroll extends AnimeParser { - readonly name = "Crunchyroll"; - protected baseUrl: string; - protected logo: string; - protected classPath: string; - private locale; - private channelId; - private TOKEN; - private options; - private locales; - private subOrder; - fetch(locale?: string, token?: string, accessToken?: string): Promise; - /** - * - * @param locale Locale (default: en-US) (ar-ME, ar-SA, de-DE, en-US, es-419, es-ES, fr-FR, he-IL, it-IT, pt-BR, pl-PL, ru-RU, tr-TR) - * @param token Token - * @param accessToken Access Token - */ - static create(locale?: string, token?: string, accessToken?: string): Promise; - /** - * @param query Search query - * @param limit Limit of results (default: 25) (max: 100) - */ - search: (query: string, limit?: number) => Promise>; - /** - * @param id Anime id - * @param mediaType Anime type (series, movie) - */ - fetchAnimeInfo: (id: string, mediaType: string) => Promise; - /** - * - * @param episodeId Episode id - * @param format subtitle format (default: `srt`) (srt, vtt, ass) - * @param type Video type (default: `adaptive_hls` (m3u8)) `adaptive_dash` (dash), `drm_adaptive_dash` (dash with drm) - */ - fetchEpisodeSources: (episodeId: string, format?: string, type?: string) => Promise; - /** - * - * @param episodeId Episode id - */ - fetchEpisodeServers: (episodeId: string) => Promise; -} -export default Crunchyroll; diff --git a/dist/providers/anime/crunchyroll.js b/dist/providers/anime/crunchyroll.js index c77b84572..999c2ef00 100644 --- a/dist/providers/anime/crunchyroll.js +++ b/dist/providers/anime/crunchyroll.js @@ -1,247 +1,2 @@ "use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const axios_1 = __importDefault(require("axios")); -const models_1 = require("../../models"); -const utils_1 = require("../../utils"); -class Crunchyroll extends models_1.AnimeParser { - constructor() { - super(...arguments); - this.name = 'Crunchyroll'; - this.baseUrl = 'https://api.kamyroll.tech'; - this.logo = 'https://play-lh.googleusercontent.com/CjzbMcLbmTswzCGauGQExkFsSHvwjKEeWLbVVJx0B-J9G6OQ-UCl2eOuGBfaIozFqow'; - this.classPath = 'ANIME.Crunchyroll'; - this.locale = 'en-US'; - this.channelId = 'crunchyroll'; - this.TOKEN = undefined; - this.options = { - headers: { - 'User-Agent': utils_1.USER_AGENT, - 'Content-Type': 'application/x-www-form-urlencoded', - Authorization: 'Bearer ' + this.TOKEN, - }, - }; - this.locales = [ - '[ar-ME] Arabic', - '[ar-SA] Arabic (Saudi Arabia)', - '[de-DE] German', - '[en-US] English', - '[es-419] Spanish (Latin America)', - '[es-ES] Spanish (Spain)', - '[fr-FR] French', - '[he-IL] Hebrew', - '[it-IT] Italian', - '[pt-BR] Portuguese (Brazil)', - '[pt-PT] Portuguese (Portugal)', - '[pl-PL] Polish', - '[ru-RU] Russian', - '[ro-RO] Romanian', - '[sv-SE] Swedish', - '[tr-TR] Turkish', - '[uk-UK] Ukrainian', - '[zh-CN] Chinese (Simplified)', - '[zh-TW] Chinese (Traditional)', - ]; - this.subOrder = [ - 'Subbed', - 'English Dub', - 'German Dub', - 'French Dub', - 'Spanish Dub', - 'Italian Dub', - 'Portuguese Dub', - ]; - /** - * @param query Search query - * @param limit Limit of results (default: 25) (max: 100) - */ - this.search = async (query, limit = 25) => { - try { - const { data } = await axios_1.default.get(`${this.baseUrl}/content/v1/search?query=${query}&limit=${limit}&channel_id=${this.channelId}&locale=${this.locale}`, this.options); - const list = data.items.map((item) => item.items).flat(); - return { - totalResults: list.length, - results: list.map((item) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; - return ({ - id: item.id, - title: item.title, - slug: item.slug_title, - description: item.description, - cover: item.images.poster_wide[item.images.poster_wide.length - 1].source, - image: item.images.poster_tall[item.images.poster_tall.length - 1].source, - type: item.media_type.replace('_listing', ''), - isNew: item.new, - ageRating: item.media_type == 'series' - ? (_a = item.series_metadata) === null || _a === void 0 ? void 0 : _a.maturity_ratings - : (_b = item.movie_listing_metadata) === null || _b === void 0 ? void 0 : _b.maturity_ratings, - isDubbed: item.media_type == 'series' - ? (_c = item.series_metadata) === null || _c === void 0 ? void 0 : _c.is_dubbed - : (_d = item.movie_listing_metadata) === null || _d === void 0 ? void 0 : _d.is_dubbed, - isAdult: item.media_type == 'series' - ? (_e = item.series_metadata) === null || _e === void 0 ? void 0 : _e.is_mature - : (_f = item.movie_listing_metadata) === null || _f === void 0 ? void 0 : _f.is_mature, - isSubbed: item.media_type == 'series' - ? (_g = item.series_metadata) === null || _g === void 0 ? void 0 : _g.is_subbed - : (_h = item.movie_listing_metadata) === null || _h === void 0 ? void 0 : _h.is_subbed, - totalEpisodes: item.media_type == 'series' ? (_j = item.series_metadata) === null || _j === void 0 ? void 0 : _j.episode_count : undefined, - totalSeasons: item.media_type == 'series' ? (_k = item.series_metadata) === null || _k === void 0 ? void 0 : _k.season_count : undefined, - }); - }), - }; - } - catch (error) { - throw new Error("Couldn't fetch data from Crunchyroll"); - } - }; - /** - * @param id Anime id - * @param mediaType Anime type (series, movie) - */ - this.fetchAnimeInfo = async (id, mediaType) => { - if (mediaType == 'series') { - const { data } = await axios_1.default.get(`${this.baseUrl}/content/v1/seasons?id=${id}&channel_id=${this.channelId}&locale=${this.locale}`, this.options); - const items = data.items.map((item) => item.episodes).flat(); - const regx_extract = /\(([^\)]+)\)[^\(]*$/gm; - const episodes = items - .map((ep) => ({ - id: ep.id, - number: ep.episode_number, - type: !ep.season_title.match(regx_extract) - ? 'Subbed' - : ep.season_title.match(regx_extract)[0].replace('(', '').replace(')', ''), - title: ep.title, - slug: ep.slug_title, - image: ep.images.thumbnail[ep.images.thumbnail.length - 1].source, - description: ep.description, - releaseDate: ep.episode_air_date, - isHD: ep.hd_flag, - isAdult: ep.is_mature, - isDubbed: ep.is_dubbed, - isSubbed: ep.is_subbed, - duration: ep.duration_ms, - })) - .sort((ep1, ep2) => { - if (ep1.type == ep2.type) - return 0; - return this.subOrder.indexOf(ep1.type) > this.subOrder.indexOf(ep2.type) ? 1 : -1; - }); - return { - id: id, - title: data.items[0].title, - slug: data.items[0].slug_title, - description: data.items[0].description, - subOrDub: models_1.SubOrSub.BOTH, - episodes: episodes, - }; - } - else { - const { data } = await axios_1.default.get(`${this.baseUrl}/content/v1/movies?id=${id}&channel_id=${this.channelId}&locale=${this.locale}`, this.options); - const episode = data.items.map((item) => ({ - id: item.id, - number: 1, - title: item.title, - slug: item.slug_title, - description: item.description, - image: item.images.poster_wide[item.images.thumbnail.length - 1].source, - })); - return { - id: id, - title: data.items[0].title, - slug: data.items[0].slug_title, - description: data.items[0].description, - cover: data.items[0].images.poster_wide[data.items[0].images.thumbnail.length - 1].source, - image: data.items[0].images.poster_wide[data.items[0].images.thumbnail.length - 1].source, - episodes: episode, - }; - } - }; - /** - * - * @param episodeId Episode id - * @param format subtitle format (default: `srt`) (srt, vtt, ass) - * @param type Video type (default: `adaptive_hls` (m3u8)) `adaptive_dash` (dash), `drm_adaptive_dash` (dash with drm) - */ - this.fetchEpisodeSources = async (episodeId, format = 'vtt', type = 'adaptive_hls') => { - const { data } = await axios_1.default.get(`${this.baseUrl}/videos/v1/streams?id=${episodeId}&channel_id=${this.channelId}&format=${format}&type=${type}`, this.options); - data.subtitles = data.subtitles.sort((a, b) => { - if (a.locale == b.locale) - return 0; - return this.locales.findIndex(l => l.includes(a.locale)) > - this.locales.findIndex(l => l.includes(b.locale)) - ? 1 - : -1; - }); - //TODO: Add hardcoded subtitles for all languages - return { - subtitles: data.subtitles.map((sub) => ({ - lang: this.locales.find(l => l.includes(sub.locale)) || sub.locale, - url: sub.url, - })), - sources: [ - { - isM3U8: type == 'adaptive_hls', - url: data.streams[data.streams.length - 1].url, - }, - ], - }; - }; - /** - * - * @param episodeId Episode id - */ - this.fetchEpisodeServers = (episodeId) => { - throw new Error('Method not implemented.'); - }; - } - async fetch(locale, token, accessToken) { - let data = undefined; - if (!token && accessToken) { - data = await axios_1.default.post(`${this.baseUrl}/auth/v1/token`, new URLSearchParams({ - device_id: 'whatvalueshouldbeforweb', - device_type: 'com.service.data', - access_token: accessToken, - }), { - headers: { - 'Content-Type': 'application/x-www-form-urlencoded', - }, - }); - } - if (locale && !this.locales.find(l => l.includes(locale))) - throw new Error('Invalid locale'); - else - this.locale = locale || this.locale; - if (locale) - this.locale = locale; - if (token) - this.TOKEN = token; - if (data) - return data.data.access_token; - else - return token; - } - /** - * - * @param locale Locale (default: en-US) (ar-ME, ar-SA, de-DE, en-US, es-419, es-ES, fr-FR, he-IL, it-IT, pt-BR, pl-PL, ru-RU, tr-TR) - * @param token Token - * @param accessToken Access Token - */ - static async create(locale, token, accessToken) { - const instance = new Crunchyroll(); - const data = await instance.fetch(locale, token, accessToken); - instance.TOKEN = data; - instance.options.headers.Authorization = 'Bearer ' + instance.TOKEN; - return instance; - } -} -// (async () => { -// const anime = await Crunchyroll.create('fr-FRs', 'O+xmBPFx1UxoAiQYjDc9YYq01SdCZo1ABBoHDrNuIScEIKmYfIZoj57l1xeoLWGW3R2ZlxPlyqUf5R3hWzx+xSQnmPyk3GoUIFF19P0oCqp2B9ivNhtYiqir06rBK71mRzIjVUCmN3C7MvQUhH82QQWAvxsvkZ0hfhr4fY/NYzY='); -// const search = await anime.search('classroom of the elite season 2'); -// const res = await anime.fetchAnimeInfo(search.results[0].id, search.results[0].type!); -// const sources = await anime.fetchEpisodeSources(res.episodes![res.episodes?.length! - 1].id); -// console.log(sources); -// })(); -exports.default = Crunchyroll; //# sourceMappingURL=crunchyroll.js.map \ No newline at end of file diff --git a/dist/providers/anime/crunchyroll.js.map b/dist/providers/anime/crunchyroll.js.map index 66d8fd22d..6fb70c984 100644 --- a/dist/providers/anime/crunchyroll.js.map +++ b/dist/providers/anime/crunchyroll.js.map @@ -1 +1 @@ -{"version":3,"file":"crunchyroll.js","sourceRoot":"","sources":["../../../src/providers/anime/crunchyroll.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAE1B,yCAWsB;AACtB,uCAAyC;AAEzC,MAAM,WAAY,SAAQ,oBAAW;IAArC;;QACoB,SAAI,GAAG,aAAa,CAAC;QACpB,YAAO,GAAG,2BAA2B,CAAC;QACtC,SAAI,GACrB,2GAA2G,CAAC;QAC3F,cAAS,GAAG,mBAAmB,CAAC;QAE3C,WAAM,GAAG,OAAO,CAAC;QACjB,cAAS,GAAG,aAAa,CA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AM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAe,EAAE,KAAc,EAAE,WAAoB;QACvE,MAAM,QAAQ,GAAG,IAAI,WAAW,EAAE,CAAC;QACnC,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC;QAC9D,QAAQ,CAAC,KAAK,GAAG,IAAI,CAAC;QACtB,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,GAAG,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC;QACpE,OAAO,QAAQ,CAAC;IAClB,CAAC;CA8KF;AAED,iBAAiB;AACjB,sOAAsO;AACtO,0EAA0E;AAC1E,2FAA2F;AAC3F,kGAAkG;AAClG,0BAA0B;AAC1B,QAAQ;AACR,kBAAe,WAAW,CAAC"} \ No newline at end of file +{"version":3,"file":"crunchyroll.js","sourceRoot":"","sources":["../../../src/providers/anime/crunchyroll.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/providers/anime/index.d.ts b/dist/providers/anime/index.d.ts index 147e9e983..e9b8c0b75 100644 --- a/dist/providers/anime/index.d.ts +++ b/dist/providers/anime/index.d.ts @@ -4,7 +4,7 @@ import AnimePahe from './animepahe'; import Zoro from './zoro'; import AnimeFox from './animefox'; import Enime from './enime'; -import Crunchyroll from './crunchyroll'; +import Crunchyroll from './kamyroll'; import Bilibili from './bilibili'; declare const _default: { Gogoanime: typeof Gogoanime; diff --git a/dist/providers/anime/index.js b/dist/providers/anime/index.js index 338f2c7bb..fc7354125 100644 --- a/dist/providers/anime/index.js +++ b/dist/providers/anime/index.js @@ -9,7 +9,7 @@ const animepahe_1 = __importDefault(require("./animepahe")); const zoro_1 = __importDefault(require("./zoro")); const animefox_1 = __importDefault(require("./animefox")); const enime_1 = __importDefault(require("./enime")); -const crunchyroll_1 = __importDefault(require("./crunchyroll")); +const kamyroll_1 = __importDefault(require("./kamyroll")); const bilibili_1 = __importDefault(require("./bilibili")); -exports.default = { Gogoanime: gogoanime_1.default, NineAnime: _9anime_1.default, AnimePahe: animepahe_1.default, Zoro: zoro_1.default, AnimeFox: animefox_1.default, Enime: enime_1.default, Crunchyroll: crunchyroll_1.default, Bilibili: bilibili_1.default }; +exports.default = { Gogoanime: gogoanime_1.default, NineAnime: _9anime_1.default, AnimePahe: animepahe_1.default, Zoro: zoro_1.default, AnimeFox: animefox_1.default, Enime: enime_1.default, Crunchyroll: kamyroll_1.default, Bilibili: bilibili_1.default }; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/providers/anime/index.js.map b/dist/providers/anime/index.js.map index 1a13e194e..4a787c3f5 100644 --- a/dist/providers/anime/index.js.map +++ b/dist/providers/anime/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/anime/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAoC;AACpC,uDAAiC;AACjC,4DAAoC;AACpC,kDAA0B;AAC1B,0DAAkC;AAClC,oDAA4B;AAC5B,gEAAwC;AACxC,0DAAkC;AAElC,kBAAe,EAAE,SAAS,EAAT,mBAAS,EAAE,SAAS,EAAT,iBAAS,EAAE,SAAS,EAAT,mBAAS,EAAE,IAAI,EAAJ,cAAI,EAAE,QAAQ,EAAR,kBAAQ,EAAE,KAAK,EAAL,eAAK,EAAE,WAAW,EAAX,qBAAW,EAAE,QAAQ,EAAR,kBAAQ,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/anime/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAoC;AACpC,uDAAiC;AACjC,4DAAoC;AACpC,kDAA0B;AAC1B,0DAAkC;AAClC,oDAA4B;AAC5B,0DAAqC;AACrC,0DAAkC;AAElC,kBAAe,EAAE,SAAS,EAAT,mBAAS,EAAE,SAAS,EAAT,iBAAS,EAAE,SAAS,EAAT,mBAAS,EAAE,IAAI,EAAJ,cAAI,EAAE,QAAQ,EAAR,kBAAQ,EAAE,KAAK,EAAL,eAAK,EAAE,WAAW,EAAX,kBAAW,EAAE,QAAQ,EAAR,kBAAQ,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/providers/anime/kamyroll.d.ts b/dist/providers/anime/kamyroll.d.ts new file mode 100644 index 000000000..c479b9615 --- /dev/null +++ b/dist/providers/anime/kamyroll.d.ts @@ -0,0 +1,44 @@ +import { AnimeParser, ISearch, IAnimeInfo, IAnimeResult, ISource, IEpisodeServer } from '../../models'; +declare class Kamyroll extends AnimeParser { + readonly name = "Kamyroll"; + protected baseUrl: string; + protected logo: string; + protected classPath: string; + private locale; + private channelId; + private TOKEN; + private options; + private locales; + private subOrder; + fetch(locale?: string, token?: string, accessToken?: string): Promise; + /** + * + * @param locale Locale (default: en-US) (ar-ME, ar-SA, de-DE, en-US, es-419, es-ES, fr-FR, he-IL, it-IT, pt-BR, pl-PL, ru-RU, tr-TR) + * @param token Token + * @param accessToken Access Token + */ + static create(locale?: string, token?: string, accessToken?: string): Promise; + /** + * @param query Search query + * @param limit Limit of results (default: 25) (max: 100) + */ + search: (query: string, limit?: number) => Promise>; + /** + * @param id Anime id + * @param mediaType Anime type (series, movie) + */ + fetchAnimeInfo: (id: string, mediaType: string) => Promise; + /** + * + * @param episodeId Episode id + * @param format subtitle format (default: `srt`) (srt, vtt, ass) + * @param type Video type (default: `adaptive_hls` (m3u8)) `adaptive_dash` (dash), `drm_adaptive_dash` (dash with drm) + */ + fetchEpisodeSources: (episodeId: string, format?: string, type?: string) => Promise; + /** + * + * @param episodeId Episode id + */ + fetchEpisodeServers: (episodeId: string) => Promise; +} +export default Kamyroll; diff --git a/dist/providers/anime/kamyroll.js b/dist/providers/anime/kamyroll.js new file mode 100644 index 000000000..263cee491 --- /dev/null +++ b/dist/providers/anime/kamyroll.js @@ -0,0 +1,247 @@ +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const axios_1 = __importDefault(require("axios")); +const models_1 = require("../../models"); +const utils_1 = require("../../utils"); +class Kamyroll extends models_1.AnimeParser { + constructor() { + super(...arguments); + this.name = 'Kamyroll'; + this.baseUrl = 'https://api.kamyroll.tech'; + this.logo = 'https://play-lh.googleusercontent.com/CjzbMcLbmTswzCGauGQExkFsSHvwjKEeWLbVVJx0B-J9G6OQ-UCl2eOuGBfaIozFqow'; + this.classPath = 'ANIME.Kamyroll'; + this.locale = 'en-US'; + this.channelId = 'crunchyroll'; + this.TOKEN = undefined; + this.options = { + headers: { + 'User-Agent': utils_1.USER_AGENT, + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Bearer ' + this.TOKEN, + }, + }; + this.locales = [ + '[ar-ME] Arabic', + '[ar-SA] Arabic (Saudi Arabia)', + '[de-DE] German', + '[en-US] English', + '[es-419] Spanish (Latin America)', + '[es-ES] Spanish (Spain)', + '[fr-FR] French', + '[he-IL] Hebrew', + '[it-IT] Italian', + '[pt-BR] Portuguese (Brazil)', + '[pt-PT] Portuguese (Portugal)', + '[pl-PL] Polish', + '[ru-RU] Russian', + '[ro-RO] Romanian', + '[sv-SE] Swedish', + '[tr-TR] Turkish', + '[uk-UK] Ukrainian', + '[zh-CN] Chinese (Simplified)', + '[zh-TW] Chinese (Traditional)', + ]; + this.subOrder = [ + 'Subbed', + 'English Dub', + 'German Dub', + 'French Dub', + 'Spanish Dub', + 'Italian Dub', + 'Portuguese Dub', + ]; + /** + * @param query Search query + * @param limit Limit of results (default: 25) (max: 100) + */ + this.search = async (query, limit = 25) => { + try { + const { data } = await axios_1.default.get(`${this.baseUrl}/content/v1/search?query=${query}&limit=${limit}&channel_id=${this.channelId}&locale=${this.locale}`, this.options); + const list = data.items.map((item) => item.items).flat(); + return { + totalResults: list.length, + results: list.map((item) => { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; + return ({ + id: item.id, + title: item.title, + slug: item.slug_title, + description: item.description, + cover: item.images.poster_wide[item.images.poster_wide.length - 1].source, + image: item.images.poster_tall[item.images.poster_tall.length - 1].source, + type: item.media_type.replace('_listing', ''), + isNew: item.new, + ageRating: item.media_type == 'series' + ? (_a = item.series_metadata) === null || _a === void 0 ? void 0 : _a.maturity_ratings + : (_b = item.movie_listing_metadata) === null || _b === void 0 ? void 0 : _b.maturity_ratings, + isDubbed: item.media_type == 'series' + ? (_c = item.series_metadata) === null || _c === void 0 ? void 0 : _c.is_dubbed + : (_d = item.movie_listing_metadata) === null || _d === void 0 ? void 0 : _d.is_dubbed, + isAdult: item.media_type == 'series' + ? (_e = item.series_metadata) === null || _e === void 0 ? void 0 : _e.is_mature + : (_f = item.movie_listing_metadata) === null || _f === void 0 ? void 0 : _f.is_mature, + isSubbed: item.media_type == 'series' + ? (_g = item.series_metadata) === null || _g === void 0 ? void 0 : _g.is_subbed + : (_h = item.movie_listing_metadata) === null || _h === void 0 ? void 0 : _h.is_subbed, + totalEpisodes: item.media_type == 'series' ? (_j = item.series_metadata) === null || _j === void 0 ? void 0 : _j.episode_count : undefined, + totalSeasons: item.media_type == 'series' ? (_k = item.series_metadata) === null || _k === void 0 ? void 0 : _k.season_count : undefined, + }); + }), + }; + } + catch (error) { + throw new Error("Couldn't fetch data from Crunchyroll"); + } + }; + /** + * @param id Anime id + * @param mediaType Anime type (series, movie) + */ + this.fetchAnimeInfo = async (id, mediaType) => { + if (mediaType == 'series') { + const { data } = await axios_1.default.get(`${this.baseUrl}/content/v1/seasons?id=${id}&channel_id=${this.channelId}&locale=${this.locale}`, this.options); + const items = data.items.map((item) => item.episodes).flat(); + const regx_extract = /\(([^\)]+)\)[^\(]*$/gm; + const episodes = items + .map((ep) => ({ + id: ep.id, + number: ep.episode_number, + type: !ep.season_title.match(regx_extract) + ? 'Subbed' + : ep.season_title.match(regx_extract)[0].replace('(', '').replace(')', ''), + title: ep.title, + slug: ep.slug_title, + image: ep.images.thumbnail[ep.images.thumbnail.length - 1].source, + description: ep.description, + releaseDate: ep.episode_air_date, + isHD: ep.hd_flag, + isAdult: ep.is_mature, + isDubbed: ep.is_dubbed, + isSubbed: ep.is_subbed, + duration: ep.duration_ms, + })) + .sort((ep1, ep2) => { + if (ep1.type == ep2.type) + return 0; + return this.subOrder.indexOf(ep1.type) > this.subOrder.indexOf(ep2.type) ? 1 : -1; + }); + return { + id: id, + title: data.items[0].title, + slug: data.items[0].slug_title, + description: data.items[0].description, + subOrDub: models_1.SubOrSub.BOTH, + episodes: episodes, + }; + } + else { + const { data } = await axios_1.default.get(`${this.baseUrl}/content/v1/movies?id=${id}&channel_id=${this.channelId}&locale=${this.locale}`, this.options); + const episode = data.items.map((item) => ({ + id: item.id, + number: 1, + title: item.title, + slug: item.slug_title, + description: item.description, + image: item.images.poster_wide[item.images.thumbnail.length - 1].source, + })); + return { + id: id, + title: data.items[0].title, + slug: data.items[0].slug_title, + description: data.items[0].description, + cover: data.items[0].images.poster_wide[data.items[0].images.thumbnail.length - 1].source, + image: data.items[0].images.poster_wide[data.items[0].images.thumbnail.length - 1].source, + episodes: episode, + }; + } + }; + /** + * + * @param episodeId Episode id + * @param format subtitle format (default: `srt`) (srt, vtt, ass) + * @param type Video type (default: `adaptive_hls` (m3u8)) `adaptive_dash` (dash), `drm_adaptive_dash` (dash with drm) + */ + this.fetchEpisodeSources = async (episodeId, format = 'vtt', type = 'adaptive_hls') => { + const { data } = await axios_1.default.get(`${this.baseUrl}/videos/v1/streams?id=${episodeId}&channel_id=${this.channelId}&format=${format}&type=${type}`, this.options); + data.subtitles = data.subtitles.sort((a, b) => { + if (a.locale == b.locale) + return 0; + return this.locales.findIndex(l => l.includes(a.locale)) > + this.locales.findIndex(l => l.includes(b.locale)) + ? 1 + : -1; + }); + //TODO: Add hardcoded subtitles for all languages + return { + subtitles: data.subtitles.map((sub) => ({ + lang: this.locales.find(l => l.includes(sub.locale)) || sub.locale, + url: sub.url, + })), + sources: [ + { + isM3U8: type == 'adaptive_hls', + url: data.streams[data.streams.length - 1].url, + }, + ], + }; + }; + /** + * + * @param episodeId Episode id + */ + this.fetchEpisodeServers = (episodeId) => { + throw new Error('Method not implemented.'); + }; + } + async fetch(locale, token, accessToken) { + let data = undefined; + if (!token && accessToken) { + data = await axios_1.default.post(`${this.baseUrl}/auth/v1/token`, new URLSearchParams({ + device_id: 'whatvalueshouldbeforweb', + device_type: 'com.service.data', + access_token: accessToken, + }), { + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + }, + }); + } + if (locale && !this.locales.find(l => l.includes(locale))) + throw new Error('Invalid locale'); + else + this.locale = locale || this.locale; + if (locale) + this.locale = locale; + if (token) + this.TOKEN = token; + if (data) + return data.data.access_token; + else + return token; + } + /** + * + * @param locale Locale (default: en-US) (ar-ME, ar-SA, de-DE, en-US, es-419, es-ES, fr-FR, he-IL, it-IT, pt-BR, pl-PL, ru-RU, tr-TR) + * @param token Token + * @param accessToken Access Token + */ + static async create(locale, token, accessToken) { + const instance = new Kamyroll(); + const data = await instance.fetch(locale, token, accessToken); + instance.TOKEN = data; + instance.options.headers.Authorization = 'Bearer ' + instance.TOKEN; + return instance; + } +} +// (async () => { +// const anime = await Crunchyroll.create('fr-FRs', 'O+xmBPFx1UxoAiQYjDc9YYq01SdCZo1ABBoHDrNuIScEIKmYfIZoj57l1xeoLWGW3R2ZlxPlyqUf5R3hWzx+xSQnmPyk3GoUIFF19P0oCqp2B9ivNhtYiqir06rBK71mRzIjVUCmN3C7MvQUhH82QQWAvxsvkZ0hfhr4fY/NYzY='); +// const search = await anime.search('classroom of the elite season 2'); +// const res = await anime.fetchAnimeInfo(search.results[0].id, search.results[0].type!); +// const sources = await anime.fetchEpisodeSources(res.episodes![res.episodes?.length! - 1].id); +// console.log(sources); +// })(); +exports.default = Kamyroll; +//# sourceMappingURL=kamyroll.js.map \ No newline at end of file diff --git a/dist/providers/anime/kamyroll.js.map b/dist/providers/anime/kamyroll.js.map new file mode 100644 index 000000000..84e1e0195 --- /dev/null +++ b/dist/providers/anime/kamyroll.js.map @@ -0,0 +1 @@ +{"version":3,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AK,CAAC,gBAAgB,CAAC,CAAC;;YACxF,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC;QACzC,IAAI,MAAM;YAAE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACjC,IAAI,KAAK;YAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAE9B,IAAI,IAAI;YAAE,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC;;YACnC,OAAO,KAAK,CAAC;IACpB,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAe,EAAE,KAAc,EAAE,WAAoB;QACvE,MAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC;QAC9D,QAAQ,CAAC,KAAK,GAAG,IAAI,CAAC;QACtB,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,GAAG,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC;QACpE,OAAO,QAAQ,CAAC;IAClB,CAAC;CA8KF;AAED,iBAAiB;AACjB,sOAAsO;AACtO,0EAA0E;AAC1E,2FAA2F;AAC3F,kGAAkG;AAClG,0BAA0B;AAC1B,QAAQ;AACR,kBAAe,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/providers/meta/anilist.js b/dist/providers/meta/anilist.js index e7d1e81b2..7a607948b 100644 --- a/dist/providers/meta/anilist.js +++ b/dist/providers/meta/anilist.js @@ -11,7 +11,7 @@ const gogoanime_1 = __importDefault(require("../../providers/anime/gogoanime")); const enime_1 = __importDefault(require("../anime/enime")); const zoro_1 = __importDefault(require("../anime/zoro")); const mangasee123_1 = __importDefault(require("../manga/mangasee123")); -const crunchyroll_1 = __importDefault(require("../anime/crunchyroll")); +const kamyroll_1 = __importDefault(require("../anime/kamyroll")); const bilibili_1 = __importDefault(require("../anime/bilibili")); const utils_2 = require("../../utils/utils"); class Anilist extends models_1.AnimeParser { @@ -559,7 +559,7 @@ class Anilist extends models_1.AnimeParser { return (await this.provider.fetchAnimeInfoByAnilistId(anilistId)).episodes; const slug = title.replace(/[^0-9a-zA-Z]+/g, ' '); let possibleAnime; - if (malId && !(this.provider instanceof crunchyroll_1.default || this.provider instanceof bilibili_1.default)) { + if (malId && !(this.provider instanceof kamyroll_1.default || this.provider instanceof bilibili_1.default)) { const malAsyncReq = await (0, axios_1.default)({ method: 'GET', url: `${this.malSyncUrl}/mal/anime/${malId}`, @@ -618,7 +618,7 @@ class Anilist extends models_1.AnimeParser { } }); } - if (this.provider instanceof crunchyroll_1.default) { + if (this.provider instanceof kamyroll_1.default) { return dub ? possibleAnime.episodes.filter((ep) => ep.isDubbed) : possibleAnime.episodes.filter((ep) => ep.type == 'Subbed'); @@ -940,7 +940,7 @@ class Anilist extends models_1.AnimeParser { } }; this.findAnimeRaw = async (slug, externalLinks) => { - if (externalLinks && this.provider instanceof crunchyroll_1.default) { + if (externalLinks && this.provider instanceof kamyroll_1.default) { if (externalLinks.map((link) => link.site.includes('Crunchyroll'))) { const link = externalLinks.find((link) => link.site.includes('Crunchyroll')); const { request } = await axios_1.default.get(link.url, { validateStatus: () => true }); @@ -971,7 +971,7 @@ class Anilist extends models_1.AnimeParser { // Sort in descending order return secondRating - firstRating; }); - if (this.provider instanceof crunchyroll_1.default) { + if (this.provider instanceof kamyroll_1.default) { return await this.provider.fetchAnimeInfo(findAnime.results[0].id, findAnime.results[0].type); } // TODO: use much better way than this diff --git a/dist/providers/meta/anilist.js.map b/dist/providers/meta/anilist.js.map index 77cbdcacc..4172ab5a0 100644 --- a/dist/providers/meta/anilist.js.map +++ b/dist/providers/meta/anilist.js.map @@ -1 +1 @@ -{"version":3,"file":"anilist.js","sourceRoot":"","sources":["../../../src/providers/meta/anilist.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,yCAmBsB;AACtB,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,CAAC,MAAM;wBACnG,KAAK,EAAE,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU,0CAAE,KAAK;wBAClC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM;wBACtB,KAAK,EACH,MAAA,MAAA,MAAA,IAAI,CAAC,IAAI,CAAC,WAAW,mCACrB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,mCAC/B,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,mCAC1B,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM;wBAC7B,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS;qBAC5B,CAAC,CAAA;iBAAA,CAAC,CAAC;gBAEJ,SAAS,CAAC,QAAQ,GAAG,MAAM,IAAI,OAAO,EAAE,CAAC,SAAS,CAChD,IAAI,CAAC,QAAQ,EACb,EAAE,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,OAAQ,EAAE,MAAM,EAAE,SAAS,CAAC,KAAK,CAAC,MAAO,EAAE,EACtE,SAAS,CAAC,KAAe,CAC1B,CAAC;gBACF,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;gBAElD,OAAO,SAAS,CAAC;aAClB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAE,KAAe,CAAC,OAAO,CAAC,CAAC;aACvC;QACH,CAAC,CAAC;QA3PA,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,IAAI,qBAAW,EAAE,CAAC;IAChD,CAAC;CA2PD,CAAA;AAkFJ,iBAAiB;AACjB,yCAAyC;AAEzC,mDAAmD;AACnD,8EAA8E;AAC9E,0BAA0B;AAC1B,QAAQ;AAER,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/providers/meta/index.d.ts b/dist/providers/meta/index.d.ts index 140624da4..dae807b8b 100644 --- a/dist/providers/meta/index.d.ts +++ b/dist/providers/meta/index.d.ts @@ -1,7 +1,9 @@ import Anilist from './anilist'; import Myanimelist from './mal'; +import TMDB from './tmdb'; declare const _default: { Anilist: typeof Anilist; Myanimelist: typeof Myanimelist; + TMDB: typeof TMDB; }; export default _default; diff --git a/dist/providers/meta/index.js b/dist/providers/meta/index.js index 0e090c91e..6bd6a5182 100644 --- a/dist/providers/meta/index.js +++ b/dist/providers/meta/index.js @@ -5,5 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const anilist_1 = __importDefault(require("./anilist")); const mal_1 = __importDefault(require("./mal")); -exports.default = { Anilist: anilist_1.default, Myanimelist: mal_1.default }; +const tmdb_1 = __importDefault(require("./tmdb")); +exports.default = { Anilist: anilist_1.default, Myanimelist: mal_1.default, TMDB: tmdb_1.default }; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/providers/meta/index.js.map b/dist/providers/meta/index.js.map index 86dcf4c11..bab6ceb91 100644 --- a/dist/providers/meta/index.js.map +++ b/dist/providers/meta/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/meta/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAChC,gDAAgC;AAEhC,kBAAe,EAAE,OAAO,EAAP,iBAAO,EAAE,WAAW,EAAX,aAAW,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/meta/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAgC;AAChC,gDAAgC;AAChC,kDAA0B;AAE1B,kBAAe,EAAE,OAAO,EAAP,iBAAO,EAAE,WAAW,EAAX,aAAW,EAAE,IAAI,EAAJ,cAAI,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/providers/meta/mal.js b/dist/providers/meta/mal.js index 519404371..09925a67a 100644 --- a/dist/providers/meta/mal.js +++ b/dist/providers/meta/mal.js @@ -9,7 +9,7 @@ const models_1 = require("../../models"); const utils_1 = require("../../utils"); const gogoanime_1 = __importDefault(require("../anime/gogoanime")); const zoro_1 = __importDefault(require("../anime/zoro")); -const crunchyroll_1 = __importDefault(require("../anime/crunchyroll")); +const kamyroll_1 = __importDefault(require("../anime/kamyroll")); const enime_1 = __importDefault(require("../anime/enime")); const bilibili_1 = __importDefault(require("../anime/bilibili")); class Myanimelist extends models_1.AnimeParser { @@ -155,7 +155,7 @@ class Myanimelist extends models_1.AnimeParser { } }; this.findAnimeRaw = async (slug, externalLinks) => { - if (externalLinks && this.provider instanceof crunchyroll_1.default) { + if (externalLinks && this.provider instanceof kamyroll_1.default) { if (externalLinks.map((link) => link.site.includes('Crunchyroll'))) { const link = externalLinks.find((link) => link.site.includes('Crunchyroll')); const { request } = await axios_1.default.get(link.url, { validateStatus: () => true }); @@ -186,7 +186,7 @@ class Myanimelist extends models_1.AnimeParser { // Sort in descending order return secondRating - firstRating; }); - if (this.provider instanceof crunchyroll_1.default) { + if (this.provider instanceof kamyroll_1.default) { return await this.provider.fetchAnimeInfo(findAnime.results[0].id, findAnime.results[0].type); } // TODO: use much better way than this @@ -198,7 +198,7 @@ class Myanimelist extends models_1.AnimeParser { return (await this.provider.fetchAnimeInfoByMalId(malId)).episodes; const slug = title.replace(/[^0-9a-zA-Z]+/g, ' '); let possibleAnime; - if (malId && !(this.provider instanceof crunchyroll_1.default || this.provider instanceof bilibili_1.default)) { + if (malId && !(this.provider instanceof kamyroll_1.default || this.provider instanceof bilibili_1.default)) { const malAsyncReq = await (0, axios_1.default)({ method: 'GET', url: `${this.malSyncUrl}/mal/anime/${malId}`, @@ -257,7 +257,7 @@ class Myanimelist extends models_1.AnimeParser { } }); } - if (this.provider instanceof crunchyroll_1.default) { + if (this.provider instanceof kamyroll_1.default) { return dub ? possibleAnime.episodes.filter((ep) => ep.isDubbed) : possibleAnime.episodes.filter((ep) => ep.type == 'Subbed'); diff --git a/dist/providers/meta/mal.js.map b/dist/providers/meta/mal.js.map index 8683908fc..b731c68dc 100644 --- a/dist/providers/meta/mal.js.map +++ b/dist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AAC,mBAAmB,CAAC,SAAS,EAAE,GAAG,IAAI,CAAC,CAAC;IAC/D,CAAC;IACD,mBAAmB,CAAC,SAAiB;QACnC,OAAO,IAAI,CAAC,QAAQ,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACtD,CAAC;CAkWF;AAED,kBAAe,WAAW,CAAC;AAE3B,iBAAiB;AACjB,mCAAmC;AACnC,oDAAoD;AACpD,QAAQ"} \ No newline at end of file diff --git a/dist/providers/meta/tmdb.d.ts b/dist/providers/meta/tmdb.d.ts index cb0ff5c3b..2b0668fbd 100644 --- a/dist/providers/meta/tmdb.d.ts +++ b/dist/providers/meta/tmdb.d.ts @@ -1 +1,40 @@ -export {}; +import { ISearch, IAnimeInfo, IAnimeResult, ISource, IEpisodeServer, MovieParser, TvType, IMovieResult, IMovieInfo, ProxyConfig } from '../../models'; +declare class TMDB extends MovieParser { + private apiKey; + readonly name = "TMDB"; + protected baseUrl: string; + protected apiUrl: string; + protected logo: string; + protected classPath: string; + supportedTypes: Set; + private provider; + constructor(apiKey?: string, provider?: MovieParser, proxyConfig?: ProxyConfig); + /** + * @param query search query + * @param page page number + */ + search: (query: string, page?: number) => Promise>; + /** + * @param id media id (anime or movie/tv) + * @param type movie or tv + */ + fetchMediaInfo: (mediaId: string, type: string) => Promise; + /** + * Find the id of a media from its title. and extra data. (year, totalSeasons, totalEpisodes) + * @param title + * @param extraData + * @returns id of the media + */ + private findIdFromTitle; + /** + * @param id media id (anime or movie/tv) + * @param args optional arguments + */ + fetchEpisodeSources: (id: string, ...args: any) => Promise; + /** + * @param episodeId episode id + * @param args optional arguments + **/ + fetchEpisodeServers: (episodeId: string, ...args: any) => Promise; +} +export default TMDB; diff --git a/dist/providers/meta/tmdb.js b/dist/providers/meta/tmdb.js index df88c7e6a..63d9d520e 100644 --- a/dist/providers/meta/tmdb.js +++ b/dist/providers/meta/tmdb.js @@ -1,22 +1,231 @@ "use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); const models_1 = require("../../models"); -/** - * Work in progress - */ -class Tmdb extends models_1.MovieParser { - constructor(provider) { - super(); - this.name = 'Tmbd'; - this.baseUrl = 'https://www.themoviedb.org/'; - this.logo = 'https://img.flixhq.to/xxrz/400x400/100/ab/5f/ab5f0e1996cc5b71919e10e910ad593e/ab5f0e1996cc5b71919e10e910ad593e.png'; - this.classPath = 'MOVIES.Tmbd'; +const utils_1 = require("../../utils"); +const flixhq_1 = __importDefault(require("../movies/flixhq")); +class TMDB extends models_1.MovieParser { + constructor(apiKey = '5201b54eb0968700e693a30576d7d4dc', provider, proxyConfig) { + super('https://api.themoviedb.org/3', proxyConfig); + this.apiKey = apiKey; + this.name = 'TMDB'; + this.baseUrl = 'https://www.themoviedb.org'; + this.apiUrl = 'https://api.themoviedb.org/3'; + this.logo = 'https://pbs.twimg.com/profile_images/1243623122089041920/gVZIvphd_400x400.jpg'; + this.classPath = 'MOVIES.TMDB'; this.supportedTypes = new Set([models_1.TvType.MOVIE, models_1.TvType.TVSERIES, models_1.TvType.ANIME]); + /** + * @param query search query + * @param page page number + */ this.search = async (query, page = 1) => { - throw new Error('Method not implemented.'); + const searchUrl = `/search/multi?api_key=${this.apiKey}&language=en-US&page=${page}&include_adult=false&query=${query}`; + const search = { + currentPage: 1, + results: [], + }; + try { + const { data } = await this.client.get(searchUrl); + if (data.results.length < 1) + return search; + data.results.forEach((result) => { + const date = new Date((result === null || result === void 0 ? void 0 : result.release_date) || (result === null || result === void 0 ? void 0 : result.first_air_date)); + const movie = { + id: result.id, + title: (result === null || result === void 0 ? void 0 : result.title) || (result === null || result === void 0 ? void 0 : result.name), + image: `https://image.tmdb.org/t/p/original${result === null || result === void 0 ? void 0 : result.poster_path}`, + type: result.media_type === 'movie' ? models_1.TvType.MOVIE : models_1.TvType.TVSERIES, + rating: (result === null || result === void 0 ? void 0 : result.vote_average) || 0, + releaseDate: `${date.getFullYear()}` || '0', + }; + return search.results.push(movie); + }); + return search; + } + catch (err) { + throw new Error(err.message); + } + }; + /** + * @param id media id (anime or movie/tv) + * @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; + type = type.toLowerCase() === 'movie' ? 'movie' : 'tv'; + const infoUrl = `/${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 = { + id: mediaId, + title: '', + }; + try { + const { data } = await this.client.get(infoUrl); + //get provider id from title and year (if available) to get the correct provider id for the movie/tv series (e.g. flixhq) + const providerId = await this.findIdFromTitle((data === null || data === void 0 ? void 0 : data.title) || (data === null || data === void 0 ? void 0 : data.name), { + type: type === 'movie' ? models_1.TvType.MOVIE : models_1.TvType.TVSERIES, + totalSeasons: data === null || data === void 0 ? void 0 : data.number_of_seasons, + totalEpisodes: data === null || data === void 0 ? void 0 : data.number_of_episodes, + year: new Date((data === null || data === void 0 ? void 0 : data.release_year) || (data === null || data === void 0 ? void 0 : data.first_air_date)).getFullYear(), + }); + info.id = providerId || mediaId; + info.title = (data === null || data === void 0 ? void 0 : data.title) || (data === null || data === void 0 ? void 0 : data.name); + info.image = `https://image.tmdb.org/t/p/original${data === null || data === void 0 ? void 0 : data.poster_path}`; + info.cover = `https://image.tmdb.org/t/p/original${data === null || data === void 0 ? void 0 : data.backdrop_path}`; + info.type = type === 'movie' ? models_1.TvType.MOVIE : models_1.TvType.TVSERIES; + info.rating = (data === null || data === void 0 ? void 0 : data.vote_average) || 0; + info.releaseDate = (data === null || data === void 0 ? void 0 : data.release_date) || (data === null || data === void 0 ? void 0 : data.first_air_date); + info.description = data === null || data === void 0 ? void 0 : data.overview; + info.genres = data === null || data === void 0 ? void 0 : data.genres.map((genre) => genre.name); + info.duration = (data === null || data === void 0 ? void 0 : data.runtime) || (data === null || data === void 0 ? void 0 : data.episode_run_time[0]); + info.totalEpisodes = data === null || data === void 0 ? void 0 : data.number_of_episodes; + info.totalSeasons = data === null || data === void 0 ? void 0 : data.number_of_seasons; + info.directors = (_a = data === null || data === void 0 ? void 0 : data.credits) === null || _a === void 0 ? void 0 : _a.crew.filter((crew) => crew.job === 'Director').map((crew) => crew.name); + info.writers = (_b = data === null || data === void 0 ? void 0 : data.credits) === null || _b === void 0 ? void 0 : _b.crew.filter((crew) => crew.job === 'Screenplay').map((crew) => crew.name); + info.actors = (_c = data === null || data === void 0 ? void 0 : data.credits) === null || _c === void 0 ? void 0 : _c.cast.map((cast) => cast.name); + info.trailer = { + id: (_e = (_d = data === null || data === void 0 ? void 0 : data.videos) === null || _d === void 0 ? void 0 : _d.results[0]) === null || _e === void 0 ? void 0 : _e.key, + site: (_g = (_f = data === null || data === void 0 ? void 0 : data.videos) === null || _f === void 0 ? void 0 : _f.results[0]) === null || _g === void 0 ? void 0 : _g.site, + url: `https://www.youtube.com/watch?v=${(_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}`, + }; + info.similar = + ((_l = (_k = data === null || data === void 0 ? void 0 : data.similar) === null || _k === void 0 ? void 0 : _k.results) === null || _l === void 0 ? void 0 : _l.length) <= 0 + ? undefined + : (_m = data === null || data === void 0 ? void 0 : data.similar) === null || _m === void 0 ? void 0 : _m.results.map((result) => { + return { + id: result.id, + title: result.title || result.name, + image: `https://image.tmdb.org/t/p/original${result.poster_path}`, + type: type === 'movie' ? models_1.TvType.MOVIE : models_1.TvType.TVSERIES, + rating: result.vote_average || 0, + releaseDate: result.release_date || result.first_air_date, + }; + }); + info.recommendations = + ((_p = (_o = data === null || data === void 0 ? void 0 : data.recommendations) === null || _o === void 0 ? void 0 : _o.results) === null || _p === void 0 ? void 0 : _p.length) <= 0 + ? undefined + : (_q = data === null || data === void 0 ? void 0 : data.recommendations) === null || _q === void 0 ? void 0 : _q.results.map((result) => { + return { + id: result.id, + title: result.title || result.name, + image: `https://image.tmdb.org/t/p/original${result.poster_path}`, + type: type === 'movie' ? models_1.TvType.MOVIE : models_1.TvType.TVSERIES, + rating: result.vote_average || 0, + releaseDate: result.release_date || result.first_air_date, + }; + }); + const totalSeasons = (info === null || info === void 0 ? void 0 : info.totalSeasons) || 0; + if (type === 'tv' && totalSeasons > 0) { + const seasonUrl = (season) => `/tv/${mediaId}/season/${season}?api_key=${this.apiKey}`; + info.seasons = []; + const seasons = info.seasons; + const InfoFromProvider = await this.provider.fetchMediaInfo(providerId); + const providerEpisodes = InfoFromProvider === null || InfoFromProvider === void 0 ? void 0 : InfoFromProvider.episodes; + if ((providerEpisodes === null || providerEpisodes === void 0 ? void 0 : providerEpisodes.length) < 1) + return info; + 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 = ((_r = seasonData === null || seasonData === void 0 ? void 0 : seasonData.episodes) === null || _r === void 0 ? void 0 : _r.length) <= 0 + ? undefined + : seasonData === null || seasonData === void 0 ? void 0 : seasonData.episodes.map((episode) => { + //find episode in each season (seasonEpisodes) + const episodeFromProvider = seasonEpisodes === null || seasonEpisodes === void 0 ? void 0 : seasonEpisodes.find(ep => ep.number === episode.episode_number); + return { + id: episodeFromProvider === null || episodeFromProvider === void 0 ? void 0 : episodeFromProvider.id, + title: episode.name, + episode: episode.episode_number, + season: episode.season_number, + releaseDate: episode.air_date, + description: episode.overview, + url: (episodeFromProvider === null || episodeFromProvider === void 0 ? void 0 : episodeFromProvider.url) || undefined, + img: !(episode === null || episode === void 0 ? void 0 : episode.still_path) + ? undefined + : `https://image.tmdb.org/t/p/original${episode.still_path}`, + }; + }); + seasons.push({ + season: i, + image: !(seasonData === null || seasonData === void 0 ? void 0 : seasonData.poster_path) + ? undefined + : `https://image.tmdb.org/t/p/original${seasonData.poster_path}`, + episodes, + }); + } + } + } + catch (err) { + console.log(err); + throw new Error(err.message); + } + (_s = info.seasons) === null || _s === void 0 ? void 0 : _s.reverse(); + return info; }; - this.fetchMediaInfo = async (mediaId) => { - throw new Error('Not implemented'); + /** + * Find the id of a media from its title. and extra data. (year, totalSeasons, totalEpisodes) + * @param title + * @param extraData + * @returns id of the media + */ + this.findIdFromTitle = async (title, extraData) => { + var _a; + //clean title + title = title.replace(/[^a-zA-Z0-9 ]/g, '').toLowerCase(); + const findMedia = (await this.provider.search(title)); + if (findMedia.results.length === 0) + return ''; + // console.log(findMedia.results); + // console.log(extraData); + // Sort the retrieved info for more accurate results. + findMedia.results.sort((a, b) => { + var _a, _b; + const targetTitle = title; + let firstTitle; + let secondTitle; + if (typeof a.title == 'string') + firstTitle = a === null || a === void 0 ? void 0 : a.title; + else + firstTitle = (_a = a === null || a === void 0 ? void 0 : a.title) !== null && _a !== void 0 ? _a : ''; + if (typeof b.title == 'string') + secondTitle = b.title; + else + secondTitle = (_b = b === null || b === void 0 ? void 0 : b.title) !== null && _b !== void 0 ? _b : ''; + const firstRating = (0, utils_1.compareTwoStrings)(targetTitle, firstTitle.toLowerCase()); + const secondRating = (0, utils_1.compareTwoStrings)(targetTitle, secondTitle.toLowerCase()); + // Sort in descending order + return secondRating - firstRating; + }); + //remove results that dont match the type + findMedia.results = findMedia.results.filter(result => { + if (extraData.type === models_1.TvType.MOVIE) + return result.type === models_1.TvType.MOVIE; + else if (extraData.type === models_1.TvType.TVSERIES) + return result.type === models_1.TvType.TVSERIES; + else + return result; + }); + // if extraData contains a year, filter out the results that don't match the year + if (extraData && extraData.year && extraData.type === models_1.TvType.MOVIE) { + findMedia.results = findMedia.results.filter(result => { + var _a; + return ((_a = result.releaseDate) === null || _a === void 0 ? void 0 : _a.split('-')[0]) === extraData.year; + }); + } + // console.log({ test1: findMedia.results }); + // check if the result contains the total number of seasons and compare it to the extraData by 1 up or down and make sure that its a number + if (extraData && extraData.totalSeasons && extraData.type === models_1.TvType.TVSERIES) { + findMedia.results = findMedia.results.filter(result => { + const totalSeasons = result.seasons || 0; + const extraDataSeasons = extraData.totalSeasons || 0; + return (totalSeasons === extraDataSeasons || + totalSeasons === extraDataSeasons + 1 || + totalSeasons === extraDataSeasons - 1); + }); + } + // console.log(findMedia.results); + return ((_a = findMedia === null || findMedia === void 0 ? void 0 : findMedia.results[0]) === null || _a === void 0 ? void 0 : _a.id) || undefined; }; /** * @param id media id (anime or movie/tv) @@ -32,7 +241,18 @@ class Tmdb extends models_1.MovieParser { this.fetchEpisodeServers = async (episodeId, ...args) => { return this.provider.fetchEpisodeServers(episodeId, ...args); }; - this.provider = provider; + this.provider = provider || new flixhq_1.default(); } } +// (async () => { +// const tmdb = new TMDB(); +// const search = await tmdb.search('vincenzo'); +// const info = await tmdb.fetchMediaInfo(search.results[0].id, search.results![0].type as string); +// console.log(info); +// //const sources = await tmdb.fetchEpisodeSources((info.seasons as any[])![0].episodes![0].id, info.id); +// // const id = await tmdb.findIdFromTitle('avengers'); +// //console.log(info); +// // console.log((info?.seasons as any[])![0].episodes); +// })(); +exports.default = TMDB; //# sourceMappingURL=tmdb.js.map \ No newline at end of file diff --git a/dist/providers/meta/tmdb.js.map b/dist/providers/meta/tmdb.js.map index 8737f1efb..e8770ff25 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":";;AAEA,yCAcsB;AAItB;;GAEG;AACH,MAAM,IAAK,SAAQ,oBAAW;IAU5B,YAAY,QAAmC;QAC7C,KAAK,EAAE,CAAC;QAVQ,SAAI,GAAG,MAAM,CAAC;QACb,YAAO,GAAG,6BAA6B,CAAC;QACxC,SAAI,GACrB,oHAAoH,CAAC;QACpG,cAAS,GAAG,aAAa,CAAC;QACpC,mBAAc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AAuB;AACvB,4GAA4G;AAC5G,0DAA0D;AAC1D,yBAAyB;AACzB,2DAA2D;AAC3D,QAAQ;AAER,kBAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/dramacool.d.ts b/dist/providers/movies/dramacool.d.ts index bacf2bc35..43302209c 100644 --- a/dist/providers/movies/dramacool.d.ts +++ b/dist/providers/movies/dramacool.d.ts @@ -8,6 +8,7 @@ declare class Dramacool extends MovieParser { search: (query: string, page?: number) => Promise>; fetchMediaInfo: (mediaId: string) => Promise; fetchEpisodeSources: (episodeId: string, server?: StreamingServers) => Promise; - fetchEpisodeServers: (mediaLink: string, ...args: any) => Promise; + fetchEpisodeServers(episodeId: string, ...args: any): Promise; + private removeContainsFromString; } export default Dramacool; diff --git a/dist/providers/movies/dramacool.js b/dist/providers/movies/dramacool.js index 062762ee1..e3ee86687 100644 --- a/dist/providers/movies/dramacool.js +++ b/dist/providers/movies/dramacool.js @@ -6,20 +6,47 @@ Object.defineProperty(exports, "__esModule", { value: true }); const cheerio_1 = require("cheerio"); const axios_1 = __importDefault(require("axios")); const models_1 = require("../../models"); +const extractors_1 = require("../../extractors"); class Dramacool extends models_1.MovieParser { constructor() { super(...arguments); this.name = 'Dramacool'; - this.baseUrl = 'https://www1.dramacool.ee'; + this.baseUrl = 'https://www1.dramacool.cr'; this.logo = 'https://editorialge.com/media/2021/12/Dramacool.jpg'; this.classPath = 'MOVIES.Dramacool'; this.supportedTypes = new Set([models_1.TvType.MOVIE, models_1.TvType.TVSERIES]); this.search = async (query, page = 1) => { - throw new Error('Method not implemented.'); + const searchResult = { + currentPage: page, + hasNextPage: false, + results: [], + }; + try { + const { data } = await axios_1.default.get(`${this.baseUrl}/search?keyword=${query.replace(/[\W_]+/g, '-')}&page=${page}`); + const $ = (0, cheerio_1.load)(data); + const navSelector = 'ul.pagination'; + searchResult.hasNextPage = + $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('selected') : false; + $('div.block > div.tab-content > ul.list-episode-item > li').each((i, el) => { + var _a; + searchResult.results.push({ + id: (_a = $(el).find('a').attr('href')) === null || _a === void 0 ? void 0 : _a.slice(1), + title: $(el).find('a > h3').text(), + url: `${this.baseUrl}${$(el).find('a').attr('href')}`, + image: $(el).find('a > img').attr('data-original'), + }); + }); + return searchResult; + } + catch (err) { + console.log(err); + throw new Error(err.message); + } }; this.fetchMediaInfo = async (mediaId) => { - if (!mediaId.includes('drama-detail')) - mediaId = `${this.baseUrl}/drama-detail/${mediaId}`; + const realMediaId = mediaId; + if (!mediaId.startsWith(this.baseUrl)) + mediaId = `${this.baseUrl}/${mediaId}`; const mediaInfo = { id: '', title: '', @@ -27,45 +54,106 @@ class Dramacool extends models_1.MovieParser { try { const { data } = await axios_1.default.get(mediaId); const $ = (0, cheerio_1.load)(data); - mediaInfo.id = mediaId.split('/').pop().split('.')[0]; + mediaInfo.id = realMediaId; + mediaInfo.title = $('.info > h1:nth-child(1)').text(); + mediaInfo.otherNames = $('.other_name > a') + .map((i, el) => $(el).text().trim()) + .get(); + mediaInfo.image = $('div.details > div.img > img').attr('src'); + // get the 3rd p tag + mediaInfo.description = $('div.details div.info p:nth-child(6)').text(); + mediaInfo.releaseDate = this.removeContainsFromString($('div.details div.info p:contains("Released:")').text(), 'Released'); mediaInfo.episodes = []; $('div.content-left > div.block-tab > div > div > ul > li').each((i, el) => { var _a, _b, _c; (_a = mediaInfo.episodes) === null || _a === void 0 ? void 0 : _a.push({ id: (_b = $(el).find('a').attr('href')) === null || _b === void 0 ? void 0 : _b.split('.html')[0].slice(1), - title: $(el).find('h3').text(), - number: parseFloat((_c = $(el).find('a').attr('href')) === null || _c === void 0 ? void 0 : _c.split('-episode-')[1].split('.html')[0]), + title: $(el).find('h3').text().replace(mediaInfo.title.toString(), '').trim(), + episode: parseFloat((_c = $(el).find('a').attr('href')) === null || _c === void 0 ? void 0 : _c.split('-episode-')[1].split('.html')[0].split('-').join('.')), releaseDate: $(el).find('span.time').text(), url: `${this.baseUrl}${$(el).find('a').attr('href')}`, }); }); + mediaInfo.episodes.reverse(); return mediaInfo; } catch (err) { + console.log(err); throw new Error(err.message); } }; - this.fetchEpisodeSources = async (episodeId, server = models_1.StreamingServers.GogoCDN) => { + this.fetchEpisodeSources = async (episodeId, server = models_1.StreamingServers.AsianLoad) => { + if (episodeId.startsWith('http')) { + const serverUrl = new URL(episodeId); + switch (server) { + case models_1.StreamingServers.AsianLoad: + return Object.assign({}, (await new extractors_1.AsianLoad().extract(serverUrl))); + case models_1.StreamingServers.MixDrop: + return { + sources: await new extractors_1.MixDrop().extract(serverUrl), + }; + case models_1.StreamingServers.StreamTape: + return { + sources: await new extractors_1.StreamTape().extract(serverUrl), + }; + case models_1.StreamingServers.StreamSB: + return { + sources: await new extractors_1.StreamSB().extract(serverUrl), + }; + default: + throw new Error('Server not supported'); + } + } if (!episodeId.includes('.html')) episodeId = `${this.baseUrl}/${episodeId}.html`; try { const { data } = await axios_1.default.get(episodeId); - return { - sources: [], - }; + const $ = (0, cheerio_1.load)(data); + let serverUrl = ''; + switch (server) { + // asianload is the same as the standard server + case models_1.StreamingServers.AsianLoad: + serverUrl = `https:${$('.Standard').attr('data-video')}`; + if (!serverUrl.includes('asian')) + throw new Error('Try another server'); + break; + case models_1.StreamingServers.MixDrop: + serverUrl = $('.mixdrop').attr('data-video'); + if (!serverUrl.includes('mixdrop')) + throw new Error('Try another server'); + break; + case models_1.StreamingServers.StreamTape: + serverUrl = $('.streamtape').attr('data-video'); + if (!serverUrl.includes('streamtape')) + throw new Error('Try another server'); + break; + case models_1.StreamingServers.StreamSB: + serverUrl = $('.streamsb').attr('data-video'); + if (!serverUrl.includes('stream')) + throw new Error('Try another server'); + break; + } + return await this.fetchEpisodeSources(serverUrl, server); } catch (err) { + console.log(err); throw new Error(err.message); } }; - this.fetchEpisodeServers = async (mediaLink, ...args) => { - throw new Error('Method not implemented.'); + this.removeContainsFromString = (str, contains) => { + contains = contains.toLowerCase(); + return str.toLowerCase().replace(/\n/g, '').replace(`${contains}:`, '').trim(); }; } + fetchEpisodeServers(episodeId, ...args) { + throw new Error('Method not implemented.'); + } } // (async () => { // const drama = new Dramacool(); -// const mediaInfo = await drama.fetchMediaInfo('vincenzo'); +// const search = await drama.search('vincenzo'); +// const mediaInfo = await drama.fetchMediaInfo(search.results[0].id); +// // const sources = await drama.fetchEpisodeSources(mediaInfo.episodes![0].id); // console.log(mediaInfo); // })(); exports.default = Dramacool; diff --git a/dist/providers/movies/dramacool.js.map b/dist/providers/movies/dramacool.js.map index 1bc1940cf..28f67b22e 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,qCAA+B;AAC/B,kDAA0B;AAE1B,yCASsB;AAGtB,MAAM,SAAU,SAAQ,oBAAW;IAAnC;;QACoB,SAAI,GAAG,WAAW,CAAC;QAClB,YAAO,GAAG,2BAA2B,CAAC;QACtC,SAAI,GAAG,qDAAqD,CAAC;QAC7D,cAAS,GAAG,kBAAkB,CAAC;QACzC,mBAAc,GAAG,IAAI,GAAG,CAAC,CAAC,eAAM,CAAC,KAAK,EAAE,eAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAE1D,WAAM,GAAG,KAAK,EAAE,KAAa,EAAE,OAAe,CAAC,EAAkC,EAAE;YAC1F,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC,CAAC;QAEO,mBAAc,GAAG,KAAK,EAAE,OAAe,EAAuB,EAAE;YACvE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC;gBAAE,OAAO,GAAG,GAAG,IAAI,CAAC,OAAO,iBAAiB,OAAO,EAAE,CAAC;YAE3F,MAAM,SAAS,GAAe;gBAC5B,EAAE,EAAE,EAAE;gBACN,KAAK,EAAE,EAAE;aACV,CAAC;YACF,IAAI;gBACF,MAAM,EA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CAAC;aAClB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;QACH,CAAC,CAAC;QAEO,wBAAmB,GAAG,KAAK,EAClC,SAAiB,EACjB,SAA2B,yBAAgB,CAAC,OAAO,EACjC,EAAE;YACpB,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAAE,SAAS,GAAG,GAAG,IAAI,CAAC,OAAO,IAAI,SAAS,OAAO,CAAC;YAClF,IAAI;gBACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;gBAE5C,OAAO;oBACL,OAAO,EAAE,EAAE;iBACZ,CAAC;aACH;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;QACH,CAAC,CAAC;QAEO,wBAAmB,GAAG,KAAK,EAAE,SAAiB,EAAE,GAAG,IAAS,EAA6B,EAAE;YAClG,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC,CAAC;IACJ,CAAC;CAAA;AAED,iBAAiB;AACjB,mCAAmC;AACnC,8DAA8D;AAC9D,4BAA4B;AAC5B,QAAQ;AAER,kBAAe,SAAS,CAAC"} \ No newline at end of file +{"version":3,"file":"dramacool.js","sourceRoot":"","sources":["../../../src/providers/movies/dramacool.ts"],"names":[],"mappings":";;;;;AAAA,qCAA+B;AAC/B,kDAA0B;AAE1B,yCASsB;AACtB,iDAA4E;AAE5E,MAAM,SAAU,SAAQ,oBAAW;IAAnC;;QACoB,SAAI,GAAG,WAAW,CAAC;QAClB,YAAO,GAAG,2BAA2B,CAAC;QACtC,SAAI,GAAG,qDAAqD,CAAC;QAC7D,cAAS,GAAG,kBAAkB,CAAC;QACzC,mBAAc,GAAG,IAAI,GAAG,CAAC,CAAC,eAAM,CAAC,KAAK,EAAE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MAAM;iBACT;gBAED,OAAO,MAAM,IAAI,CAAC,mBAAmB,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;aAC1D;YAAC,OAAO,GAAG,EAAE;gBACZ,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBACjB,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;QACH,CAAC,CAAC;QAMM,6BAAwB,GAAG,CAAC,GAAW,EAAE,QAAgB,EAAE,EAAE;YACnE,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;YAClC,OAAO,GAAG,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,QAAQ,GAAG,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACjF,CAAC,CAAC;IACJ,CAAC;IARU,mBAAmB,CAAC,SAAiB,EAAE,GAAG,IAAS;QAC1D,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;CAMF;AAED,iBAAiB;AACjB,mCAAmC;AACnC,mDAAmD;AACnD,wEAAwE;AACxE,mFAAmF;AACnF,4BAA4B;AAC5B,QAAQ;AAER,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/flixhq.js b/dist/providers/movies/flixhq.js index 0275c9a61..fbdc02739 100644 --- a/dist/providers/movies/flixhq.js +++ b/dist/providers/movies/flixhq.js @@ -41,6 +41,7 @@ class FlixHQ extends models_1.MovieParser { url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`, image: $(el).find('div.film-poster > img').attr('data-src'), releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate, + seasons: releaseDate.includes('SS') ? parseInt(releaseDate.split('SS')[1]) : undefined, type: $(el).find('div.film-detail > div.fd-infor > span.float-right').text() === 'Movie' ? models_1.TvType.MOVIE : models_1.TvType.TVSERIES, @@ -57,6 +58,7 @@ class FlixHQ extends models_1.MovieParser { * @param mediaId media link or id */ this.fetchMediaInfo = async (mediaId) => { + var _a; if (!mediaId.startsWith(this.baseUrl)) { mediaId = `${this.baseUrl}/${mediaId}`; } @@ -68,7 +70,21 @@ class FlixHQ extends models_1.MovieParser { try { const { data } = await axios_1.default.get(mediaId); const $ = (0, cheerio_1.load)(data); + const recommendationsArray = []; + $('div.movie_information > div.container > div.m_i-related > div.film-related > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item').each((i, el) => { + var _a, _b, _c; + recommendationsArray.push({ + id: (_a = $(el).find('div.film-poster > a').attr('href')) === null || _a === void 0 ? void 0 : _a.slice(1), + title: $(el).find('div.film-detail > h3.film-name > a').text(), + image: $(el).find('div.film-poster > img').attr('data-src'), + duration: (_b = $(el).find('div.film-detail > div.fd-infor > span.fdi-duration').text().replace('m', '')) !== null && _b !== void 0 ? _b : null, + type: $(el).find('div.film-detail > div.fd-infor > span.fdi-type').text().toLowerCase() === 'tv' + ? models_1.TvType.TVSERIES + : (_c = models_1.TvType.MOVIE) !== null && _c !== void 0 ? _c : null, + }); + }); const uid = $('.watch_block').attr('data-id'); + movieInfo.cover = (_a = $('div.w_b-cover').attr('style')) === null || _a === void 0 ? void 0 : _a.slice(22).replace(')', '').replace(';', ''); movieInfo.title = $('.heading-name > a:nth-child(1)').text(); movieInfo.image = $('.m_i-d-poster > div:nth-child(1) > img:nth-child(1)').attr('src'); movieInfo.description = $('.description').text(); @@ -88,6 +104,7 @@ class FlixHQ extends models_1.MovieParser { movieInfo.country = $('div.row-line:nth-child(1) > a:nth-child(2)').text(); movieInfo.duration = $('span.item:nth-child(3)').text(); movieInfo.rating = parseFloat($('span.item:nth-child(2)').text()); + movieInfo.recommendations = recommendationsArray; const ajaxReqUrl = (id, type, isSeasons = false) => `${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${isSeasons ? 'seasons' : 'episodes'}/${id}`; if (movieInfo.type === models_1.TvType.TVSERIES) { const { data } = await axios_1.default.get(ajaxReqUrl(uid, 'tv', true)); @@ -317,9 +334,10 @@ class FlixHQ extends models_1.MovieParser { } // (async () => { // const movie = new FlixHQ(); -// const movieInfo = await movie.fetchEpisodeSources('1168337', 'tv/watch-vincenzo-67955'); -// const recentTv = await movie.fetchTrendingTvShows(); -// console.log(recentTv); +// const search = await movie.search('the flash'); +// // const movieInfo = await movie.fetchEpisodeSources('1168337', 'tv/watch-vincenzo-67955'); +// // const recentTv = await movie.fetchTrendingTvShows(); +// console.log(search); // })(); exports.default = FlixHQ; //# sourceMappingURL=flixhq.js.map \ No newline at end of file diff --git a/dist/providers/movies/flixhq.js.map b/dist/providers/movies/flixhq.js.map index 373657ce5..c3289a2ef 100644 --- a/dist/providers/movies/flixhq.js.map +++ b/dist/providers/movies/flixhq.js.map @@ -1 +1 @@ -{"version":3,"file":"flixhq.js","sourceRoot":"","sources":["../../../src/providers/movies/flixhq.ts"],"names":[],"mappings":";;;;;AAAA,qCAA+B;AAC/B,kDAA0B;AAE1B,yCASsB;AACtB,iDAAqD;AAErD,MAAM,MAAO,SAAQ,oBAAW;IAAhC;;QACoB,SAAI,GAAG,QAAQ,CAAC;QACf,YAAO,GAAG,mBAAmB,CAAC;QAC9B,SAAI,GACrB,oHAAoH,CAAC;QACpG,cAAS,GAAG,eAAe,CAAC;QACtC,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;gBACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,eAAK,CAAC,GAAG,CAC9B,GAAG,IAAI,CAAC,OAAO,WAAW,KAAK,CAAC,O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C,IAAI,CAAC,UAAU,CAAC;wBAC3D,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC,IAAI,EAAE;wBAC/E,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC,IAAI,EAAE,IAAI,IAAI;wBAC9F,IAAI,EACF,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,mDAAmD,CAAC,CAAC,IAAI,EAAE,KAAK,OAAO;4BAChF,CAAC,CAAC,eAAM,CAAC,KAAK;4BACd,CAAC,CAAC,eAAM,CAAC,QAAQ;qBACtB,CAAC;oBACF,OAAO,MAAM,CAAC;gBAChB,CAAC,CAAC;qBACD,GAAG,EAAE,CAAC;gBACT,OAAO,OAAO,CAAC;aAChB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;QACH,CAAC,CAAC;IACJ,CAAC;CAAA;AAED,iBAAiB;AACjB,gCAAgC;AAChC,oDAAoD;AACpD,gGAAgG;AAChG,4DAA4D;AAC5D,yBAAyB;AACzB,QAAQ;AAER,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/index.d.ts b/dist/providers/movies/index.d.ts index 15abc4fb0..62be30afc 100644 --- a/dist/providers/movies/index.d.ts +++ b/dist/providers/movies/index.d.ts @@ -1,7 +1,9 @@ import FlixHQ from './flixhq'; import ViewAsian from './viewAsian'; +import DramaCool from './dramacool'; declare const _default: { FlixHQ: typeof FlixHQ; ViewAsian: typeof ViewAsian; + DramaCool: typeof DramaCool; }; export default _default; diff --git a/dist/providers/movies/index.js b/dist/providers/movies/index.js index 86be68b19..962eb3f5b 100644 --- a/dist/providers/movies/index.js +++ b/dist/providers/movies/index.js @@ -5,5 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const flixhq_1 = __importDefault(require("./flixhq")); const viewAsian_1 = __importDefault(require("./viewAsian")); -exports.default = { FlixHQ: flixhq_1.default, ViewAsian: viewAsian_1.default }; +const dramacool_1 = __importDefault(require("./dramacool")); +exports.default = { FlixHQ: flixhq_1.default, ViewAsian: viewAsian_1.default, DramaCool: dramacool_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 e7538df3b..805e496ef 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,sDAA8B;AAC9B,4DAAoC;AAEpC,kBAAe,EAAE,MAAM,EAAN,gBAAM,EAAE,SAAS,EAAT,mBAAS,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/movies/index.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAC9B,4DAAoC;AACpC,4DAAoC;AAEpC,kBAAe,EAAE,MAAM,EAAN,gBAAM,EAAE,SAAS,EAAT,mBAAS,EAAE,SAAS,EAAT,mBAAS,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/ummagurau.js b/dist/providers/movies/ummagurau.js index 93c3f7d90..8dd4a3d06 100644 --- a/dist/providers/movies/ummagurau.js +++ b/dist/providers/movies/ummagurau.js @@ -71,6 +71,7 @@ class Ummangurau extends models_1.MovieParser { catch (err) { throw new Error(err.message); } + return movieInfo; }; } fetchEpisodeServers(mediaLink, ...args) { diff --git a/dist/providers/movies/ummagurau.js.map b/dist/providers/movies/ummagurau.js.map index 5d7f0e5e0..d0e0febdd 100644 --- a/dist/providers/movies/ummagurau.js.map +++ b/dist/providers/movies/ummagurau.js.map @@ -1 +1 @@ -{"version":3,"file":"ummagurau.js","sourceRoot":"","sources":["../../../src/providers/movies/ummagurau.ts"],"names":[],"mappings":";;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OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;YAED,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC;IASJ,CAAC;IAPU,mBAAmB,CAAC,SAAiB,EAAE,GAAG,IAAS;QAC1D,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IAEQ,mBAAmB,CAAC,OAAe,EAAE,GAAG,IAAS;QACxD,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;CACF"} \ No newline at end of file diff --git a/dist/utils/providers-list.d.ts b/dist/utils/providers-list.d.ts index 402f33831..98bacd60a 100644 --- a/dist/utils/providers-list.d.ts +++ b/dist/utils/providers-list.d.ts @@ -4,13 +4,13 @@ * add new providers here (order does not matter) */ export declare const PROVIDERS_LIST: { - ANIME: (import("../providers/anime/gogoanime").default | import("../providers/anime/9anime").default | import("../providers/anime/animepahe").default | import("../providers/anime/zoro").default | import("../providers/anime/animefox").default | import("../providers/anime/enime").default | import("../providers/anime/crunchyroll").default | import("../providers/anime/bilibili").default)[]; + ANIME: (import("../providers/anime/gogoanime").default | import("../providers/anime/9anime").default | import("../providers/anime/animepahe").default | import("../providers/anime/zoro").default | import("../providers/anime/animefox").default | import("../providers/anime/enime").default | import("../providers/anime/kamyroll").default | import("../providers/anime/bilibili").default)[]; MANGA: (import("../providers/manga/mangadex").default | import("../providers/manga/mangahere").default | import("../providers/manga/mangakakalot").default | import("../providers/manga/mangasee123").default | import("../providers/manga/mangapark").default | import("../providers/manga/mangapill").default | import("../providers/manga/mangareader").default)[]; BOOKS: import("../providers/books/libgen").default[]; COMICS: import("../providers/comics/getComics").default[]; LIGHT_NOVELS: import("../providers/light-novels/readlightnovels").default[]; - MOVIES: (import("../providers/movies/flixhq").default | import("../providers/movies/viewAsian").default)[]; + MOVIES: (import("../providers/movies/flixhq").default | import("../providers/movies/viewAsian").default | import("../providers/movies/dramacool").default)[]; NEWS: import("../providers/news/animenewsnetwork").default[]; - META: import("../providers/meta/anilist").default[]; + META: (import("../providers/meta/anilist").default | import("../providers/meta/mal").default | import("../providers/meta/tmdb").default)[]; OTHERS: never[]; }; diff --git a/dist/utils/providers-list.js b/dist/utils/providers-list.js index b99f6f0b1..59c465cde 100644 --- a/dist/utils/providers-list.js +++ b/dist/utils/providers-list.js @@ -30,9 +30,9 @@ exports.PROVIDERS_LIST = { BOOKS: [new providers_1.BOOKS.Libgen()], COMICS: [new providers_1.COMICS.GetComics()], LIGHT_NOVELS: [new providers_1.LIGHT_NOVELS.ReadLightNovels()], - MOVIES: [new providers_1.MOVIES.FlixHQ(), new providers_1.MOVIES.ViewAsian()], + MOVIES: [new providers_1.MOVIES.FlixHQ(), new providers_1.MOVIES.ViewAsian(), new providers_1.MOVIES.DramaCool()], NEWS: [new providers_1.NEWS.ANN()], - META: [new providers_1.META.Anilist()], + META: [new providers_1.META.Anilist(), new providers_1.META.TMDB(), new providers_1.META.Myanimelist()], OTHERS: [], }; //# sourceMappingURL=providers-list.js.map \ No newline at end of file diff --git a/dist/utils/providers-list.js.map b/dist/utils/providers-list.js.map index 0de1dae67..56cdf8d04 100644 --- a/dist/utils/providers-list.js.map +++ b/dist/utils/providers-list.js.map @@ -1 +1 @@ -{"version":3,"file":"providers-list.js","sourceRoot":"","sources":["../../src/utils/providers-list.ts"],"names":[],"mappings":";;;AAAA,4CAA6F;AAE7F;;;;GAIG;AACU,QAAA,cAAc,GAAG;IAC5B,KAAK,EAAE;QACL,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,IAAI,EAAE;QAChB,IAAI,iBAAK,CAAC,QAAQ,EAAE;QACpB,IAAI,iBAAK,CAAC,KAAK,EAAE;QACjB,IAAI,iBAAK,CAAC,WAAW,EAAE;QACvB,IAAI,iBAAK,CAAC,QAAQ,EAAE;KACrB;IACD,KAAK,EAAE;QACL,IAAI,iBAAK,CAAC,QAAQ,EAAE;QACpB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,YAAY,EAAE;QACxB,IAAI,iBAAK,CAAC,WAAW,EAAE;QACvB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,WAAW,EAAE;KACxB;IACD,KAAK,EAAE,CAAC,IAAI,iBAAK,CAAC,MAAM,EAAE,CAAC;IAC3B,MAAM,EAAE,CAAC,IAAI,kBAAM,CAAC,SAAS,EAAE,CAAC;IAChC,YAAY,EAAE,CAAC,IAAI,wBAAY,CAAC,eAAe,EAAE,CAAC;IAClD,MAAM,EAAE,CAAC,IAAI,kBAAM,CAAC,MAAM,EAAE,EAAE,IAAI,kBAAM,CAAC,SAAS,EAAE,CAAC;IACrD,IAAI,EAAE,CAAC,IAAI,gBAAI,CAAC,GAAG,EAAE,CAAC;IACtB,IAAI,EAAE,CAAC,IAAI,gBAAI,CAAC,OAAO,EAAE,CAAC;IAC1B,MAAM,EAAE,EAAE;CACX,CAAC"} \ No newline at end of file +{"version":3,"file":"providers-list.js","sourceRoot":"","sources":["../../src/utils/providers-list.ts"],"names":[],"mappings":";;;AAAA,4CAA6F;AAE7F;;;;GAIG;AACU,QAAA,cAAc,GAAG;IAC5B,KAAK,EAAE;QACL,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,IAAI,EAAE;QAChB,IAAI,iBAAK,CAAC,QAAQ,EAAE;QACpB,IAAI,iBAAK,CAAC,KAAK,EAAE;QACjB,IAAI,iBAAK,CAAC,WAAW,EAAE;QACvB,IAAI,iBAAK,CAAC,QAAQ,EAAE;KACrB;IACD,KAAK,EAAE;QACL,IAAI,iBAAK,CAAC,QAAQ,EAAE;QACpB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,YAAY,EAAE;QACxB,IAAI,iBAAK,CAAC,WAAW,EAAE;QACvB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,SAAS,EAAE;QACrB,IAAI,iBAAK,CAAC,WAAW,EAAE;KACxB;IACD,KAAK,EAAE,CAAC,IAAI,iBAAK,CAAC,MAAM,EAAE,CAAC;IAC3B,MAAM,EAAE,CAAC,IAAI,kBAAM,CAAC,SAAS,EAAE,CAAC;IAChC,YAAY,EAAE,CAAC,IAAI,wBAAY,CAAC,eAAe,EAAE,CAAC;IAClD,MAAM,EAAE,CAAC,IAAI,kBAAM,CAAC,MAAM,EAAE,EAAE,IAAI,kBAAM,CAAC,SAAS,EAAE,EAAE,IAAI,kBAAM,CAAC,SAAS,EAAE,CAAC;IAC7E,IAAI,EAAE,CAAC,IAAI,gBAAI,CAAC,GAAG,EAAE,CAAC;IACtB,IAAI,EAAE,CAAC,IAAI,gBAAI,CAAC,OAAO,EAAE,EAAE,IAAI,gBAAI,CAAC,IAAI,EAAE,EAAE,IAAI,gBAAI,CAAC,WAAW,EAAE,CAAC;IACnE,MAAM,EAAE,EAAE;CACX,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index d05cce6b9..3998ff8b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@consumet/extensions", - "version": "1.2.12-rc", + "version": "1.3.0", "description": "Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -80,4 +80,4 @@ "test": "test", "lib": "src" } -} +} \ No newline at end of file diff --git a/src/models/types.ts b/src/models/types.ts index 6e22dbbbb..7aacc01ab 100644 --- a/src/models/types.ts +++ b/src/models/types.ts @@ -100,6 +100,22 @@ export interface IAnimeInfo extends IAnimeResult { relations?: IAnimeResult[]; } +export interface IAnimeEpisodeV2 { + [x: string]: { + id: string; + season_number: number; + title: string; + image: string; + description: string; + releaseDate: string; + isHD: boolean; + isAdult: boolean; + isDubbed: boolean; + isSubbed: boolean; + duration: number; + }[]; +} + export interface IAnimeEpisode { id: string; number: number; diff --git a/src/providers/anime/crunchyroll.ts b/src/providers/anime/crunchyroll.ts index c58d18594..e69de29bb 100644 --- a/src/providers/anime/crunchyroll.ts +++ b/src/providers/anime/crunchyroll.ts @@ -1,289 +0,0 @@ -import axios from 'axios'; - -import { - AnimeParser, - ISearch, - IAnimeInfo, - MediaStatus, - IAnimeResult, - ISource, - IAnimeEpisode, - IEpisodeServer, - ISubtitle, - SubOrSub, -} from '../../models'; -import { USER_AGENT } from '../../utils'; - -class Crunchyroll extends AnimeParser { - override readonly name = 'Crunchyroll'; - protected override baseUrl = 'https://api.kamyroll.tech'; - protected override logo = - 'https://play-lh.googleusercontent.com/CjzbMcLbmTswzCGauGQExkFsSHvwjKEeWLbVVJx0B-J9G6OQ-UCl2eOuGBfaIozFqow'; - protected override classPath = 'ANIME.Crunchyroll'; - - private locale = 'en-US'; - private channelId = 'crunchyroll'; - private TOKEN: string | undefined = undefined; - - private options = { - headers: { - 'User-Agent': USER_AGENT, - 'Content-Type': 'application/x-www-form-urlencoded', - Authorization: 'Bearer ' + this.TOKEN, - }, - }; - private locales = [ - '[ar-ME] Arabic', - '[ar-SA] Arabic (Saudi Arabia)', - '[de-DE] German', - '[en-US] English', - '[es-419] Spanish (Latin America)', - '[es-ES] Spanish (Spain)', - '[fr-FR] French', - '[he-IL] Hebrew', - '[it-IT] Italian', - '[pt-BR] Portuguese (Brazil)', - '[pt-PT] Portuguese (Portugal)', - '[pl-PL] Polish', - '[ru-RU] Russian', - '[ro-RO] Romanian', - '[sv-SE] Swedish', - '[tr-TR] Turkish', - '[uk-UK] Ukrainian', - '[zh-CN] Chinese (Simplified)', - '[zh-TW] Chinese (Traditional)', - ]; - - private subOrder = [ - 'Subbed', - 'English Dub', - 'German Dub', - 'French Dub', - 'Spanish Dub', - 'Italian Dub', - 'Portuguese Dub', - ]; - - async fetch(locale?: string, token?: string, accessToken?: string) { - let data = undefined; - if (!token && accessToken) { - data = await axios.post( - `${this.baseUrl}/auth/v1/token`, - new URLSearchParams({ - device_id: 'whatvalueshouldbeforweb', - device_type: 'com.service.data', - access_token: accessToken, - }), - { - headers: { - 'Content-Type': 'application/x-www-form-urlencoded', - }, - } - ); - } - - if (locale && !this.locales.find(l => l.includes(locale))) throw new Error('Invalid locale'); - else this.locale = locale || this.locale; - if (locale) this.locale = locale; - if (token) this.TOKEN = token; - - if (data) return data.data.access_token; - else return token; - } - - /** - * - * @param locale Locale (default: en-US) (ar-ME, ar-SA, de-DE, en-US, es-419, es-ES, fr-FR, he-IL, it-IT, pt-BR, pl-PL, ru-RU, tr-TR) - * @param token Token - * @param accessToken Access Token - */ - static async create(locale?: string, token?: string, accessToken?: string) { - const instance = new Crunchyroll(); - const data = await instance.fetch(locale, token, accessToken); - instance.TOKEN = data; - instance.options.headers.Authorization = 'Bearer ' + instance.TOKEN; - return instance; - } - - /** - * @param query Search query - * @param limit Limit of results (default: 25) (max: 100) - */ - override search = async (query: string, limit: number = 25): Promise> => { - try { - const { data } = await axios.get( - `${this.baseUrl}/content/v1/search?query=${query}&limit=${limit}&channel_id=${this.channelId}&locale=${this.locale}`, - this.options - ); - - const list = data.items.map((item: any) => item.items).flat(); - - return { - totalResults: list.length, - results: list.map( - (item: any): IAnimeResult => ({ - id: item.id, - title: item.title, - slug: item.slug_title, - description: item.description, - cover: item.images.poster_wide[item.images.poster_wide.length - 1].source, - image: item.images.poster_tall[item.images.poster_tall.length - 1].source, - type: item.media_type.replace('_listing', ''), - isNew: item.new, - ageRating: - item.media_type == 'series' - ? item.series_metadata?.maturity_ratings - : item.movie_listing_metadata?.maturity_ratings, - isDubbed: - item.media_type == 'series' - ? item.series_metadata?.is_dubbed - : item.movie_listing_metadata?.is_dubbed, - isAdult: - item.media_type == 'series' - ? item.series_metadata?.is_mature - : item.movie_listing_metadata?.is_mature, - isSubbed: - item.media_type == 'series' - ? item.series_metadata?.is_subbed - : item.movie_listing_metadata?.is_subbed, - totalEpisodes: item.media_type == 'series' ? item.series_metadata?.episode_count : undefined, - totalSeasons: item.media_type == 'series' ? item.series_metadata?.season_count : undefined, - }) - ), - }; - } catch (error) { - throw new Error("Couldn't fetch data from Crunchyroll"); - } - }; - - /** - * @param id Anime id - * @param mediaType Anime type (series, movie) - */ - override fetchAnimeInfo = async (id: string, mediaType: string): Promise => { - if (mediaType == 'series') { - const { data } = await axios.get( - `${this.baseUrl}/content/v1/seasons?id=${id}&channel_id=${this.channelId}&locale=${this.locale}`, - this.options - ); - - const items = data.items.map((item: any) => item.episodes).flat(); - - const regx_extract = /\(([^\)]+)\)[^\(]*$/gm; - const episodes = items - .map((ep: any) => ({ - id: ep.id, - number: ep.episode_number, - type: !ep.season_title.match(regx_extract) - ? 'Subbed' - : ep.season_title.match(regx_extract)[0].replace('(', '').replace(')', ''), - title: ep.title, - slug: ep.slug_title, - image: ep.images.thumbnail[ep.images.thumbnail.length - 1].source, - description: ep.description, - releaseDate: ep.episode_air_date, - isHD: ep.hd_flag, - isAdult: ep.is_mature, - isDubbed: ep.is_dubbed, - isSubbed: ep.is_subbed, - duration: ep.duration_ms, - })) - .sort((ep1: any, ep2: any) => { - if (ep1.type == ep2.type) return 0; - return this.subOrder.indexOf(ep1.type) > this.subOrder.indexOf(ep2.type) ? 1 : -1; - }); - - return { - id: id, - title: data.items[0].title, - slug: data.items[0].slug_title, - description: data.items[0].description, - subOrDub: SubOrSub.BOTH, - episodes: episodes, - }; - } else { - const { data } = await axios.get( - `${this.baseUrl}/content/v1/movies?id=${id}&channel_id=${this.channelId}&locale=${this.locale}`, - this.options - ); - - const episode = data.items.map( - (item: any): IAnimeEpisode => ({ - id: item.id, - number: 1, - title: item.title, - slug: item.slug_title, - description: item.description, - image: item.images.poster_wide[item.images.thumbnail.length - 1].source, - }) - ); - - return { - id: id, - title: data.items[0].title, - slug: data.items[0].slug_title, - description: data.items[0].description, - cover: data.items[0].images.poster_wide[data.items[0].images.thumbnail.length - 1].source, - image: data.items[0].images.poster_wide[data.items[0].images.thumbnail.length - 1].source, - episodes: episode, - }; - } - }; - - /** - * - * @param episodeId Episode id - * @param format subtitle format (default: `srt`) (srt, vtt, ass) - * @param type Video type (default: `adaptive_hls` (m3u8)) `adaptive_dash` (dash), `drm_adaptive_dash` (dash with drm) - */ - override fetchEpisodeSources = async ( - episodeId: string, - format: string = 'vtt', - type: string = 'adaptive_hls' - ): Promise => { - const { data } = await axios.get( - `${this.baseUrl}/videos/v1/streams?id=${episodeId}&channel_id=${this.channelId}&format=${format}&type=${type}`, - this.options - ); - data.subtitles = data.subtitles.sort((a: any, b: any) => { - if (a.locale == b.locale) return 0; - return this.locales.findIndex(l => l.includes(a.locale)) > - this.locales.findIndex(l => l.includes(b.locale)) - ? 1 - : -1; - }); - - //TODO: Add hardcoded subtitles for all languages - return { - subtitles: data.subtitles.map( - (sub: any): ISubtitle => ({ - lang: this.locales.find(l => l.includes(sub.locale)) || sub.locale, - url: sub.url, - }) - ), - sources: [ - { - isM3U8: type == 'adaptive_hls', - url: data.streams[data.streams.length - 1].url, - }, - ], - }; - }; - - /** - * - * @param episodeId Episode id - */ - override fetchEpisodeServers = (episodeId: string): Promise => { - throw new Error('Method not implemented.'); - }; -} - -// (async () => { -// const anime = await Crunchyroll.create('fr-FRs', 'O+xmBPFx1UxoAiQYjDc9YYq01SdCZo1ABBoHDrNuIScEIKmYfIZoj57l1xeoLWGW3R2ZlxPlyqUf5R3hWzx+xSQnmPyk3GoUIFF19P0oCqp2B9ivNhtYiqir06rBK71mRzIjVUCmN3C7MvQUhH82QQWAvxsvkZ0hfhr4fY/NYzY='); -// const search = await anime.search('classroom of the elite season 2'); -// const res = await anime.fetchAnimeInfo(search.results[0].id, search.results[0].type!); -// const sources = await anime.fetchEpisodeSources(res.episodes![res.episodes?.length! - 1].id); -// console.log(sources); -// })(); -export default Crunchyroll; diff --git a/src/providers/anime/index.ts b/src/providers/anime/index.ts index 920490f6c..dcf38b4fe 100644 --- a/src/providers/anime/index.ts +++ b/src/providers/anime/index.ts @@ -4,7 +4,7 @@ import AnimePahe from './animepahe'; import Zoro from './zoro'; import AnimeFox from './animefox'; import Enime from './enime'; -import Crunchyroll from './crunchyroll'; +import Crunchyroll from './kamyroll'; import Bilibili from './bilibili'; export default { Gogoanime, NineAnime, AnimePahe, Zoro, AnimeFox, Enime, Crunchyroll, Bilibili }; diff --git a/src/providers/anime/kamyroll.ts b/src/providers/anime/kamyroll.ts new file mode 100644 index 000000000..1434f18df --- /dev/null +++ b/src/providers/anime/kamyroll.ts @@ -0,0 +1,289 @@ +import axios from 'axios'; + +import { + AnimeParser, + ISearch, + IAnimeInfo, + MediaStatus, + IAnimeResult, + ISource, + IAnimeEpisode, + IEpisodeServer, + ISubtitle, + SubOrSub, +} from '../../models'; +import { USER_AGENT } from '../../utils'; + +class Kamyroll extends AnimeParser { + override readonly name = 'Kamyroll'; + protected override baseUrl = 'https://api.kamyroll.tech'; + protected override logo = + 'https://play-lh.googleusercontent.com/CjzbMcLbmTswzCGauGQExkFsSHvwjKEeWLbVVJx0B-J9G6OQ-UCl2eOuGBfaIozFqow'; + protected override classPath = 'ANIME.Kamyroll'; + + private locale = 'en-US'; + private channelId = 'crunchyroll'; + private TOKEN: string | undefined = undefined; + + private options = { + headers: { + 'User-Agent': USER_AGENT, + 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Bearer ' + this.TOKEN, + }, + }; + private locales = [ + '[ar-ME] Arabic', + '[ar-SA] Arabic (Saudi Arabia)', + '[de-DE] German', + '[en-US] English', + '[es-419] Spanish (Latin America)', + '[es-ES] Spanish (Spain)', + '[fr-FR] French', + '[he-IL] Hebrew', + '[it-IT] Italian', + '[pt-BR] Portuguese (Brazil)', + '[pt-PT] Portuguese (Portugal)', + '[pl-PL] Polish', + '[ru-RU] Russian', + '[ro-RO] Romanian', + '[sv-SE] Swedish', + '[tr-TR] Turkish', + '[uk-UK] Ukrainian', + '[zh-CN] Chinese (Simplified)', + '[zh-TW] Chinese (Traditional)', + ]; + + private subOrder = [ + 'Subbed', + 'English Dub', + 'German Dub', + 'French Dub', + 'Spanish Dub', + 'Italian Dub', + 'Portuguese Dub', + ]; + + async fetch(locale?: string, token?: string, accessToken?: string) { + let data = undefined; + if (!token && accessToken) { + data = await axios.post( + `${this.baseUrl}/auth/v1/token`, + new URLSearchParams({ + device_id: 'whatvalueshouldbeforweb', + device_type: 'com.service.data', + access_token: accessToken, + }), + { + headers: { + 'Content-Type': 'application/x-www-form-urlencoded', + }, + } + ); + } + + if (locale && !this.locales.find(l => l.includes(locale))) throw new Error('Invalid locale'); + else this.locale = locale || this.locale; + if (locale) this.locale = locale; + if (token) this.TOKEN = token; + + if (data) return data.data.access_token; + else return token; + } + + /** + * + * @param locale Locale (default: en-US) (ar-ME, ar-SA, de-DE, en-US, es-419, es-ES, fr-FR, he-IL, it-IT, pt-BR, pl-PL, ru-RU, tr-TR) + * @param token Token + * @param accessToken Access Token + */ + static async create(locale?: string, token?: string, accessToken?: string) { + const instance = new Kamyroll(); + const data = await instance.fetch(locale, token, accessToken); + instance.TOKEN = data; + instance.options.headers.Authorization = 'Bearer ' + instance.TOKEN; + return instance; + } + + /** + * @param query Search query + * @param limit Limit of results (default: 25) (max: 100) + */ + override search = async (query: string, limit: number = 25): Promise> => { + try { + const { data } = await axios.get( + `${this.baseUrl}/content/v1/search?query=${query}&limit=${limit}&channel_id=${this.channelId}&locale=${this.locale}`, + this.options + ); + + const list = data.items.map((item: any) => item.items).flat(); + + return { + totalResults: list.length, + results: list.map( + (item: any): IAnimeResult => ({ + id: item.id, + title: item.title, + slug: item.slug_title, + description: item.description, + cover: item.images.poster_wide[item.images.poster_wide.length - 1].source, + image: item.images.poster_tall[item.images.poster_tall.length - 1].source, + type: item.media_type.replace('_listing', ''), + isNew: item.new, + ageRating: + item.media_type == 'series' + ? item.series_metadata?.maturity_ratings + : item.movie_listing_metadata?.maturity_ratings, + isDubbed: + item.media_type == 'series' + ? item.series_metadata?.is_dubbed + : item.movie_listing_metadata?.is_dubbed, + isAdult: + item.media_type == 'series' + ? item.series_metadata?.is_mature + : item.movie_listing_metadata?.is_mature, + isSubbed: + item.media_type == 'series' + ? item.series_metadata?.is_subbed + : item.movie_listing_metadata?.is_subbed, + totalEpisodes: item.media_type == 'series' ? item.series_metadata?.episode_count : undefined, + totalSeasons: item.media_type == 'series' ? item.series_metadata?.season_count : undefined, + }) + ), + }; + } catch (error) { + throw new Error("Couldn't fetch data from Crunchyroll"); + } + }; + + /** + * @param id Anime id + * @param mediaType Anime type (series, movie) + */ + override fetchAnimeInfo = async (id: string, mediaType: string): Promise => { + if (mediaType == 'series') { + const { data } = await axios.get( + `${this.baseUrl}/content/v1/seasons?id=${id}&channel_id=${this.channelId}&locale=${this.locale}`, + this.options + ); + + const items = data.items.map((item: any) => item.episodes).flat(); + + const regx_extract = /\(([^\)]+)\)[^\(]*$/gm; + const episodes = items + .map((ep: any) => ({ + id: ep.id, + number: ep.episode_number, + type: !ep.season_title.match(regx_extract) + ? 'Subbed' + : ep.season_title.match(regx_extract)[0].replace('(', '').replace(')', ''), + title: ep.title, + slug: ep.slug_title, + image: ep.images.thumbnail[ep.images.thumbnail.length - 1].source, + description: ep.description, + releaseDate: ep.episode_air_date, + isHD: ep.hd_flag, + isAdult: ep.is_mature, + isDubbed: ep.is_dubbed, + isSubbed: ep.is_subbed, + duration: ep.duration_ms, + })) + .sort((ep1: any, ep2: any) => { + if (ep1.type == ep2.type) return 0; + return this.subOrder.indexOf(ep1.type) > this.subOrder.indexOf(ep2.type) ? 1 : -1; + }); + + return { + id: id, + title: data.items[0].title, + slug: data.items[0].slug_title, + description: data.items[0].description, + subOrDub: SubOrSub.BOTH, + episodes: episodes, + }; + } else { + const { data } = await axios.get( + `${this.baseUrl}/content/v1/movies?id=${id}&channel_id=${this.channelId}&locale=${this.locale}`, + this.options + ); + + const episode = data.items.map( + (item: any): IAnimeEpisode => ({ + id: item.id, + number: 1, + title: item.title, + slug: item.slug_title, + description: item.description, + image: item.images.poster_wide[item.images.thumbnail.length - 1].source, + }) + ); + + return { + id: id, + title: data.items[0].title, + slug: data.items[0].slug_title, + description: data.items[0].description, + cover: data.items[0].images.poster_wide[data.items[0].images.thumbnail.length - 1].source, + image: data.items[0].images.poster_wide[data.items[0].images.thumbnail.length - 1].source, + episodes: episode, + }; + } + }; + + /** + * + * @param episodeId Episode id + * @param format subtitle format (default: `srt`) (srt, vtt, ass) + * @param type Video type (default: `adaptive_hls` (m3u8)) `adaptive_dash` (dash), `drm_adaptive_dash` (dash with drm) + */ + override fetchEpisodeSources = async ( + episodeId: string, + format: string = 'vtt', + type: string = 'adaptive_hls' + ): Promise => { + const { data } = await axios.get( + `${this.baseUrl}/videos/v1/streams?id=${episodeId}&channel_id=${this.channelId}&format=${format}&type=${type}`, + this.options + ); + data.subtitles = data.subtitles.sort((a: any, b: any) => { + if (a.locale == b.locale) return 0; + return this.locales.findIndex(l => l.includes(a.locale)) > + this.locales.findIndex(l => l.includes(b.locale)) + ? 1 + : -1; + }); + + //TODO: Add hardcoded subtitles for all languages + return { + subtitles: data.subtitles.map( + (sub: any): ISubtitle => ({ + lang: this.locales.find(l => l.includes(sub.locale)) || sub.locale, + url: sub.url, + }) + ), + sources: [ + { + isM3U8: type == 'adaptive_hls', + url: data.streams[data.streams.length - 1].url, + }, + ], + }; + }; + + /** + * + * @param episodeId Episode id + */ + override fetchEpisodeServers = (episodeId: string): Promise => { + throw new Error('Method not implemented.'); + }; +} + +// (async () => { +// const anime = await Crunchyroll.create('fr-FRs', 'O+xmBPFx1UxoAiQYjDc9YYq01SdCZo1ABBoHDrNuIScEIKmYfIZoj57l1xeoLWGW3R2ZlxPlyqUf5R3hWzx+xSQnmPyk3GoUIFF19P0oCqp2B9ivNhtYiqir06rBK71mRzIjVUCmN3C7MvQUhH82QQWAvxsvkZ0hfhr4fY/NYzY='); +// const search = await anime.search('classroom of the elite season 2'); +// const res = await anime.fetchAnimeInfo(search.results[0].id, search.results[0].type!); +// const sources = await anime.fetchEpisodeSources(res.episodes![res.episodes?.length! - 1].id); +// console.log(sources); +// })(); +export default Kamyroll; diff --git a/src/providers/meta/anilist.ts b/src/providers/meta/anilist.ts index 057096edd..6d3b3c34f 100644 --- a/src/providers/meta/anilist.ts +++ b/src/providers/meta/anilist.ts @@ -41,7 +41,7 @@ import Gogoanime from '../../providers/anime/gogoanime'; import Enime from '../anime/enime'; import Zoro from '../anime/zoro'; import Mangasee123 from '../manga/mangasee123'; -import Crunchyroll from '../anime/crunchyroll'; +import Crunchyroll from '../anime/kamyroll'; import Bilibili from '../anime/bilibili'; import { compareTwoStrings } from '../../utils/utils'; diff --git a/src/providers/meta/mal.ts b/src/providers/meta/mal.ts index f0dc64b93..0c7592b56 100644 --- a/src/providers/meta/mal.ts +++ b/src/providers/meta/mal.ts @@ -25,7 +25,7 @@ import { import { substringAfter, substringBefore, compareTwoStrings, kitsuSearchQuery, range } from '../../utils'; import Gogoanime from '../anime/gogoanime'; import Zoro from '../anime/zoro'; -import Crunchyroll from '../anime/crunchyroll'; +import Crunchyroll from '../anime/kamyroll'; import Enime from '../anime/enime'; import Bilibili from '../anime/bilibili';