From 7868f100ceb9f75cfe566eddf64e761dbc487957 Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Sat, 26 Apr 2025 19:20:29 +0800 Subject: [PATCH] chang url of recommend job page --- packages/geek-auto-start-chat-with-boss/index.mjs | 2 +- packages/ui/src/main/flow/LAUNCH_BOSS_SITE/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/geek-auto-start-chat-with-boss/index.mjs b/packages/geek-auto-start-chat-with-boss/index.mjs index c358ac4..334414f 100644 --- a/packages/geek-auto-start-chat-with-boss/index.mjs +++ b/packages/geek-auto-start-chat-with-boss/index.mjs @@ -96,7 +96,7 @@ if ( } const localStoragePageUrl = `https://www.zhipin.com/desktop/` -const recommendJobPageUrl = `https://www.zhipin.com/web/geek/job-recommend` +const recommendJobPageUrl = `https://www.zhipin.com/web/geek/jobs` const expectCompanySet = new Set(targetCompanyList) const enableCompanyAllowList = Boolean(expectCompanySet.size) diff --git a/packages/ui/src/main/flow/LAUNCH_BOSS_SITE/index.ts b/packages/ui/src/main/flow/LAUNCH_BOSS_SITE/index.ts index 03eb2e8..36a7c51 100644 --- a/packages/ui/src/main/flow/LAUNCH_BOSS_SITE/index.ts +++ b/packages/ui/src/main/flow/LAUNCH_BOSS_SITE/index.ts @@ -59,7 +59,7 @@ const attachRequestsListener = async (target: Target) => { } await writeStorageFile('job-not-suit-reason-code-to-text-cache.json', reasonCodeToTextMap) } else if ( - page.url().startsWith('https://www.zhipin.com/web/geek/job-recommend') && + page.url().startsWith('https://www.zhipin.com/web/geek/jobs') && response.url().startsWith('https://www.zhipin.com/wapi/zpgeek/negativefeedback/save.json') ) { const currentJobData = await page.evaluate( @@ -106,7 +106,7 @@ const attachRequestsListener = async (target: Target) => { markDetail ) } else if ( - page.url().startsWith('https://www.zhipin.com/web/geek/job-recommend') && + page.url().startsWith('https://www.zhipin.com/web/geek/jobs') && response.url().startsWith('https://www.zhipin.com/wapi/zpgeek/friend/add.json') ) { const request = response.request().url()