From 45aa07b35b63f2831ecbcb59049ff6da249e7bd6 Mon Sep 17 00:00:00 2001 From: Oscar Date: Thu, 25 Jun 2026 13:42:19 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(src/hh/scraper.ts):=20=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D1=8F=D0=B5=D1=82=20=D1=81?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=D0=BA=D1=82=D0=BE=D1=80=20=D0=BA=D0=BD=D0=BE?= =?UTF-8?q?=D0=BF=D0=BA=D0=B8=20=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B8?= =?UTF-8?q?=D0=B7=D0=B0=D1=86=D0=B8=D0=B8=20=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hh/scraper.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hh/scraper.ts b/src/hh/scraper.ts index b5d5d1a..3fe7787 100644 --- a/src/hh/scraper.ts +++ b/src/hh/scraper.ts @@ -347,9 +347,12 @@ export async function applyToJobs( await page.goto(url, { waitUntil: 'domcontentloaded' }) await page.waitForSelector('[data-qa="serp-item__title"]', { timeout: 10000 }).catch(() => null) await page.pause() - if (!await page.$('[data-qa="profileAndResumes-button"]')) { + if (!await page.$('[data-qa="applicantProfileMe-button"]')) { return { ...results, error: 'Не авторизован. Выполните login' } } + // if (!await page.$('[data-qa="profileAndResumes-button"]')) { + // return { ...results, error: 'Не авторизован. Выполните login' } + // } await status('✅ Авторизация выполнена')