diff --git a/dist/providers/anime/zoro.d.ts b/dist/providers/anime/zoro.d.ts index 3defc5107..ee70a723f 100644 --- a/dist/providers/anime/zoro.d.ts +++ b/dist/providers/anime/zoro.d.ts @@ -42,6 +42,10 @@ declare class Zoro extends AnimeParser { * @param page page number (optional) `default 1` */ fetchStudio(studio: string, page?: number): Promise>; + /** + * Fetches trending anime + */ + fetchTrending(): Promise>; /** * Fetches the schedule for a given date. * @param date The date in format 'YYYY-MM-DD'. Defaults to the current date. diff --git a/dist/providers/anime/zoro.js b/dist/providers/anime/zoro.js index 3c56095d3..77e6143d6 100644 --- a/dist/providers/anime/zoro.js +++ b/dist/providers/anime/zoro.js @@ -20,35 +20,50 @@ class Zoro extends models_1.AnimeParser { title: '', }; try { - const { data } = await this.client.get(`${this.baseUrl}/watch/${id}`); + const { data } = await this.client.get(`${this.baseUrl}/${id}`); const $ = (0, cheerio_1.load)(data); const { mal_id, anilist_id } = JSON.parse($('#syncData').text()); info.malID = Number(mal_id); info.alID = Number(anilist_id); - info.title = $('h2.film-name > a.text-white').text(); + info.title = $('h2.film-name').text(); info.japaneseTitle = $('div.anisc-info div:nth-child(2) span.name').text(); info.image = $('img.film-poster-img').attr('src'); info.description = $('div.film-description').text().trim(); // Movie, TV, OVA, ONA, Special, Music info.type = $('span.item').last().prev().prev().text().toUpperCase(); info.url = `${this.baseUrl}/${id}`; + info.character = []; + $('div.block-actors-content div.bac-list-wrap div.bac-item').each((i, el) => { + var _b; + const card = $(el); + info.character.push({ + characterID: (card.find('div.per-info:nth-child(1) a.pi-avatar').attr('href') || '').replace('/character/', '') || null, + name: card.find('div.per-info:nth-child(1) div.pi-detail h4.pi-name a').text() || null, + role: card.find('div.per-info:nth-child(1) div.pi-detail span.pi-cast').text() || null, + characterImage: card.find('div.per-info:nth-child(1) a.pi-avatar img').attr('data-src') || null, + actorID: ((_b = card.find('div.per-info:nth-child(2) a.pi-avatar').attr('href')) === null || _b === void 0 ? void 0 : _b.replace('/people/', '')) || null, + voiceActor: card.find('div.per-info:nth-child(2) div.pi-detail h4.pi-name a').text() || null, + voice: card.find('div.per-info:nth-child(2) div.pi-detail span.pi-cast').text() || null, + ActorImage: card.find('div.per-info:nth-child(2) a.pi-avatar img').attr('data-src') || null + }); + }); info.recommendations = await this.scrapeCard($); info.relatedAnime = []; $("#main-sidebar section:nth-child(1) div.anif-block-ul li").each((i, ele) => { - var _a, _b, _c, _d, _e, _f, _g; + var _b, _c, _d, _e, _f, _g, _h; const card = $(ele); const aTag = card.find('.film-name a'); - const id = (_a = aTag.attr('href')) === null || _a === void 0 ? void 0 : _a.split('/')[1].split('?')[0]; + const id = (_b = aTag.attr('href')) === null || _b === void 0 ? void 0 : _b.split('/')[1].split('?')[0]; info.relatedAnime.push({ id: id, title: aTag.text(), url: `${this.baseUrl}${aTag.attr('href')}`, - image: (_b = card.find('img')) === null || _b === void 0 ? void 0 : _b.attr('data-src'), + image: (_c = card.find('img')) === null || _c === void 0 ? void 0 : _c.attr('data-src'), japaneseTitle: aTag.attr('data-jname'), - type: (_d = (_c = card.find(".tick").contents().last()) === null || _c === void 0 ? void 0 : _c.text()) === null || _d === void 0 ? void 0 : _d.trim(), - sub: parseInt((_e = card.find('.tick-item.tick-sub')) === null || _e === void 0 ? void 0 : _e.text()) || 0, - dub: parseInt((_f = card.find('.tick-item.tick-dub')) === null || _f === void 0 ? void 0 : _f.text()) || 0, - episodes: parseInt((_g = card.find('.tick-item.tick-eps')) === null || _g === void 0 ? void 0 : _g.text()) || 0, + type: (_e = (_d = card.find(".tick").contents().last()) === null || _d === void 0 ? void 0 : _d.text()) === null || _e === void 0 ? void 0 : _e.trim(), + sub: parseInt((_f = card.find('.tick-item.tick-sub')) === null || _f === void 0 ? void 0 : _f.text()) || 0, + dub: parseInt((_g = card.find('.tick-item.tick-dub')) === null || _g === void 0 ? void 0 : _g.text()) || 0, + episodes: parseInt((_h = card.find('.tick-item.tick-eps')) === null || _h === void 0 ? void 0 : _h.text()) || 0, }); }); const hasSub = $('div.film-stats div.tick div.tick-item.tick-sub').length > 0; @@ -74,14 +89,14 @@ class Zoro extends models_1.AnimeParser { info.totalEpisodes = $$('div.detail-infor-content > div > a').length; info.episodes = []; $$('div.detail-infor-content > div > a').each((i, el) => { - var _a, _b, _c, _d; - const episodeId = (_c = (_b = (_a = $$(el) - .attr('href')) === null || _a === void 0 ? void 0 : _a.split('/')[2]) === null || _b === void 0 ? void 0 : _b.replace('?ep=', '$episode$')) === null || _c === void 0 ? void 0 : _c.concat(`$${info.subOrDub}`); + var _b, _c, _d, _e; + const episodeId = (_d = (_c = (_b = $$(el) + .attr('href')) === null || _b === void 0 ? void 0 : _b.split('/')[2]) === null || _c === void 0 ? void 0 : _c.replace('?ep=', '$episode$')) === null || _d === void 0 ? void 0 : _d.concat(`$${info.subOrDub}`); const number = parseInt($$(el).attr('data-number')); const title = $$(el).attr('title'); const url = this.baseUrl + $$(el).attr('href'); const isFiller = $$(el).hasClass('ssl-item-filler'); - (_d = info.episodes) === null || _d === void 0 ? void 0 : _d.push({ + (_e = info.episodes) === null || _e === void 0 ? void 0 : _e.push({ id: episodeId, number: number, title: title, @@ -99,8 +114,8 @@ class Zoro extends models_1.AnimeParser { * * @param episodeId Episode id */ - this.fetchEpisodeSources = async (episodeId, server = models_1.StreamingServers.VidCloud) => { - var _a; + this.fetchEpisodeSources = async (episodeId, server = models_1.StreamingServers.VidStreaming) => { + var _b; if (episodeId.startsWith('http')) { const serverUrl = new URL(episodeId); switch (server) { @@ -130,7 +145,7 @@ class Zoro extends models_1.AnimeParser { throw new Error('Invalid episode id'); // Fallback to using sub if no info found in case of compatibility // TODO: add both options later - const subOrDub = ((_a = episodeId.split('$')) === null || _a === void 0 ? void 0 : _a.pop()) === 'dub' ? 'dub' : 'sub'; + const subOrDub = ((_b = episodeId.split('$')) === null || _b === void 0 ? void 0 : _b.pop()) === 'dub' ? 'dub' : 'sub'; episodeId = `${this.baseUrl}/watch/${episodeId .replace('$episode$', '?ep=') .replace(/\$auto|\$sub|\$dub/gi, '')}`; @@ -190,7 +205,7 @@ class Zoro extends models_1.AnimeParser { * @param url string */ this.scrapeCardPage = async (url) => { - var _a, _b, _c; + var _b, _c, _d; try { const res = { currentPage: 0, @@ -201,12 +216,12 @@ class Zoro extends models_1.AnimeParser { const { data } = await this.client.get(url); const $ = (0, cheerio_1.load)(data); const pagination = $('ul.pagination'); - res.currentPage = parseInt((_a = pagination.find('.page-item.active')) === null || _a === void 0 ? void 0 : _a.text()); - const nextPage = (_b = pagination.find('a[title=Next]')) === null || _b === void 0 ? void 0 : _b.attr('href'); + res.currentPage = parseInt((_b = pagination.find('.page-item.active')) === null || _b === void 0 ? void 0 : _b.text()); + const nextPage = (_c = pagination.find('a[title=Next]')) === null || _c === void 0 ? void 0 : _c.attr('href'); if (nextPage != undefined && nextPage != '') { res.hasNextPage = true; } - const totalPages = (_c = pagination.find('a[title=Last]').attr('href')) === null || _c === void 0 ? void 0 : _c.split('=').pop(); + const totalPages = (_d = pagination.find('a[title=Last]').attr('href')) === null || _d === void 0 ? void 0 : _d.split('=').pop(); if (totalPages === undefined || totalPages === '') { res.totalPages = res.currentPage; } @@ -232,24 +247,24 @@ class Zoro extends models_1.AnimeParser { try { const results = []; $('.flw-item').each((i, ele) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _j; + var _b, _c, _d, _e, _f, _g, _h, _j, _k; const card = $(ele); const atag = card.find('.film-name a'); - const id = (_a = atag.attr('href')) === null || _a === void 0 ? void 0 : _a.split('/')[1].split('?')[0]; - const type = (_c = (_b = card - .find('.fdi-item')) === null || _b === void 0 ? void 0 : _b.first()) === null || _c === void 0 ? void 0 : _c.text().replace(' (? eps)', '').replace(/\s\(\d+ eps\)/g, ''); + const id = (_b = atag.attr('href')) === null || _b === void 0 ? void 0 : _b.split('/')[1].split('?')[0]; + const type = (_d = (_c = card + .find('.fdi-item')) === null || _c === void 0 ? void 0 : _c.first()) === null || _d === void 0 ? void 0 : _d.text().replace(' (? eps)', '').replace(/\s\(\d+ eps\)/g, ''); results.push({ id: id, title: atag.text(), url: `${this.baseUrl}${atag.attr('href')}`, - image: (_d = card.find('img')) === null || _d === void 0 ? void 0 : _d.attr('data-src'), - duration: (_e = card.find('.fdi-duration')) === null || _e === void 0 ? void 0 : _e.text(), + image: (_e = card.find('img')) === null || _e === void 0 ? void 0 : _e.attr('data-src'), + duration: (_f = card.find('.fdi-duration')) === null || _f === void 0 ? void 0 : _f.text(), japaneseTitle: atag.attr('data-jname'), type: type, - nsfw: ((_f = card.find('.tick-rate')) === null || _f === void 0 ? void 0 : _f.text()) === '18+' ? true : false, - sub: parseInt((_g = card.find('.tick-item.tick-sub')) === null || _g === void 0 ? void 0 : _g.text()) || 0, - dub: parseInt((_h = card.find('.tick-item.tick-dub')) === null || _h === void 0 ? void 0 : _h.text()) || 0, - episodes: parseInt((_j = card.find('.tick-item.tick-eps')) === null || _j === void 0 ? void 0 : _j.text()) || 0, + nsfw: ((_g = card.find('.tick-rate')) === null || _g === void 0 ? void 0 : _g.text()) === '18+' ? true : false, + sub: parseInt((_h = card.find('.tick-item.tick-sub')) === null || _h === void 0 ? void 0 : _h.text()) || 0, + dub: parseInt((_j = card.find('.tick-item.tick-dub')) === null || _j === void 0 ? void 0 : _j.text()) || 0, + episodes: parseInt((_k = card.find('.tick-item.tick-eps')) === null || _k === void 0 ? void 0 : _k.text()) || 0, }); }); return results; @@ -349,6 +364,34 @@ class Zoro extends models_1.AnimeParser { } return this.scrapeCardPage(`${this.baseUrl}/producer/${studio}?page=${page}`); } + /** + * Fetches trending anime + */ + async fetchTrending() { + try { + var _a; + const res = { results: [] }; + const { data } = await this.client.get(`${this.baseUrl}/home`); + const $ = (0, cheerio_1.load)(data); + $('.trending-list div .swiper-wrapper .swiper-slide').each((i, el) => { + const card = $(el).find('.item'); + const titleElement = card.find('.film-title'); + const id = (_a = card.find(".film-poster").attr('href')) === null || _a === void 0 ? void 0 : _a.split('/')[1].split('?')[0]; + res.results.push({ + id: id, + title: titleElement.text(), + japaneseTitle: titleElement.attr('data-jname'), + image: card.find('.film-poster img').attr('data-src'), + url: `${this.baseUrl}/${id}`, + rank: i + 1 + }); + }); + return res; + } + catch (error) { + throw new Error('Something went wrong. Please try again later.'); + } + } /** * Fetches the schedule for a given date. * @param date The date in format 'YYYY-MM-DD'. Defaults to the current date. @@ -359,13 +402,13 @@ class Zoro extends models_1.AnimeParser { const res = { results: [], }; - const { data: { html } } = await this.client.get(`${this.baseUrl}/ajax/schedule/list?tzOffset=360&date=${date}`); + const { data: { html } } = await this.client.get(`${this.baseUrl}/ajax/schedule/list?tzOffset=-480&date=${date}`); const $ = (0, cheerio_1.load)(html); $('li').each((i, ele) => { - var _a; + var _b; const card = $(ele); const title = card.find('.film-name'); - const id = (_a = card.find("a.tsl-link").attr('href')) === null || _a === void 0 ? void 0 : _a.split('/')[1].split('?')[0]; + const id = (_b = card.find("a.tsl-link").attr('href')) === null || _b === void 0 ? void 0 : _b.split('/')[1].split('?')[0]; const airingTime = card.find("div.time").text().replace("\n", "").trim(); const airingEpisode = card.find("div.film-detail div.fd-play button").text().replace("\n", "").trim(); res.results.push({ @@ -389,16 +432,16 @@ class Zoro extends models_1.AnimeParser { const { data } = await this.client.get(`${this.baseUrl}/home`); const $ = (0, cheerio_1.load)(data); $('#slider div.swiper-wrapper div.swiper-slide').each((i, el) => { - var _a, _b, _c; + var _b, _c, _d; const card = $(el); const titleElement = card.find('div.desi-head-title'); - const id = ((_b = (_a = card.find('div.desi-buttons .btn-secondary').attr('href')) === null || _a === void 0 ? void 0 : _a.match(/\/([^/]+)$/)) === null || _b === void 0 ? void 0 : _b[1]) || null; + const id = ((_c = (_b = card.find('div.desi-buttons .btn-secondary').attr('href')) === null || _b === void 0 ? void 0 : _b.match(/\/([^/]+)$/)) === null || _c === void 0 ? void 0 : _c[1]) || null; res.results.push({ id: id, title: titleElement.text(), japaneseTitle: titleElement.attr('data-jname'), - banner: card.find('deslide-cover-img img').attr('data-src') || null, - rank: parseInt((_c = card.find('.desi-sub-text').text().match(/(\d+)/g)) === null || _c === void 0 ? void 0 : _c[0]), + banner: card.find('.deslide-cover-img img').attr('data-src') || null, + rank: parseInt((_d = card.find('.desi-sub-text').text().match(/(\d+)/g)) === null || _d === void 0 ? void 0 : _d[0]), url: `${this.baseUrl}/${id}`, type: card.find('div.sc-detail .scd-item:nth-child(1)').text().trim(), duration: card.find('div.sc-detail > div:nth-child(2)').text().trim(), diff --git a/dist/providers/anime/zoro.js.map b/dist/providers/anime/zoro.js.map index 36e35f929..e7374dcca 100644 --- a/dist/providers/anime/zoro.js.map +++ b/dist/providers/anime/zoro.js.map @@ -1 +1 @@ -{"version":3,"file":"zoro.js","sourceRoot":"","sources":["../../../src/providers/anime/zoro.ts"],"names":[],"mappings":";;AACA,qCAA2C;AAE3C,yCAUsB;AAEtB,uCAA0E;AAC1E,uCAAyC;AAEzC,MAAM,IAAK,SAAQ,oBAAW;IAA9B;;QACoB,SAAI,GAAG,MAAM,CAAC;QACb,YAAO,GAAG,oBAAoB,CAAC;QAC/B,SAAI,GACrB,0HAA0H,CAAC;QAC1G,cAAS,GAAG,YAAY,CAAC;QA6J5C;;WAEG;QACM,mBAAc,GAAG,KAAK,EAAE,EAAU,EAAuB,EAAE;YAClE,MAAM,IAAI,GAAe;gBACvB,EAAE,EAAE,EAAE;gBACN,KAAK,EAAE,EAAE;aACV,CAAC;YACF,IAAI,CAAC;gBACH,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,UAAU,EAAE,EAAE,CAAC,CAAC;gBACtE,MAAM,CAAC,GAAG,IAAA,cAAI,EAAC,IAAI,CAAC,CAAC;gBAErB,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;gBACjE,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CA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,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE;iBAC7D,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;YAEH,OAAO,GAAG,CAAC;QACb,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;QACnE,CAAC;IACH,CAAC;CAiSF;AAED,iBAAiB;AACjB,6BAA6B;AAC7B,+DAA+D;AAC/D,iEAAiE;AACjE,0EAA0E;AAC1E,0BAA0B;AAC1B,QAAQ;AAER,kBAAe,IAAI,CAAC"} \ No newline at end of file +{"version":3,"file":"zoro.js","sourceRoot":"","sources":["../../../src/providers/anime/zoro.ts"],"names":[],"mappings":";;AACA,qCAA2C;AAE3C,yCAUsB;AAEtB,uCAA0E;AAC1E,uCAAyC;AAEzC,MAAM,IAAK,SAAQ,oBAAW;IAA9B;;QACoB,SAAI,GAAG,MAAM,CAAC;QACb,YAAO,GAAG,oBAAoB,CAAC;QAC/B,SAAI,GACrB,0HAA0H,CAAC;QAC1G,cAAS,GAAG,YAAY,CAAC;QAwL5C;;WAEG;QACM,mBAAc,GAAG,KAAK,EAAE,EAAU,EAAuB,EAAE;YAClE,MAAM,IAAI,GAAe;gBACvB,EAAE,EAAE,EAAE;gBACN,KAAK,EAAE,EAAE;aACV,CAAC;YACF,IAAI,CAAC;gBACH,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC;gBAChE,MAAM,CAAC,GAAG,IAAA,cAAI,EAAC,IAAI,CAAC,CAAC;gBAErB,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;gBACjE,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,MA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CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC;oBACvE,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE;iBAC7D,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;YAEH,OAAO,GAAG,CAAC;QACb,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;QACnE,CAAC;IACH,CAAC;CA+SF;AAED,iBAAiB;AACjB,6BAA6B;AAC7B,+DAA+D;AAC/D,iEAAiE;AACjE,0EAA0E;AAC1E,0BAA0B;AAC1B,QAAQ;AAER,kBAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/src/providers/anime/zoro.ts b/src/providers/anime/zoro.ts index 980c27e98..1d780aa0b 100644 --- a/src/providers/anime/zoro.ts +++ b/src/providers/anime/zoro.ts @@ -107,7 +107,34 @@ class Zoro extends AnimeParser { } return this.scrapeCardPage(`${this.baseUrl}/producer/${studio}?page=${page}`); } - + /** + * Fetches trending anime + */ + async fetchTrending(): Promise> { + try { + let _a; + const res: ISearch = { results: [] }; + const { data } = await this.client.get(`${this.baseUrl}/home`); + const $ = load(data); + $('.trending-list div .swiper-wrapper .swiper-slide').each((i, el) => { + const card = $(el).find('.item'); + const titleElement = card.find('.film-title'); + const id = (_a = card.find(".film-poster").attr('href')) === null || _a === void 0 ? void 0 : _a.split('/')[1].split('?')[0]; + res.results.push({ + id: id!, + title: titleElement.text(), + japaneseTitle: titleElement.attr('data-jname'), + image: card.find('.film-poster img').attr('data-src'), + url: `${this.baseUrl}/${id}`, + rank: i + 1 + }); + }); + return res; + } + catch (error) { + throw new Error('Something went wrong. Please try again later.'); + } + } /** * Fetches the schedule for a given date. * @param date The date in format 'YYYY-MM-DD'. Defaults to the current date. @@ -118,7 +145,7 @@ class Zoro extends AnimeParser { const res: ISearch = { results: [], }; - const { data: { html } } = await this.client.get(`${this.baseUrl}/ajax/schedule/list?tzOffset=360&date=${date}`); + const { data: { html } } = await this.client.get(`${this.baseUrl}/ajax/schedule/list?tzOffset=-480&date=${date}`); const $ = load(html); $('li').each((i, ele) => { @@ -158,7 +185,7 @@ class Zoro extends AnimeParser { id: id!, title: titleElement.text(), japaneseTitle: titleElement.attr('data-jname'), - banner: card.find('deslide-cover-img img').attr('data-src') || null, + banner: card.find('.deslide-cover-img img').attr('data-src') || null, rank: parseInt(card.find('.desi-sub-text').text().match(/(\d+)/g)?.[0]!), url: `${this.baseUrl}/${id}`, type: card.find('div.sc-detail .scd-item:nth-child(1)').text().trim() as MediaFormat, @@ -187,19 +214,33 @@ class Zoro extends AnimeParser { title: '', }; try { - const { data } = await this.client.get(`${this.baseUrl}/watch/${id}`); + const { data } = await this.client.get(`${this.baseUrl}/${id}`); const $ = load(data); const { mal_id, anilist_id } = JSON.parse($('#syncData').text()); info.malID = Number(mal_id); info.alID = Number(anilist_id); - info.title = $('h2.film-name > a.text-white').text(); + info.title = $('h2.film-name').text(); info.japaneseTitle = $('div.anisc-info div:nth-child(2) span.name').text(); info.image = $('img.film-poster-img').attr('src'); info.description = $('div.film-description').text().trim(); // Movie, TV, OVA, ONA, Special, Music info.type = $('span.item').last().prev().prev().text().toUpperCase() as MediaFormat; info.url = `${this.baseUrl}/${id}`; + info.character = []; + $('div.block-actors-content div.bac-list-wrap div.bac-item').each((i, el) => { + const card = $(el); + info.character.push({ + characterID: (card.find('div.per-info:nth-child(1) a.pi-avatar').attr('href') || '').replace('/character/', '') || null, + name: card.find('div.per-info:nth-child(1) div.pi-detail h4.pi-name a').text() || null, + role: card.find('div.per-info:nth-child(1) div.pi-detail span.pi-cast').text() || null, + characterImage: card.find('div.per-info:nth-child(1) a.pi-avatar img').attr('data-src') || null, + actorID: card.find('div.per-info:nth-child(2) a.pi-avatar').attr('href')?.replace('/people/', '') || null, + voiceActor: card.find('div.per-info:nth-child(2) div.pi-detail h4.pi-name a').text() || null, + voice: card.find('div.per-info:nth-child(2) div.pi-detail span.pi-cast').text() || null, + ActorImage: card.find('div.per-info:nth-child(2) a.pi-avatar img').attr('data-src') || null + }); + }); info.recommendations = await this.scrapeCard($); info.relatedAnime = []; $("#main-sidebar section:nth-child(1) div.anif-block-ul li").each((i, ele) => { @@ -279,7 +320,7 @@ class Zoro extends AnimeParser { */ override fetchEpisodeSources = async ( episodeId: string, - server: StreamingServers = StreamingServers.VidCloud + server: StreamingServers = StreamingServers.VidStreaming ): Promise => { if (episodeId.startsWith('http')) { const serverUrl = new URL(episodeId);