Skip to content

Commit

Permalink
fix: AnimeKo crawler cover image/streaming urls
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Nov 4, 2021
1 parent 68f1878 commit 48ba11b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/crawlers/vostfr/animeko.crawler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export class AnimeKoCrawler extends LatestEpisodesCrawler {
this.filters = {
...this.filters,
cover: (text: string) => {
return text.replace('/small', '');
const cover = text.replace('/small', '');
return this.filters.concatUrl(cover);
},
subtitles: (text: string) => {
return 'vostfr';
Expand Down Expand Up @@ -59,7 +60,7 @@ export class AnimeKoCrawler extends LatestEpisodesCrawler {
number: 'span.badge-number | number',
streamLinks: [
{
url: 'h2 a@href',
url: 'h2 a@href | concatUrl',
lang: '| subtitles',
},
],
Expand Down

0 comments on commit 48ba11b

Please sign in to comment.