diff --git a/src/controllers/upcoming-titles/anilist.ts b/src/controllers/upcoming-titles/anilist.ts index 662f753..d03a2ec 100644 --- a/src/controllers/upcoming-titles/anilist.ts +++ b/src/controllers/upcoming-titles/anilist.ts @@ -69,7 +69,8 @@ export async function getUpcomingTitlesFromAnilist(env: Env) { const { airingSchedules, pageInfo } = Page!; scheduleList = scheduleList.concat( airingSchedules!.filter( - (schedule): schedule is AiringSchedule => !!schedule, + (schedule): schedule is AiringSchedule => + !!schedule && schedule.media?.countryOfOrigin === "JP", ), ); shouldContinue = pageInfo?.hasNextPage ?? false;