From a27a90251a93b5489ef013e629883e951b4f7cb6 Mon Sep 17 00:00:00 2001 From: Jasanpreet Nagra Date: Fri, 8 Mar 2024 02:26:21 -0600 Subject: [PATCH] fix(zoro): removed under development code --- dist/providers/anime/zoro.d.ts | 4 ---- dist/providers/anime/zoro.js | 31 ------------------------------- dist/providers/anime/zoro.js.map | 2 +- src/providers/anime/zoro.ts | 31 ------------------------------- 4 files changed, 1 insertion(+), 67 deletions(-) diff --git a/dist/providers/anime/zoro.d.ts b/dist/providers/anime/zoro.d.ts index 08409687c..91c836622 100644 --- a/dist/providers/anime/zoro.d.ts +++ b/dist/providers/anime/zoro.d.ts @@ -42,10 +42,6 @@ declare class Zoro extends AnimeParser { * @param page page number (optional) `default 1` */ fetchStudio(studio: string, page?: number): Promise>; - /** - * @param date date in format `YYYY-MM-DD` `default today` - */ - fetchSchedule(date?: string): Promise>; /** * @param id Anime id */ diff --git a/dist/providers/anime/zoro.js b/dist/providers/anime/zoro.js index d1f5674b5..44c3e08c3 100644 --- a/dist/providers/anime/zoro.js +++ b/dist/providers/anime/zoro.js @@ -316,37 +316,6 @@ class Zoro extends models_1.AnimeParser { } return this.scrapeCard(`${this.baseUrl}/producer/${studio}?page=${page}`); } - /** - * @param date date in format `YYYY-MM-DD` `default today` - */ - async fetchSchedule(date = new Date().toISOString().slice(0, 10)) { - try { - const res = { - results: [], - }; - const { data: { html } } = await this.client.get(`${this.baseUrl}/ajax/schedule/list?tzOffset=360&date=${date}`); - const $ = (0, cheerio_1.load)(html); - $('li').each((i, ele) => { - var _a; - 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 airingEpisode = card.find("div.film-detail div.fd-play button").text(); - res.results.push({ - id: id, - title: title.text(), - japaneseTitle: title.attr('data-jname'), - url: `${this.baseUrl}/${id}`, - airingEpisode: airingEpisode, - }); - }); - return res; - } - catch (err) { - throw new Error('Something went wrong. Please try again later.'); - } - } - ; } // (async () => { // const zoro = new Zoro(); diff --git a/dist/providers/anime/zoro.js.map b/dist/providers/anime/zoro.js.map index 85413fb7c..40ed11ea4 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,qCAA+B;AAE/B,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;QAsH5C;;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,CAAC,CAAC;gBAC5B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;gBAC/B,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,6BAA6B,CAAC,CAAC,IAAI,EAAE,CAAC;gBACrD,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,qBAAqB,CAAC,CAAC,I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,OAAe,CAAC;QAC1C,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;YACd,IAAI,GAAG,CAAC,CAAC;QACX,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,OAAO,aAAa,MAAM,SAAS,IAAI,EAAE,CAAC,CAAC;IAC5E,CAAC;CAiQF;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 cd7b455b5..19ed0ee8e 100644 --- a/src/providers/anime/zoro.ts +++ b/src/providers/anime/zoro.ts @@ -107,37 +107,6 @@ class Zoro extends AnimeParser { } return this.scrapeCard(`${this.baseUrl}/producer/${studio}?page=${page}`); } - /** - * @param date date in format `YYYY-MM-DD` `default today` - */ - async fetchSchedule(date: string = new Date().toISOString().slice(0, 10)): Promise> { - try { - const res: ISearch = { - results: [], - }; - const { data: { html } } = await this.client.get(`${this.baseUrl}/ajax/schedule/list?tzOffset=360&date=${date}`); - const $ = load(html); - - $('li').each((i, ele) => { - const card = $(ele); - const title = card.find('.film-name'); - - const id = card.find("a.tsl-link").attr('href')?.split('/')[1].split('?')[0]; - const airingEpisode = card.find("div.film-detail div.fd-play button").text(); - res.results.push({ - id: id!, - title: title.text(), - japaneseTitle: title.attr('data-jname'), - url: `${this.baseUrl}/${id}`, - airingEpisode: airingEpisode, - }); - }) - - return res; - } catch (err) { - throw new Error('Something went wrong. Please try again later.'); - } - } /** * @param id Anime id