mirror of
https://github.com/p-stream/providers.git
synced 2026-03-11 17:55:36 +00:00
use compareMedia again in zoechip show search
This commit is contained in:
parent
a5de8c8229
commit
db79b16a83
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ export async function getZoeChipShowID(ctx: ScrapeContext, media: ShowMedia): Pr
|
|||
const regexResult = html.match(releasedRegex);
|
||||
if (regexResult) {
|
||||
const year = Number(regexResult[1]);
|
||||
if (!Number.isNaN(year) && year === media.releaseYear) {
|
||||
if (!Number.isNaN(year) && compareMedia(media, result.title, year)) {
|
||||
return result.id;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue