diff --git a/src/providers/sources/ridomovies/index.ts b/src/providers/sources/ridomovies/index.ts index 69fb745..638ea13 100644 --- a/src/providers/sources/ridomovies/index.ts +++ b/src/providers/sources/ridomovies/index.ts @@ -25,7 +25,7 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) => const fullSlug = movieEl.fullSlug; return { name, year, fullSlug }; }); - const targetMedia = mediaData.find((m) => m.name === ctx.media.title); + const targetMedia = mediaData.find((m) => m.name === ctx.media.title && m.year === ctx.media.releaseYear.toString()); if (!targetMedia?.fullSlug) throw new NotFoundError('No watchable item found'); let iframeSourceUrl = `/${targetMedia.fullSlug}/videos`;