From e77181b2239f50b60834c7ef9bd3fa3d730a3750 Mon Sep 17 00:00:00 2001 From: InumakiEU Date: Fri, 25 Nov 2022 00:08:33 +0100 Subject: [PATCH 1/6] mal --- src/providers/meta/mal.ts | 274 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 274 insertions(+) create mode 100644 src/providers/meta/mal.ts diff --git a/src/providers/meta/mal.ts b/src/providers/meta/mal.ts new file mode 100644 index 000000000..78cdb77e6 --- /dev/null +++ b/src/providers/meta/mal.ts @@ -0,0 +1,274 @@ +import axios from 'axios'; +import { CheerioAPI, load } from 'cheerio'; +import { val } from 'cheerio/lib/api/attributes'; +import { assert, timeEnd } from 'console'; +import { stat } from 'fs'; + + +import { + AnimeParser, + ISearch, + IAnimeInfo, + MediaStatus, + IAnimeResult, + ISource, + IAnimeEpisode, + SubOrSub, + IEpisodeServer, + Genres, + MangaParser, + IMangaChapterPage, + IMangaInfo, + IMangaResult, + IMangaChapter, + ProxyConfig, + MediaFormat, + ITitle, + FuzzyDate, + } from '../../models'; + +let substringAfter = function substringAfter(str : string, toFind : string) { + let index = str.indexOf(toFind); + return index == -1 ? "" : str.substring(index + toFind.length); +} + +let substringBefore = function substringBefore(str : string, toFind : string) { + let index = str.indexOf(toFind); + return index == -1 ? "" : str.substring(0, index); +} + + + +class Myanimelist extends AnimeParser { + fetchAnimeInfo(animeId: string, ...args: any): Promise { + throw new Error('Method not implemented.'); + } + fetchEpisodeSources(episodeId: string, ...args: any): Promise { + throw new Error('Method not implemented.'); + } + fetchEpisodeServers(episodeId: string): Promise { + throw new Error('Method not implemented.'); + } + search(query: string, ...args: any[]): Promise { + throw new Error('Method not implemented.'); + } + override readonly name = 'Myanimelist'; + protected override baseUrl = 'https://myanimelist.net/'; + protected override logo = 'https://en.wikipedia.org/wiki/MyAnimeList#/media/File:MyAnimeList.png'; + protected override classPath = 'META.MAL'; + + /** + * This class maps anilist to kitsu with any other anime provider. + * kitsu is used for episode images, titles and description. + * @param provider anime provider (optional) default: Gogoanime + * @param proxy proxy config (optional) default: null + */ + constructor() { + super(); + } + + malStatusToMediaStatus(status : string) : MediaStatus { + if(status == "currently airing"){ + return MediaStatus.ONGOING; + } + else if(status == "finished airing"){ + return MediaStatus.COMPLETED; + } else if(status == "not yet aired"){ + return MediaStatus.NOT_YET_AIRED; + } + + return MediaStatus.UNKNOWN; + } + + async populateEpisodeList(episodes : IAnimeEpisode[], url : string, count : number = 1) : Promise{ + try{ + let {data} = await axios.request({ + "method" : "get", + "url" : `${url}?p=${count}`, + "headers" : { + "user-agent" : "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35" + } + }); + + let hasEpisodes : boolean = false; + let $ : CheerioAPI = load(data); + for(let elem of $(".video-list").toArray()){ + let href = $(elem).attr("href"); + let image = $(elem).find("img").attr("data-src"); + let titleDOM = $(elem).find(".episode-title"); + let title = titleDOM?.text(); + titleDOM.remove(); + + let numberDOM = $(elem).find(".title").text().split(" "); + let number= 0; + if(numberDOM.length > 1){ + number = Number(numberDOM[1]); + } + if(href && href.indexOf("myanimelist.net/anime") > -1){ + hasEpisodes = true; + episodes.push({ + id : "", + number, + title, + image + }); + } + } + + if(hasEpisodes){ + await this.populateEpisodeList(episodes, url, (++count)); + } + }catch(err){ + console.error(err); + } + } + fetchMalInfoById = async (id: string) : Promise => { + const animeInfo: IAnimeInfo = { + id: id, + title: "", + }; + + + let { data } = await axios.request({ + "method" : "get", + "url" : `https://myanimelist.net/anime/${id}`, + "headers" : { + "user-agent" : "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35" + } + + }); + + let $ = load(data); + let episodes : IAnimeEpisode[]= []; + let desc = $('[itemprop="description"]').first().text(); + let imageElem = $('[itemprop="image"]').first(); + let image = imageElem.attr("src") || imageElem.attr("data-image") || imageElem.attr("data-src"); + let genres : string[] = []; + let genreDOM = $('[itemprop="genre"]').get(); + + genreDOM.forEach((elem) => { + let genreText = $(elem).text(); + genres.push(genreText); + } + ); + + animeInfo.genres = genres; + animeInfo.image = image; + animeInfo.description = desc; + animeInfo.title = $(".title-name")?.text(); + animeInfo.studios = []; + animeInfo.episodes = episodes; + + + let teaserDOM = $(".video-promotion > a"); + if(teaserDOM.length > 0){ + let teaserURL = $(teaserDOM).attr("href"); + let style = $(teaserDOM).attr("style"); + if(teaserURL){ + animeInfo.trailer = { + "id" : substringAfter(teaserURL, "embed/").split("?")[0], + "site" : "https://youtube.com/watch?v=", + "thumbnail" : style ? substringBefore(substringAfter(style, "url('"), "'") : "" + }; + } + } + + let description = $(".spaceit_pad").get(); + + description.forEach((elem) =>{ + let text = $(elem).text().toLowerCase().trim(); + let key = text.split(":")[0]; + let value = substringAfter(text, `${key}:`).trim(); + switch(key){ + case "status": + animeInfo.status = this.malStatusToMediaStatus(value); + break; + case "episodes": + animeInfo.totalEpisodes = parseInt(value); + if(isNaN(animeInfo.totalEpisodes)){ + animeInfo.totalEpisodes = 0; + } + break; + case "premiered": + animeInfo.season = value.split(" ")[0]; + break; + case "aired": + const dates = value.split("to"); + if(dates.length >= 2){ + let start = dates[0].trim(); + let end = dates[1].trim(); + let startDate = new Date(start); + let endDate = new Date(end); + + if(startDate.toString() !== "Invalid Date"){ + animeInfo.startDate = { + "day" : startDate.getDate(), + "month" : startDate.getMonth(), + "year" : startDate.getFullYear() + } + } + + if(endDate.toString() != "Invalid Date"){ + animeInfo.endDate = { + "day" : endDate.getDate(), + "month" : endDate.getMonth(), + "year" : endDate.getFullYear() + } + } + } + + break; + + case "score": + animeInfo.rating = parseFloat(value); + break; + case "synonyms": + animeInfo.synonyms = value.split(","); + animeInfo.synonyms = animeInfo.synonyms.map((x) => { + return x.trim(); + }); + break; + case "studios": + for(let studio of $(elem).find("a")){ + animeInfo.studios?.push($(studio).text()); + } + break; + case "rating": + animeInfo.ageRating = value; + + } + + }); + + // Only works on certain animes, so it is unreliable + let videoLink = $(".mt4.ar a").attr("href"); + if(videoLink){ + await this.populateEpisodeList(episodes, videoLink); + } + return animeInfo; + } +} + +export default Myanimelist; + +(async() => { +const mal = new Myanimelist(); + let count = 0; + let start = performance.now(); + console.log((await mal.fetchMalInfoById("1535"))); + // setInterval(async function(){ + // let numReqs = 1; + // let promises = []; + // for(let i = 0; i < numReqs; i++){ + // promises.push(mal.fetchMalInfoById("28223")); + // } + // let data : IAnimeInfo[] = await Promise.all(promises); + + // for(let i = 0; i < numReqs; i++){ + // assert(data[i].rating === 8.161); + // } + + // count+=numReqs; + // console.log("Count: ", count, "Time: ", (performance.now() - start)); + // },1000); +})(); From 9a41e2dda1a0030e39b5e28c6f63f8eb2b74e26d Mon Sep 17 00:00:00 2001 From: LawlietAnime Date: Fri, 25 Nov 2022 04:10:23 +0100 Subject: [PATCH 2/6] added mal search --- src/providers/meta/mal.ts | 466 +++++++++++++++++++++----------------- yarn.lock | 5 + 2 files changed, 267 insertions(+), 204 deletions(-) diff --git a/src/providers/meta/mal.ts b/src/providers/meta/mal.ts index 78cdb77e6..3f9e12cc3 100644 --- a/src/providers/meta/mal.ts +++ b/src/providers/meta/mal.ts @@ -4,54 +4,49 @@ import { val } from 'cheerio/lib/api/attributes'; import { assert, timeEnd } from 'console'; import { stat } from 'fs'; - import { - AnimeParser, - ISearch, - IAnimeInfo, - MediaStatus, - IAnimeResult, - ISource, - IAnimeEpisode, - SubOrSub, - IEpisodeServer, - Genres, - MangaParser, - IMangaChapterPage, - IMangaInfo, - IMangaResult, - IMangaChapter, - ProxyConfig, - MediaFormat, - ITitle, - FuzzyDate, - } from '../../models'; - -let substringAfter = function substringAfter(str : string, toFind : string) { - let index = str.indexOf(toFind); - return index == -1 ? "" : str.substring(index + toFind.length); -} - -let substringBefore = function substringBefore(str : string, toFind : string) { - let index = str.indexOf(toFind); - return index == -1 ? "" : str.substring(0, index); -} - - + AnimeParser, + ISearch, + IAnimeInfo, + MediaStatus, + IAnimeResult, + ISource, + IAnimeEpisode, + SubOrSub, + IEpisodeServer, + Genres, + MangaParser, + IMangaChapterPage, + IMangaInfo, + IMangaResult, + IMangaChapter, + ProxyConfig, + MediaFormat, + ITitle, + FuzzyDate, +} from '../../models'; + +let substringAfter = function substringAfter(str: string, toFind: string) { + let index = str.indexOf(toFind); + return index == -1 ? '' : str.substring(index + toFind.length); +}; + +let substringBefore = function substringBefore(str: string, toFind: string) { + let index = str.indexOf(toFind); + return index == -1 ? '' : str.substring(0, index); +}; class Myanimelist extends AnimeParser { fetchAnimeInfo(animeId: string, ...args: any): Promise { - throw new Error('Method not implemented.'); + throw new Error('Method not implemented.'); } fetchEpisodeSources(episodeId: string, ...args: any): Promise { - throw new Error('Method not implemented.'); + throw new Error('Method not implemented.'); } fetchEpisodeServers(episodeId: string): Promise { - throw new Error('Method not implemented.'); - } - search(query: string, ...args: any[]): Promise { - throw new Error('Method not implemented.'); + throw new Error('Method not implemented.'); } + override readonly name = 'Myanimelist'; protected override baseUrl = 'https://myanimelist.net/'; protected override logo = 'https://en.wikipedia.org/wiki/MyAnimeList#/media/File:MyAnimeList.png'; @@ -67,208 +62,271 @@ class Myanimelist extends AnimeParser { super(); } - malStatusToMediaStatus(status : string) : MediaStatus { - if(status == "currently airing"){ - return MediaStatus.ONGOING; - } - else if(status == "finished airing"){ - return MediaStatus.COMPLETED; - } else if(status == "not yet aired"){ - return MediaStatus.NOT_YET_AIRED; + malStatusToMediaStatus(status: string): MediaStatus { + if (status == 'currently airing') { + return MediaStatus.ONGOING; + } else if (status == 'finished airing') { + return MediaStatus.COMPLETED; + } else if (status == 'not yet aired') { + return MediaStatus.NOT_YET_AIRED; } return MediaStatus.UNKNOWN; } - async populateEpisodeList(episodes : IAnimeEpisode[], url : string, count : number = 1) : Promise{ - try{ - let {data} = await axios.request({ - "method" : "get", - "url" : `${url}?p=${count}`, - "headers" : { - "user-agent" : "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35" - } - }); - - let hasEpisodes : boolean = false; - let $ : CheerioAPI = load(data); - for(let elem of $(".video-list").toArray()){ - let href = $(elem).attr("href"); - let image = $(elem).find("img").attr("data-src"); - let titleDOM = $(elem).find(".episode-title"); - let title = titleDOM?.text(); - titleDOM.remove(); - - let numberDOM = $(elem).find(".title").text().split(" "); - let number= 0; - if(numberDOM.length > 1){ - number = Number(numberDOM[1]); - } - if(href && href.indexOf("myanimelist.net/anime") > -1){ - hasEpisodes = true; - episodes.push({ - id : "", - number, - title, - image - }); - } + async populateEpisodeList(episodes: IAnimeEpisode[], url: string, count: number = 1): Promise { + try { + let { data } = await axios.request({ + method: 'get', + url: `${url}?p=${count}`, + headers: { + 'user-agent': + 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + }, + }); + + let hasEpisodes: boolean = false; + let $: CheerioAPI = load(data); + for (let elem of $('.video-list').toArray()) { + let href = $(elem).attr('href'); + let image = $(elem).find('img').attr('data-src'); + let titleDOM = $(elem).find('.episode-title'); + let title = titleDOM?.text(); + titleDOM.remove(); + + let numberDOM = $(elem).find('.title').text().split(' '); + let number = 0; + if (numberDOM.length > 1) { + number = Number(numberDOM[1]); } - - if(hasEpisodes){ - await this.populateEpisodeList(episodes, url, (++count)); + if (href && href.indexOf('myanimelist.net/anime') > -1) { + hasEpisodes = true; + episodes.push({ + id: '', + number, + title, + image, + }); } - }catch(err){ - console.error(err); + } + + if (hasEpisodes) { + await this.populateEpisodeList(episodes, url, ++count); + } + } catch (err) { + console.error(err); } } - fetchMalInfoById = async (id: string) : Promise => { - const animeInfo: IAnimeInfo = { - id: id, - title: "", - }; + override search = async ( + query: string, + page: number = 1 + ): Promise> => { + let searchResults: ISearch = { + currentPage: page, + results: [], + }; let { data } = await axios.request({ - "method" : "get", - "url" : `https://myanimelist.net/anime/${id}`, - "headers" : { - "user-agent" : "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35" - } + method: 'get', + url: `https://myanimelist.net/anime.php?q=${query}&cat=anime&show=${50 * page - 1}`, + headers: { + 'user-agent': + 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + }, + }); + let $ = load(data); + + $('tr').each(function (i, item) { + let id = $(this).find('.hoverinfo_trigger').attr('href')?.split('anime/')[1].split('/')[0]; + let title = $(this).find('strong').text(); + let description = $(this).find('.pt4').text().replace('...read more.', '...'); + let type = $(this).children().eq(2).text().trim(); + let episodeCount = $(this).children().eq(3).text().trim(); + let score = (parseFloat($(this).children().eq(4).text()) * 10).toFixed(0); + let imageTmp = $(this).children().first().find('img').attr('data-src'); + let imageUrl = `https://cdn.myanimelist.net/images/anime/${imageTmp?.split('anime/')[1]}`; + + if (title != '') { + searchResults.results.push({ + id: id ?? '', + title: title, + image: imageUrl, + rating: parseInt(score), + description: description, + totalEpisodes: parseInt(episodeCount), + type: + type == 'TV' + ? MediaFormat.TV + : type == 'TV_SHORT' + ? MediaFormat.TV_SHORT + : type == 'MOVIE' + ? MediaFormat.MOVIE + : type == 'SPECIAL' + ? MediaFormat.SPECIAL + : type == 'OVA' + ? MediaFormat.OVA + : type == 'ONA' + ? MediaFormat.ONA + : type == 'MUSIC' + ? MediaFormat.MUSIC + : type == 'MANGA' + ? MediaFormat.MANGA + : type == 'NOVEL' + ? MediaFormat.NOVEL + : type == 'ONE_SHOT' + ? MediaFormat.ONE_SHOT + : undefined, + + }); + } + }); + + return searchResults; + }; + + fetchMalInfoById = async (id: string): Promise => { + const animeInfo: IAnimeInfo = { + id: id, + title: '', + }; + + let { data } = await axios.request({ + method: 'get', + url: `https://myanimelist.net/anime/${id}`, + headers: { + 'user-agent': + 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + }, }); let $ = load(data); - let episodes : IAnimeEpisode[]= []; + let episodes: IAnimeEpisode[] = []; let desc = $('[itemprop="description"]').first().text(); let imageElem = $('[itemprop="image"]').first(); - let image = imageElem.attr("src") || imageElem.attr("data-image") || imageElem.attr("data-src"); - let genres : string[] = []; + let image = imageElem.attr('src') || imageElem.attr('data-image') || imageElem.attr('data-src'); + let genres: string[] = []; let genreDOM = $('[itemprop="genre"]').get(); - genreDOM.forEach((elem) => { - let genreText = $(elem).text(); - genres.push(genreText); - } - ); + genreDOM.forEach(elem => { + let genreText = $(elem).text(); + genres.push(genreText); + }); animeInfo.genres = genres; animeInfo.image = image; animeInfo.description = desc; - animeInfo.title = $(".title-name")?.text(); + animeInfo.title = $('.title-name')?.text(); animeInfo.studios = []; animeInfo.episodes = episodes; - - let teaserDOM = $(".video-promotion > a"); - if(teaserDOM.length > 0){ - let teaserURL = $(teaserDOM).attr("href"); - let style = $(teaserDOM).attr("style"); - if(teaserURL){ - animeInfo.trailer = { - "id" : substringAfter(teaserURL, "embed/").split("?")[0], - "site" : "https://youtube.com/watch?v=", - "thumbnail" : style ? substringBefore(substringAfter(style, "url('"), "'") : "" - }; - } + let teaserDOM = $('.video-promotion > a'); + if (teaserDOM.length > 0) { + let teaserURL = $(teaserDOM).attr('href'); + let style = $(teaserDOM).attr('style'); + if (teaserURL) { + animeInfo.trailer = { + id: substringAfter(teaserURL, 'embed/').split('?')[0], + site: 'https://youtube.com/watch?v=', + thumbnail: style ? substringBefore(substringAfter(style, "url('"), "'") : '', + }; + } } - let description = $(".spaceit_pad").get(); - - description.forEach((elem) =>{ - let text = $(elem).text().toLowerCase().trim(); - let key = text.split(":")[0]; - let value = substringAfter(text, `${key}:`).trim(); - switch(key){ - case "status": - animeInfo.status = this.malStatusToMediaStatus(value); - break; - case "episodes": - animeInfo.totalEpisodes = parseInt(value); - if(isNaN(animeInfo.totalEpisodes)){ - animeInfo.totalEpisodes = 0; - } - break; - case "premiered": - animeInfo.season = value.split(" ")[0]; - break; - case "aired": - const dates = value.split("to"); - if(dates.length >= 2){ - let start = dates[0].trim(); - let end = dates[1].trim(); - let startDate = new Date(start); - let endDate = new Date(end); - - if(startDate.toString() !== "Invalid Date"){ - animeInfo.startDate = { - "day" : startDate.getDate(), - "month" : startDate.getMonth(), - "year" : startDate.getFullYear() - } - } - - if(endDate.toString() != "Invalid Date"){ - animeInfo.endDate = { - "day" : endDate.getDate(), - "month" : endDate.getMonth(), - "year" : endDate.getFullYear() - } - } - } - - break; - - case "score": - animeInfo.rating = parseFloat(value); - break; - case "synonyms": - animeInfo.synonyms = value.split(","); - animeInfo.synonyms = animeInfo.synonyms.map((x) => { - return x.trim(); - }); - break; - case "studios": - for(let studio of $(elem).find("a")){ - animeInfo.studios?.push($(studio).text()); - } - break; - case "rating": - animeInfo.ageRating = value; - - } + let description = $('.spaceit_pad').get(); + + description.forEach(elem => { + let text = $(elem).text().toLowerCase().trim(); + let key = text.split(':')[0]; + let value = substringAfter(text, `${key}:`).trim(); + switch (key) { + case 'status': + animeInfo.status = this.malStatusToMediaStatus(value); + break; + case 'episodes': + animeInfo.totalEpisodes = parseInt(value); + if (isNaN(animeInfo.totalEpisodes)) { + animeInfo.totalEpisodes = 0; + } + break; + case 'premiered': + animeInfo.season = value.split(' ')[0]; + break; + case 'aired': + const dates = value.split('to'); + if (dates.length >= 2) { + let start = dates[0].trim(); + let end = dates[1].trim(); + let startDate = new Date(start); + let endDate = new Date(end); + + if (startDate.toString() !== 'Invalid Date') { + animeInfo.startDate = { + day: startDate.getDate(), + month: startDate.getMonth(), + year: startDate.getFullYear(), + }; + } + if (endDate.toString() != 'Invalid Date') { + animeInfo.endDate = { + day: endDate.getDate(), + month: endDate.getMonth(), + year: endDate.getFullYear(), + }; + } + } + + break; + + case 'score': + animeInfo.rating = parseFloat(value); + break; + case 'synonyms': + animeInfo.synonyms = value.split(','); + animeInfo.synonyms = animeInfo.synonyms.map(x => { + return x.trim(); + }); + break; + case 'studios': + for (let studio of $(elem).find('a')) { + animeInfo.studios?.push($(studio).text()); + } + break; + case 'rating': + animeInfo.ageRating = value; + } }); // Only works on certain animes, so it is unreliable - let videoLink = $(".mt4.ar a").attr("href"); - if(videoLink){ - await this.populateEpisodeList(episodes, videoLink); + let videoLink = $('.mt4.ar a').attr('href'); + if (videoLink) { + await this.populateEpisodeList(episodes, videoLink); } return animeInfo; - } + }; } export default Myanimelist; -(async() => { -const mal = new Myanimelist(); - let count = 0; - let start = performance.now(); - console.log((await mal.fetchMalInfoById("1535"))); - // setInterval(async function(){ - // let numReqs = 1; - // let promises = []; - // for(let i = 0; i < numReqs; i++){ - // promises.push(mal.fetchMalInfoById("28223")); - // } - // let data : IAnimeInfo[] = await Promise.all(promises); - - // for(let i = 0; i < numReqs; i++){ - // assert(data[i].rating === 8.161); - // } - - // count+=numReqs; - // console.log("Count: ", count, "Time: ", (performance.now() - start)); - // },1000); +(async () => { + const mal = new Myanimelist(); + console.log(await mal.search('Naruto')); + //console.log((await mal.fetchMalInfoById("1535"))); + // setInterval(async function(){ + // let numReqs = 1; + // let promises = []; + // for(let i = 0; i < numReqs; i++){ + // promises.push(mal.fetchMalInfoById("28223")); + // } + // let data : IAnimeInfo[] = await Promise.all(promises); + + // for(let i = 0; i < numReqs; i++){ + // assert(data[i].rating === 8.161); + // } + + // count+=numReqs; + // console.log("Count: ", count, "Time: ", (performance.now() - start)); + // },1000); })(); diff --git a/yarn.lock b/yarn.lock index e21ddd758..fc4d71bab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1577,6 +1577,11 @@ "resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" "version" "1.0.0" +"fsevents@^2.3.2": + "integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==" + "resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" + "version" "2.3.2" + "function-bind@^1.1.1": "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" "resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" From 835ba9d7f48c9262033a24e64a4e52c0ab670b61 Mon Sep 17 00:00:00 2001 From: LawlietAnime Date: Fri, 25 Nov 2022 04:22:13 +0100 Subject: [PATCH 3/6] hasNextPage added --- src/providers/meta/mal.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/providers/meta/mal.ts b/src/providers/meta/mal.ts index 3f9e12cc3..61717b3c7 100644 --- a/src/providers/meta/mal.ts +++ b/src/providers/meta/mal.ts @@ -138,6 +138,11 @@ class Myanimelist extends AnimeParser { let $ = load(data); + let pages = $('.normal_header').find('span').children(); + let maxPage = parseInt(pages.last().text()); + let hasNextPage = page < maxPage; + searchResults.hasNextPage = hasNextPage; + $('tr').each(function (i, item) { let id = $(this).find('.hoverinfo_trigger').attr('href')?.split('anime/')[1].split('/')[0]; let title = $(this).find('strong').text(); From 723b6343e7714ba846bbeb6590fc146926dd076e Mon Sep 17 00:00:00 2001 From: LawlietAnime Date: Mon, 28 Nov 2022 01:16:53 +0100 Subject: [PATCH 4/6] mal and tenshi --- .DS_Store | Bin 0 -> 8196 bytes dist/models/types.js.map | 3 +- dist/providers/anime/tenshi.d.ts | 12 ++ dist/providers/anime/tenshi.js | 164 ++++++++++++++ dist/providers/anime/tenshi.js.map | 1 + dist/providers/meta/anilist.js | 18 +- 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.d.ts | 22 ++ dist/providers/meta/mal.js | 282 +++++++++++++++++++++++++ dist/providers/meta/mal.js.map | 1 + dist/providers/movies/viewAsian.js | 2 +- dist/providers/movies/viewAsian.js.map | 2 +- package.json | 2 +- src/.DS_Store | Bin 0 -> 6148 bytes src/providers/.DS_Store | Bin 0 -> 6148 bytes src/providers/anime/tenshi.ts | 185 ++++++++++++++++ src/providers/meta/index.ts | 3 +- src/providers/meta/mal.ts | 5 +- 21 files changed, 690 insertions(+), 21 deletions(-) create mode 100644 .DS_Store create mode 100644 dist/providers/anime/tenshi.d.ts create mode 100644 dist/providers/anime/tenshi.js create mode 100644 dist/providers/anime/tenshi.js.map create mode 100644 dist/providers/meta/mal.d.ts create mode 100644 dist/providers/meta/mal.js create mode 100644 dist/providers/meta/mal.js.map create mode 100644 src/.DS_Store create mode 100644 src/providers/.DS_Store create mode 100644 src/providers/anime/tenshi.ts diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..bcbb04f5983fa78ed6456c2e17bdbdd9eef56ea2 GIT binary patch literal 8196 zcmeHMO>Yx15FNLHZq&4d3PdkRD{&1WEmaZXlBNkz30kQMZ~zqYMM<++SILHesz|v4 z|AD{2k$=K};RJ7Nx7yuo4qOlww&Z!Xcb<3rb`r-MA`+!hdxL15h#XYL>@rM3;p<#y z%7PhL0}Ako9#Ms!&;c+%<82450#*U5fK|XMU={cm6u_R%#hJ73>#NpU1*`)9r2_o@ z;G!}X4Nf(xuMQY>1OTQmtP0vV2PlqfuxN0qQBg6cK0OFS73PQ`G#%Gnb_W&>PBm&e z2~8(q?kvm+MX0-j=PGv+MUB>41*`(I3h>!IL%Z~tc4$9xe(zIz&y%gDC!6r$kJS!p z{+B9f5v_rDKxLfy>%fPw+~3E@Gqh@W2QWLwx7Zw445vniv_~Z{Ye0@9fh}&v*ePmL zmxdHXBNbl~{3Nw#81wrX^K+;}AE<%2Psl?%=D%n2u1x*4zL zcz9xR^Lz8e>kflL;fGjQOkKLX1~0i+lhSLRwHwXn-Ojk4 zy|yd;pwaa^14ZbzJ8*gRqU*QixFkn@d#JcoeZfgP>3a6Y>FLH+&fUDXJ;}MJ_cseU zckAxR$pmJfqsYXSCiTn^i|NIX_ av|YF|r)Y4h5hEz}MSzmQ8mquxRp2*Mvn56V literal 0 HcmV?d00001 diff --git a/dist/models/types.js.map b/dist/models/types.js.map index e0692ca22..7f765ffae 100644 --- a/dist/models/types.js.map +++ b/dist/models/types.js.map @@ -1,2 +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;AAwED,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;AAuID;;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;AAsED,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"} +{"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;I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e,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/tenshi.d.ts b/dist/providers/anime/tenshi.d.ts new file mode 100644 index 000000000..841e04259 --- /dev/null +++ b/dist/providers/anime/tenshi.d.ts @@ -0,0 +1,12 @@ +import { AnimeParser, IAnimeInfo, IEpisodeServer, ISource } from '../../models'; +declare class Tenshi extends AnimeParser { + fetchEpisodeSources(episodeId: string, ...args: any): Promise; + fetchEpisodeServers(episodeId: string): Promise; + search(query: string, ...args: any[]): Promise; + readonly name = "Tenshi"; + protected baseUrl: string; + protected logo: string; + protected classPath: string; + fetchAnimeInfo: (id: string) => Promise; +} +export default Tenshi; diff --git a/dist/providers/anime/tenshi.js b/dist/providers/anime/tenshi.js new file mode 100644 index 000000000..e8f69c5a8 --- /dev/null +++ b/dist/providers/anime/tenshi.js @@ -0,0 +1,164 @@ +"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 cheerio_1 = require("cheerio"); +const models_1 = require("../../models"); +class Tenshi extends models_1.AnimeParser { + constructor() { + super(...arguments); + this.name = 'Tenshi'; + this.baseUrl = 'https://tenshi.moe/'; + this.logo = ''; + this.classPath = 'ANIME.Tenshi'; + this.fetchAnimeInfo = async (id) => { + try { + let { data } = await axios_1.default.request({ + method: 'get', + url: `${this.baseUrl}anime/${id}`, + headers: { + 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + cookie: 'loop-view=thumb;__ddg1_=;__ddg2_=', + }, + }); + const maxEpisodesPerPage = 36; + let $ = (0, cheerio_1.load)(data); + let english_title = undefined; + let native_title = undefined; + let synonyms = []; + let genres = []; + let info = $('.entry-content').children(); + let extraInfo = $('.info-list').children(); + let status = $('.status.meta-data').text().trim().replace('Status', '').trim(); + let hasDub = $('.audio.meta-data').children().length > 2; + let producers = []; + let episodeList = []; + let totalEpisodes = Number($('.entry-episodes').text().trim().replace('Episodes ', '').trim()); + let hasMultiplePages = $('.entry-episodes').find('nav').length > 0; + $('.info-box') + .find('.value') + .each(function (i, item) { + if ($(this).find('.flag-icon').attr('title') == 'English') { + english_title = $(this).text().trim(); + } + else if ($(this).find('.flag-icon').attr('title') == 'Japanese') { + native_title = $(this).text().trim(); + } + else { + synonyms.push($(this).text().trim()); + } + }); + $('.synonym.meta-data') + .find('.value') + .each(function (i, item) { + synonyms.push($(this).text().trim()); + }); + $('.genre.meta-data') + .find('.value') + .each(function (i, item) { + genres.push($(this).text().trim()); + }); + $('.production.meta-data') + .find('.value') + .each(function (i, item) { + producers.push($(this).text().trim()); + }); + let age = $('.content-rating.meta-data') + .text() + .trim() + .replace('Content Rating', '') + .trim() + .split(' - '); + if (hasMultiplePages) { + let lastPage = Number($('.pagination').children().eq(-2).first().text()); + for (let i = 1; i <= lastPage; i++) { + let { data } = await axios_1.default.request({ + method: 'get', + url: `${this.baseUrl}anime/${id}?page=${i}`, + headers: { + 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + cookie: 'loop-view=thumb;__ddg1_=;__ddg2_=', + }, + }); + let ep = (0, cheerio_1.load)(data); + ep('.loop.episode-loop.thumb') + .children() + .each(function (i, item) { + episodeList.push({ + id: `${id}/${Number($(this).find('.episode-slug').text().replace('Episode', ''))}`, + number: Number($(this).find('.episode-slug').text().replace('Episode', '')), + title: $(this).find('.episode-title').text(), + image: $(this).find('img').attr('src'), + description: $(this).find('.film-grain').attr('data-content'), + releaseDate: $(this).find('.episode-date').text(), + }); + }); + } + } + else { + $('.loop.episode-loop.thumb') + .children() + .each(function (i, item) { + episodeList.push({ + id: `${id}/${Number($(this).find('.episode-slug').text().replace('Episode', ''))}`, + number: Number($(this).find('.episode-slug').text().replace('Episode', '')), + title: $(this).find('.episode-title').text(), + image: $(this).find('img').attr('src'), + description: $(this).find('.film-grain').attr('data-content'), + releaseDate: $(this).find('.episode-date').text(), + }); + }); + } + let animeInfo = { + id: id, + title: { + romaji: $('.entry-header').first().text().trim(), + english: english_title, + native: native_title, + }, + image: info.find('.cover-image').attr('src'), + status: status == 'Ongoing' + ? models_1.MediaStatus.ONGOING + : status == 'Completed' + ? models_1.MediaStatus.COMPLETED + : status == 'Stalled' + ? models_1.MediaStatus.HIATUS + : models_1.MediaStatus.UNKNOWN, + description: $('.card-body').text(), + hasDub: hasDub, + genres: genres, + rating: Number((parseFloat($('.rating.btn.btn-lg.btn-heart').find('span').text()) * 10).toFixed(0)), + releaseDate: $('.release-date.meta-data').text().trim().replace('Release Date', '').trim(), + producers: producers, + synonyms: synonyms, + ageRating: age[0], + ageRatingGuide: age[1], + totalEpisodes: totalEpisodes, + episodes: episodeList, + }; + return animeInfo; + } + catch (err) { + throw new Error("Anime doesn't exist."); + } + }; + } + fetchEpisodeSources(episodeId, ...args) { + throw new Error('Method not implemented.'); + } + fetchEpisodeServers(episodeId) { + throw new Error('Method not implemented.'); + } + search(query, ...args) { + throw new Error('Method not implemented.'); + } +} +exports.default = Tenshi; +(async () => { + const tenshi = new Tenshi(); + //console.log(await tenshi.fetchAnimeInfo('dewhzcns')); + console.log(await tenshi.fetchAnimeInfo('fntoucz2')); +})(); +//# sourceMappingURL=tenshi.js.map \ No newline at end of file diff --git a/dist/providers/anime/tenshi.js.map b/dist/providers/anime/tenshi.js.map new file mode 100644 index 000000000..eacf326de --- /dev/null +++ b/dist/providers/anime/tenshi.js.map @@ -0,0 +1 @@ +{"version":3,"file":"tenshi.js","sourceRoot":"","sources":["../../../src/providers/anime/tenshi.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,qCAA+B;AAE/B,yCAasB;AAEtB,MAAM,MAAO,SAAQ,oBAAW;IAAhC;;QAUoB,SAAI,GAAG,QAAQ,CAAC;QACf,YAAO,GAAG,qBAAqB,CAAC;QAChC,SAAI,GAAG,EAAE,CAAC;QACV,cAAS,GAAG,cAAc,CAAC;QAErC,mBAAc,GAAG,KAAK,EAAE,EAAU,EAAuB,EAAE;YAClE,IAAI;gBACF,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,eAAK,CAAC,OAAO,CAAC;oBACjC,MAAM,EAAE,KAAK;oBACb,GAAG,EAAE,GAAG,IAAI,CAAC,OAAO,SAAS,EAAE,EAAE;oBACjC,OAAO,EAAE;wBACP,YAAY,EACV,yHAAyH;wBAC3H,MAAM,EAAE,mCAAmC;qBAC5C;iBACF,CAAC,CAAC;gBAEH,MAAM,kBAAkB,GAAG,EAAE,CAAC;gBAE9B,IAAI,CAAC,GAAG,IAAA,cAAI,EAAC,IAAI,CAAC,CAAC;gBAEnB,IAAI,aAAa,GAAuB,SAAS,CAAC;gBAClD,IAAI,YAAY,GAAuB,SAAS,CAAC;gBACjD,IAAI,QAAQ,GAAa,EAAE,CAAC;gBAC/B,IAAI,MAAM,GAAa,EAAE,CAAC;gBAC1B,IAAI,IAAI,GAAG,CAAC,CAAC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C,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IACD,mBAAmB,CAAC,SAAiB;QACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IACD,MAAM,CAAC,KAAa,EAAE,GAAG,IAAW;QAClC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;CA6JF;AAED,kBAAe,MAAM,CAAC;AAEtB,CAAC,KAAK,IAAI,EAAE;IACV,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;IAC5B,uDAAuD;IACxD,OAAO,CAAC,GAAG,CAAC,MAAM,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;AACtD,CAAC,CAAC,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/providers/meta/anilist.js b/dist/providers/meta/anilist.js index 8538ea710..a0eec4d55 100644 --- a/dist/providers/meta/anilist.js +++ b/dist/providers/meta/anilist.js @@ -1133,7 +1133,9 @@ class Anilist extends models_1.AnimeParser { query: (0, utils_1.anilistMediaDetailQuery)(id), }; try { - const { data } = await axios_1.default.post(this.proxyUrl ? this.proxyUrl + this.anilistGraphqlUrl : this.anilistGraphqlUrl, options).catch(() => { + const { data } = await axios_1.default + .post(this.proxyUrl ? this.proxyUrl + this.anilistGraphqlUrl : this.anilistGraphqlUrl, options) + .catch(() => { throw new Error('Media not found'); }); animeInfo.malId = data.data.Media.idMal; @@ -1731,16 +1733,12 @@ Anilist.Manga = class Manga { } }; // (async () => { -// const ani = new Anilist( -// await Crunchyroll.create( -// undefined, -// 'O+xmBPFx1UxoAiQYjDc9YYq01SdCZo1ABBoHDrNuIScEIKmYfIZoj57l1xeoLWGW3R2ZlxPlyqUf5R3hWzx+xSQnmPyk3GoUIFF19P0oCqp2B9ivNhtYiqir06rBK71mRzIjVUCmN3C7MvQUhH82QRyvR0mtMgSk0QQi1a3Nzhs=' -// ) -// ); +// const ani = new Anilist(); // console.time('fetch'); -// const se = await ani.advancedSearch('one piece'); -// //console.log(se); -// const res = await ani.fetchEpisodesListById('98659'); +// for (let i = 0; i < 10; i++) { +// const res = await anifetchMangaInfo(1);. +// console.log(res); +// } // //const sources = await ani.fetchEpisodeSources(res.episodes![0].id); // //console.log(res); // console.timeEnd('fetch'); diff --git a/dist/providers/meta/anilist.js.map b/dist/providers/meta/anilist.js.map index 39ec905bc..29a39c249 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,kDAAyB;AAEzB,yCAmBsB;AACtB,uCAgBqB;AACrB,gFAAwD;AACxD,2DAAmC;AACnC,yDAAiC;AACjC,uEAA+C;AAC/C,uEAA+C;AAC/C,iEAAyC;AACzC,6CAAsD;AAEtD,MAAM,OAAQ,SAAQ,oBAAW;IAc/B;;;;;OAKG;IACH,YAAY,QAAsB,EAAS,WAAyB;QAClE,KAAK,EAAE,CAAC;QADiC,gBAAW,GAAX,WAAW,CAAc;QAnBlD,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;QAiBpD;;;;WAIG;QACM,WAAM,GAAG,KAAK,EACrB,KAAa,EACb,OAAe,CAAC,EAChB,UAAkB,EAAE,EACY,EAAE;;YAClC,MAAM,OAAO,mBACX,OAAO,kBACL,cAAc,EAAE,kBAAkB,EAClC,MAAM,EAAE,kBAAkB,IACvB,MAAM,CAAC,MAAM,CAAC;oBACf,OAAO,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,GAAG,CAAA,IAAI,WAAW,CA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AAS,CAAC,KAAK,CAAC,OAAQ,EAAE,MAAM,EAAE,SAAS,CAAC,KAAK,CAAC,MAAO,EAAE,EACtE,SAAS,CAAC,KAAe,CAC1B,CAAC;gBAEF,OAAO,SAAS,CAAC;aAClB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAE,KAAe,CAAC,OAAO,CAAC,CAAC;aACvC;QACH,CAAC,CAAC;QA1PA,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,IAAI,qBAAW,EAAE,CAAC;IAChD,CAAC;CA0PD,CAAA;AAqFJ,iBAAiB;AACjB,6BAA6B;AAC7B,gCAAgC;AAChC,mBAAmB;AACnB,uLAAuL;AACvL,QAAQ;AACR,OAAO;AACP,2BAA2B;AAC3B,sDAAsD;AACtD,uBAAuB;AACvB,0DAA0D;AAC1D,0EAA0E;AAC1E,wBAAwB;AACxB,8BAA8B;AAC9B,QAAQ;AAER,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,yCAmBsB;AACtB,uCAgBqB;AACrB,gFAAwD;AACxD,2DAAmC;AACnC,yDAAiC;AACjC,uEAA+C;AAC/C,uEAA+C;AAC/C,iEAAyC;AACzC,6CAAsD;AAEtD,MAAM,OAAQ,SAAQ,oBAAW;IAY/B;;;;;OAKG;IACH,YAAY,QAAsB,EAAS,WAAyB;QAClE,KAAK,EAAE,CAAC;QADiC,gBAAW,GAAX,WAAW,CAAc;QAjBlD,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,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AI,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;gBAEF,OAAO,SAAS,CAAC;aAClB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAE,KAAe,CAAC,OAAO,CAAC,CAAC;aACvC;QACH,CAAC,CAAC;QA1PA,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,IAAI,qBAAW,EAAE,CAAC;IAChD,CAAC;CA0PD,CAAA;AAoFJ,iBAAiB;AACjB,+BAA+B;AAC/B,2BAA2B;AAE3B,mCAAmC;AACnC,+CAA+C;AAC/C,wBAAwB;AACxB,MAAM;AACN,0EAA0E;AAC1E,wBAAwB;AACxB,8BAA8B;AAC9B,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 d9c885395..140624da4 100644 --- a/dist/providers/meta/index.d.ts +++ b/dist/providers/meta/index.d.ts @@ -1,5 +1,7 @@ import Anilist from './anilist'; +import Myanimelist from './mal'; declare const _default: { Anilist: typeof Anilist; + Myanimelist: typeof Myanimelist; }; export default _default; diff --git a/dist/providers/meta/index.js b/dist/providers/meta/index.js index b8635dea0..0e090c91e 100644 --- a/dist/providers/meta/index.js +++ b/dist/providers/meta/index.js @@ -4,5 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const anilist_1 = __importDefault(require("./anilist")); -exports.default = { Anilist: anilist_1.default }; +const mal_1 = __importDefault(require("./mal")); +exports.default = { Anilist: anilist_1.default, Myanimelist: mal_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 e060898ae..86dcf4c11 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;AAEhC,kBAAe,EAAE,OAAO,EAAP,iBAAO,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;AAEhC,kBAAe,EAAE,OAAO,EAAP,iBAAO,EAAE,WAAW,EAAX,aAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/providers/meta/mal.d.ts b/dist/providers/meta/mal.d.ts new file mode 100644 index 000000000..65c8e9210 --- /dev/null +++ b/dist/providers/meta/mal.d.ts @@ -0,0 +1,22 @@ +import { AnimeParser, ISearch, IAnimeInfo, MediaStatus, IAnimeResult, ISource, IAnimeEpisode, IEpisodeServer } from '../../models'; +declare class Myanimelist extends AnimeParser { + fetchAnimeInfo(animeId: string, ...args: any): Promise; + fetchEpisodeSources(episodeId: string, ...args: any): Promise; + fetchEpisodeServers(episodeId: string): Promise; + readonly name = "Myanimelist"; + protected baseUrl: string; + protected logo: string; + protected classPath: string; + /** + * This class maps anilist to kitsu with any other anime provider. + * kitsu is used for episode images, titles and description. + * @param provider anime provider (optional) default: Gogoanime + * @param proxy proxy config (optional) default: null + */ + constructor(); + malStatusToMediaStatus(status: string): MediaStatus; + populateEpisodeList(episodes: IAnimeEpisode[], url: string, count?: number): Promise; + search: (query: string, page?: number) => Promise>; + fetchMalInfoById: (id: string) => Promise; +} +export default Myanimelist; diff --git a/dist/providers/meta/mal.js b/dist/providers/meta/mal.js new file mode 100644 index 000000000..288a6fd70 --- /dev/null +++ b/dist/providers/meta/mal.js @@ -0,0 +1,282 @@ +"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 cheerio_1 = require("cheerio"); +const models_1 = require("../../models"); +let substringAfter = function substringAfter(str, toFind) { + let index = str.indexOf(toFind); + return index == -1 ? '' : str.substring(index + toFind.length); +}; +let substringBefore = function substringBefore(str, toFind) { + let index = str.indexOf(toFind); + return index == -1 ? '' : str.substring(0, index); +}; +class Myanimelist extends models_1.AnimeParser { + /** + * This class maps anilist to kitsu with any other anime provider. + * kitsu is used for episode images, titles and description. + * @param provider anime provider (optional) default: Gogoanime + * @param proxy proxy config (optional) default: null + */ + constructor() { + super(); + this.name = 'Myanimelist'; + this.baseUrl = 'https://myanimelist.net/'; + this.logo = 'https://en.wikipedia.org/wiki/MyAnimeList#/media/File:MyAnimeList.png'; + this.classPath = 'META.MAL'; + this.search = async (query, page = 1) => { + let searchResults = { + currentPage: page, + results: [], + }; + let { data } = await axios_1.default.request({ + method: 'get', + url: `${this.baseUrl}anime.php?q=${query}&cat=anime&show=${50 * page - 1}`, + headers: { + 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + }, + }); + let $ = (0, cheerio_1.load)(data); + let pages = $('.normal_header').find('span').children(); + let maxPage = parseInt(pages.last().text()); + let hasNextPage = page < maxPage; + searchResults.hasNextPage = hasNextPage; + $('tr').each(function (i, item) { + var _a; + let id = (_a = $(this).find('.hoverinfo_trigger').attr('href')) === null || _a === void 0 ? void 0 : _a.split('anime/')[1].split('/')[0]; + let title = $(this).find('strong').text(); + let description = $(this).find('.pt4').text().replace('...read more.', '...'); + let type = $(this).children().eq(2).text().trim(); + let episodeCount = $(this).children().eq(3).text().trim(); + let score = (parseFloat($(this).children().eq(4).text()) * 10).toFixed(0); + let imageTmp = $(this).children().first().find('img').attr('data-src'); + let imageUrl = `https://cdn.myanimelist.net/images/anime/${imageTmp === null || imageTmp === void 0 ? void 0 : imageTmp.split('anime/')[1]}`; + if (title != '') { + searchResults.results.push({ + id: id !== null && id !== void 0 ? id : '', + title: title, + image: imageUrl, + rating: parseInt(score), + description: description, + totalEpisodes: parseInt(episodeCount), + type: type == 'TV' + ? models_1.MediaFormat.TV + : type == 'TV_SHORT' + ? models_1.MediaFormat.TV_SHORT + : type == 'MOVIE' + ? models_1.MediaFormat.MOVIE + : type == 'SPECIAL' + ? models_1.MediaFormat.SPECIAL + : type == 'OVA' + ? models_1.MediaFormat.OVA + : type == 'ONA' + ? models_1.MediaFormat.ONA + : type == 'MUSIC' + ? models_1.MediaFormat.MUSIC + : type == 'MANGA' + ? models_1.MediaFormat.MANGA + : type == 'NOVEL' + ? models_1.MediaFormat.NOVEL + : type == 'ONE_SHOT' + ? models_1.MediaFormat.ONE_SHOT + : undefined, + }); + } + }); + return searchResults; + }; + this.fetchMalInfoById = async (id) => { + var _a; + const animeInfo = { + id: id, + title: '', + }; + let { data } = await axios_1.default.request({ + method: 'get', + url: `${this.baseUrl}anime/${id}`, + headers: { + 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + }, + }); + let $ = (0, cheerio_1.load)(data); + let episodes = []; + let desc = $('[itemprop="description"]').first().text(); + let imageElem = $('[itemprop="image"]').first(); + let image = imageElem.attr('src') || imageElem.attr('data-image') || imageElem.attr('data-src'); + let genres = []; + let genreDOM = $('[itemprop="genre"]').get(); + genreDOM.forEach(elem => { + let genreText = $(elem).text(); + genres.push(genreText); + }); + animeInfo.genres = genres; + animeInfo.image = image; + animeInfo.description = desc; + animeInfo.title = (_a = $('.title-name')) === null || _a === void 0 ? void 0 : _a.text(); + animeInfo.studios = []; + animeInfo.episodes = episodes; + let teaserDOM = $('.video-promotion > a'); + if (teaserDOM.length > 0) { + let teaserURL = $(teaserDOM).attr('href'); + let style = $(teaserDOM).attr('style'); + if (teaserURL) { + animeInfo.trailer = { + id: substringAfter(teaserURL, 'embed/').split('?')[0], + site: 'https://youtube.com/watch?v=', + thumbnail: style ? substringBefore(substringAfter(style, "url('"), "'") : '', + }; + } + } + let description = $('.spaceit_pad').get(); + description.forEach(elem => { + var _a; + let text = $(elem).text().toLowerCase().trim(); + let key = text.split(':')[0]; + let value = substringAfter(text, `${key}:`).trim(); + switch (key) { + case 'status': + animeInfo.status = this.malStatusToMediaStatus(value); + break; + case 'episodes': + animeInfo.totalEpisodes = parseInt(value); + if (isNaN(animeInfo.totalEpisodes)) { + animeInfo.totalEpisodes = 0; + } + break; + case 'premiered': + animeInfo.season = value.split(' ')[0]; + break; + case 'aired': + const dates = value.split('to'); + if (dates.length >= 2) { + let start = dates[0].trim(); + let end = dates[1].trim(); + let startDate = new Date(start); + let endDate = new Date(end); + if (startDate.toString() !== 'Invalid Date') { + animeInfo.startDate = { + day: startDate.getDate(), + month: startDate.getMonth(), + year: startDate.getFullYear(), + }; + } + if (endDate.toString() != 'Invalid Date') { + animeInfo.endDate = { + day: endDate.getDate(), + month: endDate.getMonth(), + year: endDate.getFullYear(), + }; + } + } + break; + case 'score': + animeInfo.rating = parseFloat(value); + break; + case 'synonyms': + animeInfo.synonyms = value.split(','); + animeInfo.synonyms = animeInfo.synonyms.map(x => { + return x.trim(); + }); + break; + case 'studios': + for (let studio of $(elem).find('a')) { + (_a = animeInfo.studios) === null || _a === void 0 ? void 0 : _a.push($(studio).text()); + } + break; + case 'rating': + animeInfo.ageRating = value; + } + }); + // Only works on certain animes, so it is unreliable + let videoLink = $('.mt4.ar a').attr('href'); + if (videoLink) { + await this.populateEpisodeList(episodes, videoLink); + } + return animeInfo; + }; + } + fetchAnimeInfo(animeId, ...args) { + throw new Error('Method not implemented.'); + } + fetchEpisodeSources(episodeId, ...args) { + throw new Error('Method not implemented.'); + } + fetchEpisodeServers(episodeId) { + throw new Error('Method not implemented.'); + } + malStatusToMediaStatus(status) { + if (status == 'currently airing') { + return models_1.MediaStatus.ONGOING; + } + else if (status == 'finished airing') { + return models_1.MediaStatus.COMPLETED; + } + else if (status == 'not yet aired') { + return models_1.MediaStatus.NOT_YET_AIRED; + } + return models_1.MediaStatus.UNKNOWN; + } + async populateEpisodeList(episodes, url, count = 1) { + try { + let { data } = await axios_1.default.request({ + method: 'get', + url: `${url}?p=${count}`, + headers: { + 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + }, + }); + let hasEpisodes = false; + let $ = (0, cheerio_1.load)(data); + for (let elem of $('.video-list').toArray()) { + let href = $(elem).attr('href'); + let image = $(elem).find('img').attr('data-src'); + let titleDOM = $(elem).find('.episode-title'); + let title = titleDOM === null || titleDOM === void 0 ? void 0 : titleDOM.text(); + titleDOM.remove(); + let numberDOM = $(elem).find('.title').text().split(' '); + let number = 0; + if (numberDOM.length > 1) { + number = Number(numberDOM[1]); + } + if (href && href.indexOf('myanimelist.net/anime') > -1) { + hasEpisodes = true; + episodes.push({ + id: '', + number, + title, + image, + }); + } + } + if (hasEpisodes) { + await this.populateEpisodeList(episodes, url, ++count); + } + } + catch (err) { + console.error(err); + } + } +} +exports.default = Myanimelist; +(async () => { + const mal = new Myanimelist(); + console.log(await mal.search('Naruto')); + //console.log((await mal.fetchMalInfoById("1535"))); + // setInterval(async function(){ + // let numReqs = 1; + // let promises = []; + // for(let i = 0; i < numReqs; i++){ + // promises.push(mal.fetchMalInfoById("28223")); + // } + // let data : IAnimeInfo[] = await Promise.all(promises); + // for(let i = 0; i < numReqs; i++){ + // assert(data[i].rating === 8.161); + // } + // count+=numReqs; + // console.log("Count: ", count, "Time: ", (performance.now() - start)); + // },1000); +})(); +//# sourceMappingURL=mal.js.map \ No newline at end of file diff --git a/dist/providers/meta/mal.js.map b/dist/providers/meta/mal.js.map new file mode 100644 index 000000000..141d9ac75 --- /dev/null +++ b/dist/providers/meta/mal.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mal.js","sourceRoot":"","sources":["../../../src/providers/meta/mal.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,qCAA2C;AAK3C,yCAoBsB;AAEtB,IAAI,cAAc,GAAG,SAAS,cAAc,CAAC,GAAW,EAAE,MAAc;IACtE,IAAI,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;AACjE,CAAC,CAAC;AAEF,IAAI,eAAe,GAAG,SAAS,eAAe,CAAC,GAAW,EAAE,MAAc;IACxE,IAAI,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,MAAM,WAAY,SAAQ,oBAAW;IAgBnC;;;;;OAKG;IACH;QACE,KAAK,EAAE,CAAC;QAZQ,SAAI,GAAG,aAAa,CAAC;QACpB,YAAO,GAAG,0BAA0B,CAAC;QACrC,SAAI,GAAG,uEAAuE,CAAC;QAC/E,cAAS,GAAG,UAAU,CAAC;QAoEjC,WAAM,GAAG,KAAK,EACrB,KAAa,EACb,OAAe,CAAC,EACgB,EAAE;YAClC,IAAI,aAAa,GAA0B;gBACvC,WAAW,EAAE,IAAI;gBACnB,OAAO,EAAE,EAAE;aACZ,CAA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aACF;YAED,IAAI,WAAW,EAAE;gBACf,MAAM,IAAI,CAAC,mBAAmB,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,CAAC,CAAC;aACxD;SACF;QAAC,OAAO,GAAG,EAAE;YACZ,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SACpB;IACH,CAAC;CAoMF;AAED,kBAAe,WAAW,CAAC;AAE3B,CAAC,KAAK,IAAI,EAAE;IACV,MAAM,GAAG,GAAG,IAAI,WAAW,EAAE,CAAC;IAC9B,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxC,oDAAoD;IACpD,gCAAgC;IAChC,uBAAuB;IACvB,yBAAyB;IACzB,wCAAwC;IACxC,wDAAwD;IACxD,QAAQ;IACR,6DAA6D;IAE7D,wCAAwC;IACxC,4CAA4C;IAC5C,QAAQ;IAER,sBAAsB;IACtB,4EAA4E;IAC5E,WAAW;AACb,CAAC,CAAC,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/viewAsian.js b/dist/providers/movies/viewAsian.js index 6f3d58d95..7e3d2a140 100644 --- a/dist/providers/movies/viewAsian.js +++ b/dist/providers/movies/viewAsian.js @@ -75,7 +75,7 @@ class ViewAsian extends models_1.MovieParser { // mediaInfo.status = $('.mvic-info p:contains(Status)').text().replace('Status: ', '').trim(); mediaInfo.director = $('.mvic-info p:contains(Director)').text().replace('Director: ', '').trim(); mediaInfo.country = $('.mvic-info p:contains(Country) a').text().trim(); - mediaInfo.release = $('.mvic-info p:contains(Release)').text().replace('Release: ', '').trim(); + mediaInfo.releaseDate = $('.mvic-info p:contains(Release)').text().replace('Release: ', '').trim(); mediaInfo.episodes = []; $('ul#episodes-sv-1 li').each((i, el) => { var _a; diff --git a/dist/providers/movies/viewAsian.js.map b/dist/providers/movies/viewAsian.js.map index 55e5ec49a..de16f1367 100644 --- a/dist/providers/movies/viewAsian.js.map +++ b/dist/providers/mov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U,mBAAmB,CAAC,SAAiB,EAAE,GAAG,IAAS;QAC1D,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;CACF;AAED,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index d06d745f8..d2624bc00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@consumet/extensions", - "version": "1.2.8", + "version": "1.2.9", "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", diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..0b52ea2c62ad4aa41292e35ba43816125ce939a1 GIT binary patch literal 6148 zcmeHKL2KJE6n;w6RHh7a*jO(G!LFfAyV5asantV5>pZr@I?%aS|1I zrt@!zGIN>6SUxE&$STedou2|Uy?F(^0$zdpE8sROxqAOcc&1mtEAU7a;Qc|t8AFG) zMYDCFFjoLz6Wzv8=U+zVD2JiL+9Dz_VW~h%74C{5EFJyI<%JGwi;mY`TT!-_x=Am$+x@$UV%rYfM^~>2R*!!J6jiCj?Y>J s{{m;@yxQVl3M%F(MlK)4Yj9)eS6l&x4r`0(f%zW+BZDuz0uQRdAGZ5|h5!Hn literal 0 HcmV?d00001 diff --git a/src/providers/.DS_Store b/src/providers/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..cb9bf8b843f077ec43b1f215d2e282abdaceb751 GIT binary patch literal 6148 zcmeHKO>fgM7=GQQUCM^k0|+iik+_!8jcEvRDP%^~Yn`u8Bwt7UO-Q4iWiqM(+laON{H;Yt}F& zyFj7ZNM2@g6lXH7ab1B^z$x(mDZqQTNfG6g(v9W9d3)#q7isg z2so;8#k~sG2P>yBCG?5*sHpM3R`|P=A!0%&;66a4q;te(wYXoExF*KKi#nlbbMy_K zpFMhymmRHFcxvgtSxesnk9$wSzDyCD>!Ig_mQ|io!{)WnVu86OG^=r037d;gXIHC$ z*%Gu7Lu4J_K;azQIzXIy#W3Cjihxu`=ZOj^voYVBcV=5j8NOLxDO} zm?wtN;V2IbuWzu_sKZH^$A>UI3-dw|s&}*>C_0J0MwdDToC2E)Z0XMq-~TWE{{G(# za$imXr@*yRKzPUD@c>gYcWZ5OeAfo>k8n2Tl^RtD5_27^3}3}};mS}Ka0b{nSZYKG Q%>5BiGPuMk@J|)^19jZT?f?J) literal 0 HcmV?d00001 diff --git a/src/providers/anime/tenshi.ts b/src/providers/anime/tenshi.ts new file mode 100644 index 000000000..758ec0343 --- /dev/null +++ b/src/providers/anime/tenshi.ts @@ -0,0 +1,185 @@ +import axios from 'axios'; +import { load } from 'cheerio'; + +import { + AnimeParser, + ISearch, + IAnimeInfo, + IEpisodeServer, + IVideo, + StreamingServers, + MediaStatus, + SubOrSub, + IAnimeResult, + ISource, + MediaFormat, + IAnimeEpisode, +} from '../../models'; + +class Tenshi extends AnimeParser { + fetchEpisodeSources(episodeId: string, ...args: any): Promise { + throw new Error('Method not implemented.'); + } + fetchEpisodeServers(episodeId: string): Promise { + throw new Error('Method not implemented.'); + } + search(query: string, ...args: any[]): Promise { + throw new Error('Method not implemented.'); + } + override readonly name = 'Tenshi'; + protected override baseUrl = 'https://tenshi.moe/'; + protected override logo = ''; + protected override classPath = 'ANIME.Tenshi'; + + override fetchAnimeInfo = async (id: string): Promise => { + try { + let { data } = await axios.request({ + method: 'get', + url: `${this.baseUrl}anime/${id}`, + headers: { + 'user-agent': + 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + cookie: 'loop-view=thumb;__ddg1_=;__ddg2_=', + }, + }); + + const maxEpisodesPerPage = 36; + + let $ = load(data); + + let english_title: string | undefined = undefined; + let native_title: string | undefined = undefined; + let synonyms: string[] = []; + let genres: string[] = []; + let info = $('.entry-content').children(); + let extraInfo = $('.info-list').children(); + let status = $('.status.meta-data').text().trim().replace('Status', '').trim(); + let hasDub = $('.audio.meta-data').children().length > 2; + let producers: string[] = []; + let episodeList: IAnimeEpisode[] = []; + let totalEpisodes = Number($('.entry-episodes').text().trim().replace('Episodes ', '').trim()); + let hasMultiplePages = $('.entry-episodes').find('nav').length > 0; + + $('.info-box') + .find('.value') + .each(function (i, item) { + if ($(this).find('.flag-icon').attr('title') == 'English') { + english_title = $(this).text().trim(); + } else if ($(this).find('.flag-icon').attr('title') == 'Japanese') { + native_title = $(this).text().trim(); + } else { + synonyms.push($(this).text().trim()); + } + }); + + $('.synonym.meta-data') + .find('.value') + .each(function (i, item) { + synonyms.push($(this).text().trim()); + }); + + $('.genre.meta-data') + .find('.value') + .each(function (i, item) { + genres.push($(this).text().trim()); + }); + + $('.production.meta-data') + .find('.value') + .each(function (i, item) { + producers.push($(this).text().trim()); + }); + + let age = $('.content-rating.meta-data') + .text() + .trim() + .replace('Content Rating', '') + .trim() + .split(' - '); + + if (hasMultiplePages) { + let lastPage = Number($('.pagination').children().eq(-2).first().text()); + for (let i = 1; i <= lastPage; i++) { + let { data } = await axios.request({ + method: 'get', + url: `${this.baseUrl}anime/${id}?page=${i}`, + headers: { + 'user-agent': + 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', + cookie: 'loop-view=thumb;__ddg1_=;__ddg2_=', + }, + }); + + let ep = load(data); + + ep('.loop.episode-loop.thumb') + .children() + .each(function (i, item) { + episodeList.push({ + id: `${id}/${Number($(this).find('.episode-slug').text().replace('Episode', ''))}`, + number: Number($(this).find('.episode-slug').text().replace('Episode', '')), + title: $(this).find('.episode-title').text(), + image: $(this).find('img').attr('src'), + description: $(this).find('.film-grain').attr('data-content'), + releaseDate: $(this).find('.episode-date').text(), + }); + }); + } + } else { + $('.loop.episode-loop.thumb') + .children() + .each(function (i, item) { + episodeList.push({ + id: `${id}/${Number($(this).find('.episode-slug').text().replace('Episode', ''))}`, + number: Number($(this).find('.episode-slug').text().replace('Episode', '')), + title: $(this).find('.episode-title').text(), + image: $(this).find('img').attr('src'), + description: $(this).find('.film-grain').attr('data-content'), + releaseDate: $(this).find('.episode-date').text(), + }); + }); + } + + let animeInfo: IAnimeInfo = { + id: id, + title: { + romaji: $('.entry-header').first().text().trim(), + english: english_title, + native: native_title, + }, + image: info.find('.cover-image').attr('src'), + status: + status == 'Ongoing' + ? MediaStatus.ONGOING + : status == 'Completed' + ? MediaStatus.COMPLETED + : status == 'Stalled' + ? MediaStatus.HIATUS + : MediaStatus.UNKNOWN, + description: $('.card-body').text(), + hasDub: hasDub, + genres: genres, + rating: Number((parseFloat($('.rating.btn.btn-lg.btn-heart').find('span').text()) * 10).toFixed(0)), + releaseDate: $('.release-date.meta-data').text().trim().replace('Release Date', '').trim(), + producers: producers, + synonyms: synonyms, + ageRating: age[0], + ageRatingGuide: age[1], + totalEpisodes: totalEpisodes, + episodes: episodeList, + }; + + return animeInfo; + } catch (err) { + throw new Error("Anime doesn't exist."); + } + }; +} + +export default Tenshi; + +(async () => { + const tenshi = new Tenshi(); + //console.log(await tenshi.fetchAnimeInfo('dewhzcns')); + console.log(await tenshi.fetchAnimeInfo('fntoucz2')); +})(); diff --git a/src/providers/meta/index.ts b/src/providers/meta/index.ts index 4c9804f36..86d537508 100644 --- a/src/providers/meta/index.ts +++ b/src/providers/meta/index.ts @@ -1,3 +1,4 @@ import Anilist from './anilist'; +import Myanimelist from './mal'; -export default { Anilist }; +export default { Anilist, Myanimelist }; diff --git a/src/providers/meta/mal.ts b/src/providers/meta/mal.ts index 61717b3c7..7334ea4fd 100644 --- a/src/providers/meta/mal.ts +++ b/src/providers/meta/mal.ts @@ -129,11 +129,12 @@ class Myanimelist extends AnimeParser { let { data } = await axios.request({ method: 'get', - url: `https://myanimelist.net/anime.php?q=${query}&cat=anime&show=${50 * page - 1}`, + url: `${this.baseUrl}anime.php?q=${query}&cat=anime&show=${50 * page - 1}`, headers: { 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', }, + }); let $ = load(data); @@ -199,7 +200,7 @@ class Myanimelist extends AnimeParser { let { data } = await axios.request({ method: 'get', - url: `https://myanimelist.net/anime/${id}`, + url: `${this.baseUrl}anime/${id}`, headers: { 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.35', From 2da75ee4eb7288571e1c4831b88dde28aa3add90 Mon Sep 17 00:00:00 2001 From: LawlietAnime Date: Mon, 28 Nov 2022 01:24:13 +0100 Subject: [PATCH 5/6] added .DS_Store to gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 45809ab7a..d12e6523d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules/ *.tgz yarn-error.log .vscode -.idea \ No newline at end of file +.idea +.DS_Store \ No newline at end of file From 74e3e8ba736a2d0c3aa41d00abb597b86a2c4b70 Mon Sep 17 00:00:00 2001 From: LawlietAnime Date: Mon, 28 Nov 2022 01:31:59 +0100 Subject: [PATCH 6/6] ds files --- .DS_Store | Bin 8196 -> 0 bytes src/.DS_Store | Bin 6148 -> 0 bytes src/providers/.DS_Store | Bin 6148 -> 0 bytes 3 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store delete mode 100644 src/.DS_Store delete mode 100644 src/providers/.DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index bcbb04f5983fa78ed6456c2e17bdbdd9eef56ea2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHMO>Yx15FNLHZq&4d3PdkRD{&1WEmaZXlBNkz30kQMZ~zqYMM<++SILHesz|v4 z|AD{2k$=K};RJ7Nx7yuo4qOlww&Z!Xcb<3rb`r-MA`+!hdxL15h#XYL>@rM3;p<#y z%7PhL0}Ako9#Ms!&;c+%<82450#*U5fK|XMU={cm6u_R%#hJ73>#NpU1*`)9r2_o@ z;G!}X4Nf(xuMQY>1OTQmtP0vV2PlqfuxN0qQBg6cK0OFS73PQ`G#%Gnb_W&>PBm&e z2~8(q?kvm+MX0-j=PGv+MUB>41*`(I3h>!IL%Z~tc4$9xe(zIz&y%gDC!6r$kJS!p z{+B9f5v_rDKxLfy>%fPw+~3E@Gqh@W2QWLwx7Zw445vniv_~Z{Ye0@9fh}&v*ePmL zmxdHXBNbl~{3Nw#81wrX^K+;}AE<%2Psl?%=D%n2u1x*4zL zcz9xR^Lz8e>kflL;fGjQOkKLX1~0i+lhSLRwHwXn-Ojk4 zy|yd;pwaa^14ZbzJ8*gRqU*QixFkn@d#JcoeZfgP>3a6Y>FLH+&fUDXJ;}MJ_cseU zckAxR$pmJfqsYXSCiTn^i|NIX_ av|YF|r)Y4h5hEz}MSzmQ8mquxRp2*Mvn56V diff --git a/src/.DS_Store b/src/.DS_Store deleted file mode 100644 index 0b52ea2c62ad4aa41292e35ba43816125ce939a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKL2KJE6n;w6RHh7a*jO(G!LFfAyV5asantV5>pZr@I?%aS|1I zrt@!zGIN>6SUxE&$STedou2|Uy?F(^0$zdpE8sROxqAOcc&1mtEAU7a;Qc|t8AFG) zMYDCFFjoLz6Wzv8=U+zVD2JiL+9Dz_VW~h%74C{5EFJyI<%JGwi;mY`TT!-_x=Am$+x@$UV%rYfM^~>2R*!!J6jiCj?Y>J s{{m;@yxQVl3M%F(MlK)4Yj9)eS6l&x4r`0(f%zW+BZDuz0uQRdAGZ5|h5!Hn diff --git a/src/providers/.DS_Store b/src/providers/.DS_Store deleted file mode 100644 index cb9bf8b843f077ec43b1f215d2e282abdaceb751..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKO>fgM7=GQQUCM^k0|+iik+_!8jcEvRDP%^~Yn`u8Bwt7UO-Q4iWiqM(+laON{H;Yt}F& zyFj7ZNM2@g6lXH7ab1B^z$x(mDZqQTNfG6g(v9W9d3)#q7isg z2so;8#k~sG2P>yBCG?5*sHpM3R`|P=A!0%&;66a4q;te(wYXoExF*KKi#nlbbMy_K zpFMhymmRHFcxvgtSxesnk9$wSzDyCD>!Ig_mQ|io!{)WnVu86OG^=r037d;gXIHC$ z*%Gu7Lu4J_K;azQIzXIy#W3Cjihxu`=ZOj^voYVBcV=5j8NOLxDO} zm?wtN;V2IbuWzu_sKZH^$A>UI3-dw|s&}*>C_0J0MwdDToC2E)Z0XMq-~TWE{{G(# za$imXr@*yRKzPUD@c>gYcWZ5OeAfo>k8n2Tl^RtD5_27^3}3}};mS}Ka0b{nSZYKG Q%>5BiGPuMk@J|)^19jZT?f?J)