mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 12:43:25 +00:00
Update search.ts
This commit is contained in:
@@ -33,10 +33,10 @@ export async function getFlixhqId(ctx: ScrapeContext, media: MovieMedia | ShowMe
|
|||||||
if (!v) return false;
|
if (!v) return false;
|
||||||
|
|
||||||
if (media.type === 'movie') {
|
if (media.type === 'movie') {
|
||||||
return compareMedia(media, v.title, v.year)
|
return compareMedia(media, v.title, v.year);
|
||||||
}
|
};
|
||||||
|
|
||||||
return compareTitle(media.title, v.title) && media.season.number < v.seasons + 1
|
return compareTitle(media.title, v.title) && media.season.number < v.seasons + 1;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!matchingItem) return null;
|
if (!matchingItem) return null;
|
||||||
|
Reference in New Issue
Block a user