diff --git a/src/hh/scraper.ts b/src/hh/scraper.ts index dea6eff..9bac49b 100644 --- a/src/hh/scraper.ts +++ b/src/hh/scraper.ts @@ -569,6 +569,10 @@ export async function applyToJobs( results.applied.push(ref) appliedCount++ consecutiveSkips = 0 + + const cached = vacancyCache.get(cacheKey) + if (cached) + cached.vacancies = cached.vacancies.filter(v => v.href !== vacancy.href) } catch (err) { results.errors.push({ ...ref, message: (err as Error).message })