From d2ba9d5c5260d9d03b1b3f3ecf133ff705196a06 Mon Sep 17 00:00:00 2001 From: futaba Date: Fri, 26 Aug 2022 23:07:52 -0400 Subject: [PATCH] feat(anilist): added enime 2020 anime & characterInfo method --- dist/providers/meta/anilist.d.ts | 42 ++++++++ dist/providers/meta/anilist.js | 155 +++++++++++++++++++++++++++-- dist/providers/meta/anilist.js.map | 2 +- dist/utils/index.d.ts | 4 +- dist/utils/index.js | 3 +- dist/utils/index.js.map | 2 +- dist/utils/utils.d.ts | 1 + dist/utils/utils.js | 4 +- dist/utils/utils.js.map | 2 +- src/providers/meta/anilist.ts | 152 +++++++++++++++++++++++++++- src/utils/index.ts | 2 + src/utils/utils.ts | 2 + 12 files changed, 349 insertions(+), 22 deletions(-) diff --git a/dist/providers/meta/anilist.d.ts b/dist/providers/meta/anilist.d.ts index 8e13c50d9..de000143d 100644 --- a/dist/providers/meta/anilist.d.ts +++ b/dist/providers/meta/anilist.d.ts @@ -105,6 +105,48 @@ declare class Anilist extends AnimeParser { * @returns anilist data for the anime */ fetchAnilistInfoById: (id: string) => Promise; + /** + * + * @param id character id from anilist + */ + fetchCharacterInfoById: (id: string) => Promise<{ + id: any; + name: { + first: any; + last: any; + full: any; + native: any; + userPreferred: any; + alternative: any; + alternativeSpoiler: any; + }; + image: any; + description: any; + gender: any; + dateOfBirth: { + year: any; + month: any; + day: any; + }; + bloodType: any; + age: any; + hairColor: any; + eyeColor: any; + height: any; + weight: any; + occupation: any; + partner: any; + relatives: any; + race: any; + rank: any; + previousPosition: any; + dislikes: any; + sign: any; + zodicSign: any; + zodicAnimal: any; + themeSong: any; + relations: any; + }>; /** * Anilist Anime class */ diff --git a/dist/providers/meta/anilist.js b/dist/providers/meta/anilist.js index 4c5303527..68fdcd745 100644 --- a/dist/providers/meta/anilist.js +++ b/dist/providers/meta/anilist.js @@ -55,7 +55,7 @@ class Anilist extends models_1.AnimeParser { currentPage: data.data.Page.pageInfo.currentPage, hasNextPage: data.data.Page.pageInfo.hasNextPage, results: data.data.Page.media.map((item) => { - var _b, _c; + var _b, _c, _d, _e, _f, _g; return ({ id: item.id.toString(), malId: item.idMal, @@ -76,8 +76,9 @@ class Anilist extends models_1.AnimeParser { : item.status == 'HIATUS' ? models_1.MediaStatus.HIATUS : models_1.MediaStatus.UNKNOWN, - image: (_c = (_b = item.coverImage.extraLarge) !== null && _b !== void 0 ? _b : item.coverImage.large) !== null && _c !== void 0 ? _c : item.coverImage.medium, + image: (_e = (_c = (_b = item.coverImage) === null || _b === void 0 ? void 0 : _b.extraLarge) !== null && _c !== void 0 ? _c : (_d = item.coverImage) === null || _d === void 0 ? void 0 : _d.large) !== null && _e !== void 0 ? _e : (_f = item.coverImage) === null || _f === void 0 ? void 0 : _f.medium, rating: item.averageScore, + color: (_g = item.coverImage) === null || _g === void 0 ? void 0 : _g.color, format: item.format, releaseDate: item.seasonYear, }); @@ -137,7 +138,7 @@ class Anilist extends models_1.AnimeParser { totalPages: data.data.Page.pageInfo.lastPage, totalResults: data.data.Page.pageInfo.total, results: data.data.Page.media.map((item) => { - var _b, _c; + var _b, _c, _d; return ({ id: item.id.toString(), malId: item.idMal, @@ -160,6 +161,7 @@ class Anilist extends models_1.AnimeParser { : models_1.MediaStatus.UNKNOWN, image: (_c = (_b = item.coverImage.extraLarge) !== null && _b !== void 0 ? _b : item.coverImage.large) !== null && _c !== void 0 ? _c : item.coverImage.medium, rating: item.averageScore, + color: (_d = item.coverImage) === null || _d === void 0 ? void 0 : _d.color, format: item.format, releaseDate: item.seasonYear, }); @@ -299,7 +301,7 @@ class Anilist extends models_1.AnimeParser { }); }); animeInfo.relations = data.data.Media.relations.edges.map((item) => { - var _b, _c, _d, _e, _f; + var _b, _c, _d, _e, _f, _g; return ({ id: item.node.id, relationType: item.relationType, @@ -323,14 +325,15 @@ class Anilist extends models_1.AnimeParser { : models_1.MediaStatus.UNKNOWN, episodes: item.node.episodes, image: (_c = (_b = item.node.coverImage.extraLarge) !== null && _b !== void 0 ? _b : item.node.coverImage.large) !== null && _c !== void 0 ? _c : item.node.coverImage.medium, - cover: (_f = (_e = (_d = item.node.bannerImage) !== null && _d !== void 0 ? _d : item.node.coverImage.extraLarge) !== null && _e !== void 0 ? _e : item.node.coverImage.large) !== null && _f !== void 0 ? _f : item.node.coverImage.medium, + color: (_d = item.node.coverImage) === null || _d === void 0 ? void 0 : _d.color, + cover: (_g = (_f = (_e = item.node.bannerImage) !== null && _e !== void 0 ? _e : item.node.coverImage.extraLarge) !== null && _f !== void 0 ? _f : item.node.coverImage.large) !== null && _g !== void 0 ? _g : item.node.coverImage.medium, score: item.node.meanScore, }); }); if (this.provider instanceof zoro_1.default && !dub && (animeInfo.status === models_1.MediaStatus.ONGOING || - (0, utils_1.range)({ from: 2021, to: new Date().getFullYear() + 1 }).includes(parseInt(animeInfo.releaseDate)))) { + (0, utils_1.range)({ from: 2020, to: new Date().getFullYear() + 1 }).includes(parseInt(animeInfo.releaseDate)))) { try { animeInfo.episodes = (_t = (yield new enime_1.default().fetchAnimeInfoByAnilistId(id)).episodes) === null || _t === void 0 ? void 0 : _t.map((item) => ({ id: item.slug, @@ -552,6 +555,7 @@ class Anilist extends models_1.AnimeParser { cover: (_j = (_h = (_g = item.bannerImage) !== null && _g !== void 0 ? _g : item.coverImage.extraLarge) !== null && _h !== void 0 ? _h : item.coverImage.large) !== null && _j !== void 0 ? _j : item.coverImage.medium, rating: item.averageScore, releaseDate: item.seasonYear, + color: item.color, genres: item.genres, totalEpisodes: isNaN(item.episodes) ? 0 : (_m = (_k = item.episodes) !== null && _k !== void 0 ? _k : ((_l = item.nextAiringEpisode) === null || _l === void 0 ? void 0 : _l.episode) - 1) !== null && _m !== void 0 ? _m : 0, duration: item.duration, @@ -615,6 +619,7 @@ class Anilist extends models_1.AnimeParser { cover: (_j = (_h = (_g = item.bannerImage) !== null && _g !== void 0 ? _g : item.coverImage.extraLarge) !== null && _h !== void 0 ? _h : item.coverImage.large) !== null && _j !== void 0 ? _j : item.coverImage.medium, rating: item.averageScore, releaseDate: item.seasonYear, + color: item.color, genres: item.genres, totalEpisodes: isNaN(item.episodes) ? 0 : (_m = (_k = item.episodes) !== null && _k !== void 0 ? _k : ((_l = item.nextAiringEpisode) === null || _l === void 0 ? void 0 : _l.episode) - 1) !== null && _m !== void 0 ? _m : 0, duration: item.duration, @@ -652,7 +657,7 @@ class Anilist extends models_1.AnimeParser { currentPage: data.data.Page.pageInfo.currentPage, hasNextPage: data.data.Page.pageInfo.hasNextPage, results: data.data.Page.airingSchedules.map((item) => { - var _b, _c, _d, _e, _f; + var _b, _c, _d, _e, _f, _g; return ({ id: item.media.id.toString(), malId: item.media.idMal, @@ -669,6 +674,7 @@ class Anilist extends models_1.AnimeParser { description: item.media.description, cover: (_f = (_e = (_d = item.media.bannerImage) !== null && _d !== void 0 ? _d : item.media.coverImage.extraLarge) !== null && _e !== void 0 ? _e : item.media.coverImage.large) !== null && _f !== void 0 ? _f : item.media.coverImage.medium, genres: item.genres, + color: (_g = item.media.coverImage) === null || _g === void 0 ? void 0 : _g.color, rating: item.media.averageScore, releaseDate: item.media.seasonYear, type: item.media.format, @@ -706,7 +712,7 @@ class Anilist extends models_1.AnimeParser { currentPage: data.data.Page.pageInfo.currentPage, hasNextPage: data.data.Page.pageInfo.hasNextPage, results: data.data.Page.media.map((item) => { - var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m; + var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; return ({ id: item.id.toString(), malId: item.idMal, @@ -726,8 +732,9 @@ class Anilist extends models_1.AnimeParser { cover: (_j = (_h = (_g = item.bannerImage) !== null && _g !== void 0 ? _g : item.coverImage.extraLarge) !== null && _h !== void 0 ? _h : item.coverImage.large) !== null && _j !== void 0 ? _j : item.coverImage.medium, rating: item.averageScore, releaseDate: item.seasonYear, + color: (_k = item.coverImage) === null || _k === void 0 ? void 0 : _k.color, genres: item.genres, - totalEpisodes: isNaN(item.episodes) ? 0 : (_m = (_k = item.episodes) !== null && _k !== void 0 ? _k : ((_l = item.nextAiringEpisode) === null || _l === void 0 ? void 0 : _l.episode) - 1) !== null && _m !== void 0 ? _m : 0, + totalEpisodes: isNaN(item.episodes) ? 0 : (_o = (_l = item.episodes) !== null && _l !== void 0 ? _l : ((_m = item.nextAiringEpisode) === null || _m === void 0 ? void 0 : _m.episode) - 1) !== null && _o !== void 0 ? _o : 0, duration: item.duration, type: item.format, }); @@ -787,6 +794,7 @@ class Anilist extends models_1.AnimeParser { }, image: (_g = item.anime.coverImage) !== null && _g !== void 0 ? _g : item.anime.bannerImage, rating: item.anime.averageScore, + color: item.anime.color, episodeId: `${provider === 'gogoanime' ? (_h = item.sources.find((source) => source.website.toLowerCase() === 'gogoanime')) === null || _h === void 0 ? void 0 : _h.id : (_j = item.sources.find((source) => source.website.toLowerCase() === 'zoro')) === null || _j === void 0 ? void 0 : _j.id}-enime`, @@ -833,7 +841,7 @@ class Anilist extends models_1.AnimeParser { if (this.provider instanceof zoro_1.default && !dub && (Media.status === 'RELEASING' || - (0, utils_1.range)({ from: 2021, to: new Date().getFullYear() + 1 }).includes(parseInt((_5 = Media.startDate) === null || _5 === void 0 ? void 0 : _5.year)))) { + (0, utils_1.range)({ from: 2020, to: new Date().getFullYear() + 1 }).includes(parseInt((_5 = Media.startDate) === null || _5 === void 0 ? void 0 : _5.year)))) { try { possibleAnimeEpisodes = (_6 = (yield new enime_1.default().fetchAnimeInfoByAnilistId(id)).episodes) === null || _6 === void 0 ? void 0 : _6.map((item) => ({ id: item.slug, @@ -870,7 +878,7 @@ class Anilist extends models_1.AnimeParser { * @returns anilist data for the anime */ this.fetchAnilistInfoById = (id) => __awaiter(this, void 0, void 0, function* () { - var _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26; + var _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27; const animeInfo = { id: id, title: '', @@ -988,6 +996,7 @@ class Anilist extends models_1.AnimeParser { image: (_b = item.node.image.large) !== null && _b !== void 0 ? _b : item.node.image.medium, }); }); + animeInfo.color = (_27 = data.data.Media.coverImage) === null || _27 === void 0 ? void 0 : _27.color; animeInfo.relations = data.data.Media.relations.edges.map((item) => { var _b, _c, _d, _e, _f; return ({ @@ -1023,6 +1032,130 @@ class Anilist extends models_1.AnimeParser { throw new Error(err.message); } }); + /** + * + * @param id character id from anilist + */ + this.fetchCharacterInfoById = (id) => __awaiter(this, void 0, void 0, function* () { + var _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60; + const options = { + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + query: (0, utils_1.anilistCharacterQuery)(), + variables: { + id: id, + }, + }; + try { + const { data: { data: { Character }, }, } = yield axios_1.default.post(this.anilistGraphqlUrl, options); + const height = (_28 = Character.description.match(/__Height:__(.*)/)) === null || _28 === void 0 ? void 0 : _28[1].trim(); + const weight = (_29 = Character.description.match(/__Weight:__(.*)/)) === null || _29 === void 0 ? void 0 : _29[1].trim(); + const hairColor = (_30 = Character.description.match(/__Hair Color:__(.*)/)) === null || _30 === void 0 ? void 0 : _30[1].trim(); + const eyeColor = (_31 = Character.description.match(/__Eye Color:__(.*)/)) === null || _31 === void 0 ? void 0 : _31[1].trim(); + const relatives = (_32 = Character.description + .match(/__Relatives:__(.*)/)) === null || _32 === void 0 ? void 0 : _32[1].trim().split(/(, \[)/g).filter((g) => !g.includes(', [')).map((r) => { + var _b, _c, _d; + return ({ + id: (_b = r.match(/\/(\d+)/)) === null || _b === void 0 ? void 0 : _b[1], + name: (_c = r.match(/([^)]+)\]/)) === null || _c === void 0 ? void 0 : _c[1].replace(/\[/g, ''), + relationship: (_d = r.match(/\(([^)]+)\).*?(\(([^)]+)\))/)) === null || _d === void 0 ? void 0 : _d[3], + }); + }); + const race = (_33 = Character.description + .match(/__Race:__(.*)/)) === null || _33 === void 0 ? void 0 : _33[1].split(', ').map((r) => r.trim()); + const rank = (_34 = Character.description.match(/__Rank:__(.*)/)) === null || _34 === void 0 ? void 0 : _34[1]; + const occupation = (_35 = Character.description.match(/__Occupation:__(.*)/)) === null || _35 === void 0 ? void 0 : _35[1]; + const previousPosition = (_37 = (_36 = Character.description.match(/__Previous Position:__(.*)/)) === null || _36 === void 0 ? void 0 : _36[1]) === null || _37 === void 0 ? void 0 : _37.trim(); + const partner = (_38 = Character.description + .match(/__Partner:__(.*)/)) === null || _38 === void 0 ? void 0 : _38[1].split(/(, \[)/g).filter((g) => !g.includes(', [')).map((r) => { + var _b, _c; + return ({ + id: (_b = r.match(/\/(\d+)/)) === null || _b === void 0 ? void 0 : _b[1], + name: (_c = r.match(/([^)]+)\]/)) === null || _c === void 0 ? void 0 : _c[1].replace(/\[/g, ''), + }); + }); + const dislikes = (_39 = Character.description.match(/__Dislikes:__(.*)/)) === null || _39 === void 0 ? void 0 : _39[1]; + const sign = (_40 = Character.description.match(/__Sign:__(.*)/)) === null || _40 === void 0 ? void 0 : _40[1]; + const zodicSign = (_42 = (_41 = Character.description.match(/__Zodiac sign:__(.*)/)) === null || _41 === void 0 ? void 0 : _41[1]) === null || _42 === void 0 ? void 0 : _42.trim(); + const zodicAnimal = (_44 = (_43 = Character.description.match(/__Zodiac Animal:__(.*)/)) === null || _43 === void 0 ? void 0 : _43[1]) === null || _44 === void 0 ? void 0 : _44.trim(); + const themeSong = (_46 = (_45 = Character.description.match(/__Theme Song:__(.*)/)) === null || _45 === void 0 ? void 0 : _45[1]) === null || _46 === void 0 ? void 0 : _46.trim(); + Character.description = Character.description.replace(/__Theme Song:__(.*)\n|__Race:__(.*)\n|__Height:__(.*)\n|__Relatives:__(.*)\n|__Rank:__(.*)\n|__Zodiac sign:__(.*)\n|__Zodiac Animal:__(.*)\n|__Weight:__(.*)\n|__Eye Color:__(.*)\n|__Hair Color:__(.*)\n|__Dislikes:__(.*)\n|__Sign:__(.*)\n|__Partner:__(.*)\n|__Previous Position:__(.*)\n|__Occupation:__(.*)\n/gm, ''); + const characterInfo = { + id: Character.id, + name: { + first: (_47 = Character.name) === null || _47 === void 0 ? void 0 : _47.first, + last: (_48 = Character.name) === null || _48 === void 0 ? void 0 : _48.last, + full: (_49 = Character.name) === null || _49 === void 0 ? void 0 : _49.full, + native: (_50 = Character.name) === null || _50 === void 0 ? void 0 : _50.native, + userPreferred: (_51 = Character.name) === null || _51 === void 0 ? void 0 : _51.userPreferred, + alternative: (_52 = Character.name) === null || _52 === void 0 ? void 0 : _52.alternative, + alternativeSpoiler: (_53 = Character.name) === null || _53 === void 0 ? void 0 : _53.alternativeSpoiler, + }, + image: (_55 = (_54 = Character.image) === null || _54 === void 0 ? void 0 : _54.large) !== null && _55 !== void 0 ? _55 : (_56 = Character.image) === null || _56 === void 0 ? void 0 : _56.medium, + description: Character.description, + gender: Character.gender, + dateOfBirth: { + year: (_57 = Character.dateOfBirth) === null || _57 === void 0 ? void 0 : _57.year, + month: (_58 = Character.dateOfBirth) === null || _58 === void 0 ? void 0 : _58.month, + day: (_59 = Character.dateOfBirth) === null || _59 === void 0 ? void 0 : _59.day, + }, + bloodType: Character.bloodType, + age: Character.age, + hairColor: hairColor, + eyeColor: eyeColor, + height: height, + weight: weight, + occupation: occupation, + partner: partner, + relatives: relatives, + race: race, + rank: rank, + previousPosition: previousPosition, + dislikes: dislikes, + sign: sign, + zodicSign: zodicSign, + zodicAnimal: zodicAnimal, + themeSong: themeSong, + relations: (_60 = Character.media.edges) === null || _60 === void 0 ? void 0 : _60.map((v) => { + var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m; + return ({ + id: v.node.id, + malId: v.node.idMal, + role: v.characterRole, + title: { + romaji: (_b = v.node.title) === null || _b === void 0 ? void 0 : _b.romaji, + english: (_c = v.node.title) === null || _c === void 0 ? void 0 : _c.english, + native: (_d = v.node.title) === null || _d === void 0 ? void 0 : _d.native, + userPreferred: (_e = v.node.title) === null || _e === void 0 ? void 0 : _e.userPreferred, + }, + status: v.node.status == 'RELEASING' + ? models_1.MediaStatus.ONGOING + : v.node.status == 'FINISHED' + ? models_1.MediaStatus.COMPLETED + : v.node.status == 'NOT_YET_RELEASED' + ? models_1.MediaStatus.NOT_YET_AIRED + : v.node.status == 'CANCELLED' + ? models_1.MediaStatus.CANCELLED + : v.node.status == 'HIATUS' + ? models_1.MediaStatus.HIATUS + : models_1.MediaStatus.UNKNOWN, + episodes: v.node.episodes, + image: (_j = (_g = (_f = v.node.coverImage) === null || _f === void 0 ? void 0 : _f.extraLarge) !== null && _g !== void 0 ? _g : (_h = v.node.coverImage) === null || _h === void 0 ? void 0 : _h.large) !== null && _j !== void 0 ? _j : (_k = v.node.coverImage) === null || _k === void 0 ? void 0 : _k.medium, + rating: v.node.averageScore, + releaseDate: (_l = v.node.startDate) === null || _l === void 0 ? void 0 : _l.year, + format: v.node.format, + color: (_m = v.node.coverImage) === null || _m === void 0 ? void 0 : _m.color, + }); + }), + }; + return characterInfo; + } + catch (err) { + throw new Error(err.message); + } + }); this.provider = provider || new gogoanime_1.default(); } } diff --git a/dist/providers/meta/anilist.js.map b/dist/providers/meta/anilist.js.map index 82a15c26b..08e1b13bd 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,yCAcsB;AACtB,uCAWqB;AACrB,gFAAwD;AACxD,2DAAmC;AACnC,iEAAyC;AACzC,yDAAiC;AAGjC,MAAM,OAAQ,SAAQ,oBAAW;IAY/B;;;;OAIG;IACH,YAAY,QAAsB;QAChC,KAAK,EAAE,CAAC;QAjBQ,SAAI,GAAG,SAAS,CAAC;QAChB,YAAO,GAAG,oBAAoB,CAAC;QAC/B,SAAI,GAAG,sEAAsE,CAAC;QAC9E,cAAS,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I,CAAC,QAAQ,GAAG,QAAQ,IAAI,IAAI,kBAAQ,EAAE,CAAC;IAC7C,CAAC;CAaD,CAAA;AAGJ,kBAAe,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"anilist.js","sourceRoot":"","sources":["../../../src/providers/meta/anilist.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA0B;AAE1B,yCAcsB;AACtB,uCAYqB;AACrB,gFAAwD;AACxD,2DAAmC;AACnC,iEAAyC;AACzC,yDAAiC;AAGjC,MAAM,OAAQ,SAAQ,oBAAW;IAY/B;;;;OAIG;IACH,YAAY,QAAsB;QAChC,KAAK,EAAE,CAAC;QAjBQ,SAAI,GAAG,SAAS,CAAC;QAChB,YAAO,GAAG,oBAAoB,CAAC;QAC/B,SAAI,GAAG,sEAAsE,CAAC;QAC9E,cAAS,GAAG,cAAc,CAAC;QAE7B,sBAAiB,GAAG,4BAA4B,CAAC;QACjD,oBAAe,GAAG,8BAA8B,CAAC;QACjD,eAAU,GAAG,yBAAyB,CAAC;QACvC,aAAQ,GAAG,uBAAuB,CAAC;QAapD;;;;WAIG;QACM,WAAM,GAAG,CAChB,KAAa,EACb,OAAe,CAAC,EAChB,UAAkB,EAAE,EACY,EAAE;YAClC,MAAM,OAAO,GAAG;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,MAAM,EAAE,kBAAkB;iBAC3B;gBACD,KAAK,EAAE,IAAA,0BAAkB,EAAC,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC;aAChD,CAAC;YAEF,IAAI;gBACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,eAAK,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;gBAEnE,MAAM,GAAG,GAA0B;oBACjC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW;oBAChD,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI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,EAAE;YACvE,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC,CAAC;QAbA,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,IAAI,kBAAQ,EAAE,CAAC;IAC7C,CAAC;CAaD,CAAA;AAGJ,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/utils/index.d.ts b/dist/utils/index.d.ts index e8a5498d1..d651a48c1 100644 --- a/dist/utils/index.d.ts +++ b/dist/utils/index.d.ts @@ -1,5 +1,5 @@ import { GogoCDN, StreamSB, VidCloud, MixDrop, Kwik, RapidCloud, StreamTape, VizCloud, Filemoon } from './extractors'; -import { USER_AGENT, splitAuthor, floorID, formatTitle, genElement, capitalizeFirstLetter, anilistSearchQuery, anilistMediaDetailQuery, kitsuSearchQuery, range, anilistTrendingAnimeQuery, anilistPopularAnimeQuery, anilistAiringScheduleQuery, anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery } from './utils'; +import { USER_AGENT, splitAuthor, floorID, formatTitle, genElement, capitalizeFirstLetter, anilistSearchQuery, anilistMediaDetailQuery, kitsuSearchQuery, range, anilistTrendingAnimeQuery, anilistPopularAnimeQuery, anilistAiringScheduleQuery, anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery, anilistCharacterQuery } from './utils'; import { parsePostInfo } from './getComics'; import { countDivs } from './zLibrary'; -export { USER_AGENT, GogoCDN, StreamSB, splitAuthor, floorID, formatTitle, parsePostInfo, genElement, capitalizeFirstLetter, countDivs, VidCloud, MixDrop, Kwik, anilistSearchQuery, anilistMediaDetailQuery, kitsuSearchQuery, range, RapidCloud, StreamTape, VizCloud, anilistTrendingAnimeQuery, anilistPopularAnimeQuery, anilistAiringScheduleQuery, anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery, Filemoon, }; +export { USER_AGENT, GogoCDN, StreamSB, splitAuthor, floorID, formatTitle, parsePostInfo, genElement, capitalizeFirstLetter, countDivs, VidCloud, MixDrop, Kwik, anilistSearchQuery, anilistMediaDetailQuery, kitsuSearchQuery, range, RapidCloud, StreamTape, VizCloud, anilistTrendingAnimeQuery, anilistPopularAnimeQuery, anilistAiringScheduleQuery, anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery, Filemoon, anilistCharacterQuery, }; diff --git a/dist/utils/index.js b/dist/utils/index.js index ca27f3df8..87cc2b5d1 100644 --- a/dist/utils/index.js +++ b/dist/utils/index.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.Filemoon = exports.anilistSiteStatisticsQuery = exports.anilistAdvancedQuery = exports.anilistGenresQuery = exports.anilistAiringScheduleQuery = exports.anilistPopularAnimeQuery = exports.anilistTrendingAnimeQuery = exports.VizCloud = exports.StreamTape = exports.RapidCloud = exports.range = exports.kitsuSearchQuery = exports.anilistMediaDetailQuery = exports.anilistSearchQuery = exports.Kwik = exports.MixDrop = exports.VidCloud = exports.countDivs = exports.capitalizeFirstLetter = exports.genElement = exports.parsePostInfo = exports.formatTitle = exports.floorID = exports.splitAuthor = exports.StreamSB = exports.GogoCDN = exports.USER_AGENT = void 0; +exports.anilistCharacterQuery = exports.Filemoon = exports.anilistSiteStatisticsQuery = exports.anilistAdvancedQuery = exports.anilistGenresQuery = exports.anilistAiringScheduleQuery = exports.anilistPopularAnimeQuery = exports.anilistTrendingAnimeQuery = exports.VizCloud = exports.StreamTape = exports.RapidCloud = exports.range = exports.kitsuSearchQuery = exports.anilistMediaDetailQuery = exports.anilistSearchQuery = exports.Kwik = exports.MixDrop = exports.VidCloud = exports.countDivs = exports.capitalizeFirstLetter = exports.genElement = exports.parsePostInfo = exports.formatTitle = exports.floorID = exports.splitAuthor = exports.StreamSB = exports.GogoCDN = exports.USER_AGENT = void 0; const extractors_1 = require("./extractors"); Object.defineProperty(exports, "GogoCDN", { enumerable: true, get: function () { return extractors_1.GogoCDN; } }); Object.defineProperty(exports, "StreamSB", { enumerable: true, get: function () { return extractors_1.StreamSB; } }); @@ -28,6 +28,7 @@ Object.defineProperty(exports, "anilistAiringScheduleQuery", { enumerable: true, Object.defineProperty(exports, "anilistGenresQuery", { enumerable: true, get: function () { return utils_1.anilistGenresQuery; } }); Object.defineProperty(exports, "anilistAdvancedQuery", { enumerable: true, get: function () { return utils_1.anilistAdvancedQuery; } }); Object.defineProperty(exports, "anilistSiteStatisticsQuery", { enumerable: true, get: function () { return utils_1.anilistSiteStatisticsQuery; } }); +Object.defineProperty(exports, "anilistCharacterQuery", { enumerable: true, get: function () { return utils_1.anilistCharacterQuery; } }); const getComics_1 = require("./getComics"); Object.defineProperty(exports, "parsePostInfo", { enumerable: true, get: function () { return getComics_1.parsePostInfo; } }); const zLibrary_1 = require("./zLibrary"); diff --git a/dist/utils/index.js.map b/dist/utils/index.js.map index 9533d88b4..89c3233ce 100644 --- a/dist/utils/index.js.map +++ b/dist/utils/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;AAAA,6CAUsB;AAwBpB,wFAjCA,oBAAO,OAiCA;AACP,yFAjCA,qBAAQ,OAiCA;AAQR,yFAxCA,qBAAQ,OAwCA;AACR,wFAxCA,oBAAO,OAwCA;AACP,qFAxCA,iBAAI,OAwCA;AAKJ,2FA5CA,uBAAU,OA4CA;AACV,2FA5CA,uBAAU,OA4CA;AACV,yFA5CA,qBAAQ,OA4CA;AAOR,yFAlDA,qBAAQ,OAkDA;AAhDV,mCAiBiB;AAKf,2FArBA,kBAAU,OAqBA;AAGV,4FAvBA,mBAAW,OAuBA;AACX,wFAvBA,eAAO,OAuBA;AACP,4FAvBA,mBAAW,OAuBA;AAEX,2FAxBA,kBAAU,OAwBA;AACV,sGAxBA,6BAAqB,OAwBA;AAKrB,mGA5BA,0BAAkB,OA4BA;AAClB,wGA5BA,+BAAuB,OA4BA;AACvB,iGA5BA,wBAAgB,OA4BA;AAChB,sFA5BA,aAAK,OA4BA;AAIL,0GA/BA,iCAAyB,OA+BA;AACzB,yGA/BA,gCAAwB,OA+BA;AACxB,2GA/BA,kCAA0B,OA+BA;AAC1B,mGA/BA,0BAAkB,OA+BA;AAClB,qGA/BA,4BAAoB,OA+BA;AACpB,2GA/BA,kCAA0B,OA+BA;AA7B5B,2CAA4C;AAU1C,8FAVO,yBAAa,OAUP;AATf,yCAAuC;AAYrC,0FAZO,oBAAS,OAYP"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;AAAA,6CAUsB;AAyBpB,wFAlCA,oBAAO,OAkCA;AACP,yFAlCA,qBAAQ,OAkCA;AAQR,yFAzCA,qBAAQ,OAyCA;AACR,wFAzCA,oBAAO,OAyCA;AACP,qFAzCA,iBAAI,OAyCA;AAKJ,2FA7CA,uBAAU,OA6CA;AACV,2FA7CA,uBAAU,OA6CA;AACV,yFA7CA,qBAAQ,OA6CA;AAOR,yFAnDA,qBAAQ,OAmDA;AAjDV,mCAkBiB;AAKf,2FAtBA,kBAAU,OAsBA;AAGV,4FAxBA,mBAAW,OAwBA;AACX,wFAxBA,eAAO,OAwBA;AACP,4FAxBA,mBAAW,OAwBA;AAEX,2FAzBA,kBAAU,OAyBA;AACV,sGAzBA,6BAAqB,OAyBA;AAKrB,mGA7BA,0BAAkB,OA6BA;AAClB,wGA7BA,+BAAuB,OA6BA;AACvB,iGA7BA,wBAAgB,OA6BA;AAChB,sFA7BA,aAAK,OA6BA;AAIL,0GAhCA,iCAAyB,OAgCA;AACzB,yGAhCA,gCAAwB,OAgCA;AACxB,2GAhCA,kCAA0B,OAgCA;AAC1B,mGAhCA,0BAAkB,OAgCA;AAClB,qGAhCA,4BAAoB,OAgCA;AACpB,2GAhCA,kCAA0B,OAgCA;AAE1B,sGAjCA,6BAAqB,OAiCA;AA/BvB,2CAA4C;AAU1C,8FAVO,yBAAa,OAUP;AATf,yCAAuC;AAYrC,0FAZO,oBAAS,OAYP"} \ No newline at end of file diff --git a/dist/utils/utils.d.ts b/dist/utils/utils.d.ts index 9abbd87f0..0c0479797 100644 --- a/dist/utils/utils.d.ts +++ b/dist/utils/utils.d.ts @@ -18,4 +18,5 @@ export declare const anilistPopularAnimeQuery: (page?: number, perPage?: number) export declare const anilistGenresQuery: (genres: string[], page?: number, perPage?: number) => string; export declare const anilistAiringScheduleQuery: (page: number | undefined, perPage: number | undefined, weekStart: number, weekEnd: number, notYetAired: boolean) => string; export declare const anilistSiteStatisticsQuery: () => string; +export declare const anilistCharacterQuery: () => string; export declare const kitsuSearchQuery: (query: string) => string; diff --git a/dist/utils/utils.js b/dist/utils/utils.js index a8b98f6f4..ec222ecd5 100644 --- a/dist/utils/utils.js +++ b/dist/utils/utils.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.kitsuSearchQuery = exports.anilistSiteStatisticsQuery = exports.anilistAiringScheduleQuery = exports.anilistGenresQuery = exports.anilistPopularAnimeQuery = exports.anilistTrendingAnimeQuery = exports.anilistMediaDetailQuery = exports.anilistSearchQuery = exports.anilistAdvancedQuery = exports.capitalizeFirstLetter = exports.range = exports.genElement = exports.formatTitle = exports.floorID = exports.splitAuthor = exports.USER_AGENT = void 0; +exports.kitsuSearchQuery = exports.anilistCharacterQuery = exports.anilistSiteStatisticsQuery = exports.anilistAiringScheduleQuery = exports.anilistGenresQuery = exports.anilistPopularAnimeQuery = exports.anilistTrendingAnimeQuery = exports.anilistMediaDetailQuery = exports.anilistSearchQuery = exports.anilistAdvancedQuery = exports.capitalizeFirstLetter = exports.range = exports.genElement = exports.formatTitle = exports.floorID = exports.splitAuthor = exports.USER_AGENT = void 0; const cheerio_1 = require("cheerio"); exports.USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36'; const splitAuthor = (authors) => { @@ -83,6 +83,8 @@ const anilistAiringScheduleQuery = (page = 1, perPage = 20, weekStart, weekEnd, exports.anilistAiringScheduleQuery = anilistAiringScheduleQuery; const anilistSiteStatisticsQuery = () => `query { SiteStatistics { anime { nodes { count } } } }`; exports.anilistSiteStatisticsQuery = anilistSiteStatisticsQuery; +const anilistCharacterQuery = () => `query character($id: Int) { Character(id: $id) { id name { first middle last full native userPreferred alternative alternativeSpoiler } image { large medium } description gender dateOfBirth { year month day } bloodType age favourites media { edges { characterRole node { id idMal title { romaji english native userPreferred } coverImage { extraLarge large medium color } averageScore startDate { year month day } episodes format status } } } } }`; +exports.anilistCharacterQuery = anilistCharacterQuery; const kitsuSearchQuery = (query) => `query{searchAnimeByTitle(first:5, title:"${query}"){ nodes {id season startDate titles { localized } episodes(first: 2000){ nodes { number titles { canonical } description thumbnail { original { url } } } } } } }`; exports.kitsuSearchQuery = kitsuSearchQuery; //# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/dist/utils/utils.js.map b/dist/utils/utils.js.map index 582d5d1e2..37b10d88f 100644 --- a/dist/utils/utils.js.map +++ b/dist/utils/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":";;;AAAA,qCAA+B;AAElB,QAAA,UAAU,GACrB,qHAAqH,CAAC;AAEjH,MAAM,WAAW,GAAG,CAAC,OAAe,EAAE,EAAE;IAC7C,MAAM,GAAG,GAAa,EAAE,CAAC;IACzB,IAAI,KAAK,GAAG,EAAE,CAAC;IACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACvC,IAAI,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,EAAE;YACzE,SAAS;SACV;QACD,IAAI,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,IAA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AyB,GAAG,CAAC,OAAe,CAAC,EAAE,UAAkB,EAAE,EAAE,EAAE,CAClF,uBAAuB,IAAI,iFAAiF,OAAO,6gBAA6gB,CAAC;AADtnB,QAAA,yBAAyB,6BAC6lB;AAC5nB,MAAM,wBAAwB,GAAG,CAAC,OAAe,CAAC,EAAE,UAAkB,EAAE,EAAE,EAAE,CACjF,uBAAuB,IAAI,iFAAiF,OAAO,+fAA+f,CAAC;AADxmB,QAAA,wBAAwB,4BACglB;AAC9mB,MAAM,kBAAkB,GAAG,CAAC,MAAgB,EAAE,OAAe,CAAC,EAAE,UAAkB,EAAE,EAAE,EAAE,CAC7F,8BAA8B,IAAI,CAAC,SAAS,CAC1C,MAAM,CACP,kBAAkB,IAAI,uEAAuE,OAAO,4cAA4c,CAAC;AAHviB,QAAA,kBAAkB,sBAGqhB;AAC7iB,MAAM,0BAA0B,GAAG,CACxC,OAAe,CAAC,EAChB,UAAkB,EAAE,EACpB,SAAiB,EACjB,OAAe,EACf,WAAoB,EACpB,EAAE,CACF,sBAAsB,IAAI,cAAc,OAAO,iGAAiG,WAAW,uBAAuB,SAAS,sBAAsB,OAAO,wNAAwN,CAAC;AAPta,QAAA,0BAA0B,8BAO4Y;AAC5a,MAAM,0BAA0B,GAAG,GAAG,EAAE,CAAC,wDAAwD,CAAC;AAA5F,QAAA,0BAA0B,8BAAkE;AAClG,MAAM,qBAAqB,GAAG,GAAG,EAAE,CACxC,+bAA+b,CAAC;AADrb,QAAA,qBAAqB,yBACga;AAC3b,MAAM,gBAAgB,GAAG,CAAC,KAAa,EAAE,EAAE,CAChD,4CAA4C,KAAK,qKAAqK,CAAC;AAD5M,QAAA,gBAAgB,oBAC4L"} \ No newline at end of file diff --git a/src/providers/meta/anilist.ts b/src/providers/meta/anilist.ts index 031b6d68b..6d2c43e32 100644 --- a/src/providers/meta/anilist.ts +++ b/src/providers/meta/anilist.ts @@ -25,6 +25,7 @@ import { anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery, + anilistCharacterQuery, range, } from '../../utils'; import Gogoanime from '../../providers/anime/gogoanime'; @@ -101,8 +102,9 @@ class Anilist extends AnimeParser { : item.status == 'HIATUS' ? MediaStatus.HIATUS : MediaStatus.UNKNOWN, - image: item.coverImage.extraLarge ?? item.coverImage.large ?? item.coverImage.medium, + image: item.coverImage?.extraLarge ?? item.coverImage?.large ?? item.coverImage?.medium, rating: item.averageScore, + color: item.coverImage?.color, format: item.format, releaseDate: item.seasonYear, })), @@ -199,6 +201,7 @@ class Anilist extends AnimeParser { : MediaStatus.UNKNOWN, image: item.coverImage.extraLarge ?? item.coverImage.large ?? item.coverImage.medium, rating: item.averageScore, + color: item.coverImage?.color, format: item.format, releaseDate: item.seasonYear, })), @@ -372,6 +375,7 @@ class Anilist extends AnimeParser { : MediaStatus.UNKNOWN, episodes: item.node.episodes, image: item.node.coverImage.extraLarge ?? item.node.coverImage.large ?? item.node.coverImage.medium, + color: item.node.coverImage?.color, cover: item.node.bannerImage ?? item.node.coverImage.extraLarge ?? @@ -384,7 +388,7 @@ class Anilist extends AnimeParser { this.provider instanceof Zoro && !dub && (animeInfo.status === MediaStatus.ONGOING || - range({ from: 2021, to: new Date().getFullYear() + 1 }).includes(parseInt(animeInfo.releaseDate!))) + range({ from: 2020, to: new Date().getFullYear() + 1 }).includes(parseInt(animeInfo.releaseDate!))) ) { try { animeInfo.episodes = (await new Enime().fetchAnimeInfoByAnilistId(id)).episodes?.map( @@ -670,6 +674,7 @@ class Anilist extends AnimeParser { item.bannerImage ?? item.coverImage.extraLarge ?? item.coverImage.large ?? item.coverImage.medium, rating: item.averageScore, releaseDate: item.seasonYear, + color: item.color, genres: item.genres, totalEpisodes: isNaN(item.episodes) ? 0 : item.episodes ?? item.nextAiringEpisode?.episode - 1 ?? 0, duration: item.duration, @@ -735,6 +740,7 @@ class Anilist extends AnimeParser { item.bannerImage ?? item.coverImage.extraLarge ?? item.coverImage.large ?? item.coverImage.medium, rating: item.averageScore, releaseDate: item.seasonYear, + color: item.color, genres: item.genres, totalEpisodes: isNaN(item.episodes) ? 0 : item.episodes ?? item.nextAiringEpisode?.episode - 1 ?? 0, duration: item.duration, @@ -804,6 +810,7 @@ class Anilist extends AnimeParser { item.media.coverImage.large ?? item.media.coverImage.medium, genres: item.genres, + color: item.media.coverImage?.color, rating: item.media.averageScore, releaseDate: item.media.seasonYear, type: item.media.format, @@ -861,6 +868,7 @@ class Anilist extends AnimeParser { item.bannerImage ?? item.coverImage.extraLarge ?? item.coverImage.large ?? item.coverImage.medium, rating: item.averageScore, releaseDate: item.seasonYear, + color: item.coverImage?.color, genres: item.genres, totalEpisodes: isNaN(item.episodes) ? 0 : item.episodes ?? item.nextAiringEpisode?.episode - 1 ?? 0, duration: item.duration, @@ -933,6 +941,7 @@ class Anilist extends AnimeParser { }, image: item.anime.coverImage ?? item.anime.bannerImage, rating: item.anime.averageScore, + color: item.anime.color, episodeId: `${ provider === 'gogoanime' ? item.sources.find((source: any) => source.website.toLowerCase() === 'gogoanime')?.id @@ -1008,7 +1017,7 @@ class Anilist extends AnimeParser { this.provider instanceof Zoro && !dub && (Media.status === 'RELEASING' || - range({ from: 2021, to: new Date().getFullYear() + 1 }).includes(parseInt(Media.startDate?.year!))) + range({ from: 2020, to: new Date().getFullYear() + 1 }).includes(parseInt(Media.startDate?.year!))) ) { try { possibleAnimeEpisodes = (await new Enime().fetchAnimeInfoByAnilistId(id)).episodes?.map( @@ -1174,7 +1183,7 @@ class Anilist extends AnimeParser { }, image: item.node.image.large ?? item.node.image.medium, })); - + animeInfo.color = data.data.Media.coverImage?.color; animeInfo.relations = data.data.Media.relations.edges.map((item: any) => ({ id: item.node.id, malId: item.node.idMal, @@ -1213,6 +1222,141 @@ class Anilist extends AnimeParser { } }; + /** + * + * @param id character id from anilist + */ + fetchCharacterInfoById = async (id: string) => { + const options = { + headers: { + 'Content-Type': 'application/json', + Accept: 'application/json', + }, + query: anilistCharacterQuery(), + variables: { + id: id, + }, + }; + + try { + const { + data: { + data: { Character }, + }, + } = await axios.post(this.anilistGraphqlUrl, options); + + const height = Character.description.match(/__Height:__(.*)/)?.[1].trim(); + const weight = Character.description.match(/__Weight:__(.*)/)?.[1].trim(); + const hairColor = Character.description.match(/__Hair Color:__(.*)/)?.[1].trim(); + const eyeColor = Character.description.match(/__Eye Color:__(.*)/)?.[1].trim(); + const relatives = Character.description + .match(/__Relatives:__(.*)/)?.[1] + .trim() + .split(/(, \[)/g) + .filter((g: string) => !g.includes(', [')) + .map((r: string) => ({ + id: r.match(/\/(\d+)/)?.[1], + name: r.match(/([^)]+)\]/)?.[1].replace(/\[/g, ''), + relationship: r.match(/\(([^)]+)\).*?(\(([^)]+)\))/)?.[3], + })); + const race = Character.description + .match(/__Race:__(.*)/)?.[1] + .split(', ') + .map((r: string) => r.trim()); + const rank = Character.description.match(/__Rank:__(.*)/)?.[1]; + const occupation = Character.description.match(/__Occupation:__(.*)/)?.[1]; + const previousPosition = Character.description.match(/__Previous Position:__(.*)/)?.[1]?.trim(); + const partner = Character.description + .match(/__Partner:__(.*)/)?.[1] + .split(/(, \[)/g) + .filter((g: string) => !g.includes(', [')) + .map((r: string) => ({ + id: r.match(/\/(\d+)/)?.[1], + name: r.match(/([^)]+)\]/)?.[1].replace(/\[/g, ''), + })); + const dislikes = Character.description.match(/__Dislikes:__(.*)/)?.[1]; + const sign = Character.description.match(/__Sign:__(.*)/)?.[1]; + const zodicSign = Character.description.match(/__Zodiac sign:__(.*)/)?.[1]?.trim(); + const zodicAnimal = Character.description.match(/__Zodiac Animal:__(.*)/)?.[1]?.trim(); + const themeSong = Character.description.match(/__Theme Song:__(.*)/)?.[1]?.trim(); + Character.description = Character.description.replace( + /__Theme Song:__(.*)\n|__Race:__(.*)\n|__Height:__(.*)\n|__Relatives:__(.*)\n|__Rank:__(.*)\n|__Zodiac sign:__(.*)\n|__Zodiac Animal:__(.*)\n|__Weight:__(.*)\n|__Eye Color:__(.*)\n|__Hair Color:__(.*)\n|__Dislikes:__(.*)\n|__Sign:__(.*)\n|__Partner:__(.*)\n|__Previous Position:__(.*)\n|__Occupation:__(.*)\n/gm, + '' + ); + + const characterInfo = { + id: Character.id, + name: { + first: Character.name?.first, + last: Character.name?.last, + full: Character.name?.full, + native: Character.name?.native, + userPreferred: Character.name?.userPreferred, + alternative: Character.name?.alternative, + alternativeSpoiler: Character.name?.alternativeSpoiler, + }, + image: Character.image?.large ?? Character.image?.medium, + description: Character.description, + gender: Character.gender, + dateOfBirth: { + year: Character.dateOfBirth?.year, + month: Character.dateOfBirth?.month, + day: Character.dateOfBirth?.day, + }, + bloodType: Character.bloodType, + age: Character.age, + hairColor: hairColor, + eyeColor: eyeColor, + height: height, + weight: weight, + occupation: occupation, + partner: partner, + relatives: relatives, + race: race, + rank: rank, + previousPosition: previousPosition, + dislikes: dislikes, + sign: sign, + zodicSign: zodicSign, + zodicAnimal: zodicAnimal, + themeSong: themeSong, + relations: Character.media.edges?.map((v: any) => ({ + id: v.node.id, + malId: v.node.idMal, + role: v.characterRole, + title: { + romaji: v.node.title?.romaji, + english: v.node.title?.english, + native: v.node.title?.native, + userPreferred: v.node.title?.userPreferred, + }, + status: + v.node.status == 'RELEASING' + ? MediaStatus.ONGOING + : v.node.status == 'FINISHED' + ? MediaStatus.COMPLETED + : v.node.status == 'NOT_YET_RELEASED' + ? MediaStatus.NOT_YET_AIRED + : v.node.status == 'CANCELLED' + ? MediaStatus.CANCELLED + : v.node.status == 'HIATUS' + ? MediaStatus.HIATUS + : MediaStatus.UNKNOWN, + episodes: v.node.episodes, + image: v.node.coverImage?.extraLarge ?? v.node.coverImage?.large ?? v.node.coverImage?.medium, + rating: v.node.averageScore, + releaseDate: v.node.startDate?.year, + format: v.node.format, + color: v.node.coverImage?.color, + })), + }; + + return characterInfo; + } catch (err) { + throw new Error((err as Error).message); + } + }; + /** * Anilist Anime class */ diff --git a/src/utils/index.ts b/src/utils/index.ts index 4172223e3..1b4b57114 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -26,6 +26,7 @@ import { anilistGenresQuery, anilistAdvancedQuery, anilistSiteStatisticsQuery, + anilistCharacterQuery, } from './utils'; import { parsePostInfo } from './getComics'; import { countDivs } from './zLibrary'; @@ -58,4 +59,5 @@ export { anilistAdvancedQuery, anilistSiteStatisticsQuery, Filemoon, + anilistCharacterQuery, }; diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 2cd66b1f1..3f6f18ff1 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -90,5 +90,7 @@ export const anilistAiringScheduleQuery = ( ) => `query { Page(page: ${page}, perPage: ${perPage}) { pageInfo { total perPage currentPage lastPage hasNextPage } airingSchedules( notYetAired: ${notYetAired}, airingAt_greater: ${weekStart}, airingAt_lesser: ${weekEnd}) { airingAt episode media { id description idMal title { romaji english userPreferred native } countryOfOrigin bannerImage coverImage { extraLarge large medium color } genres averageScore seasonYear format } } } }`; export const anilistSiteStatisticsQuery = () => `query { SiteStatistics { anime { nodes { count } } } }`; +export const anilistCharacterQuery = () => + `query character($id: Int) { Character(id: $id) { id name { first middle last full native userPreferred alternative alternativeSpoiler } image { large medium } description gender dateOfBirth { year month day } bloodType age favourites media { edges { characterRole node { id idMal title { romaji english native userPreferred } coverImage { extraLarge large medium color } averageScore startDate { year month day } episodes format status } } } } }`; export const kitsuSearchQuery = (query: string) => `query{searchAnimeByTitle(first:5, title:"${query}"){ nodes {id season startDate titles { localized } episodes(first: 2000){ nodes { number titles { canonical } description thumbnail { original { url } } } } } } }`;