Update search.ts

This commit is contained in:
erynith 2023-12-18 14:02:43 -05:00 committed by GitHub
parent d95de0b602
commit 9ff9cc5938
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ export async function getFlixhqId(ctx: ScrapeContext, media: MovieMedia | ShowMe
if (media.type === 'movie') {
return compareMedia(media, v.title, v.year);
};
}
return compareTitle(media.title, v.title) && media.season.number < v.seasons + 1;
});