diff --git a/src/controllers/episodes/getByAniListId/aniwatch.ts b/src/controllers/episodes/getByAniListId/aniwatch.ts index 7f57227..57362c1 100644 --- a/src/controllers/episodes/getByAniListId/aniwatch.ts +++ b/src/controllers/episodes/getByAniListId/aniwatch.ts @@ -75,7 +75,10 @@ function getAniwatchId( userPreferred: anime.jname, })), ); - return animes.find((anime) => anime.name === bestMatchingTitle)?.id; + return animes.find( + (anime) => + anime.name === bestMatchingTitle || anime.jname === bestMatchingTitle, + )?.id; }); }