From b19cb683707cd765bd20b594cfd32d26ba5e1c4f Mon Sep 17 00:00:00 2001 From: Matthew Jackson Date: Fri, 6 Mar 2026 20:22:08 -0800 Subject: [PATCH] Skip already-visited unknown_external jobs in classifier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only classify jobs without an apply_url — those with one have already been visited and don't need re-classification. Co-Authored-By: Claude Opus 4.6 --- job_searcher.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job_searcher.mjs b/job_searcher.mjs index 0668055..a35f70f 100644 --- a/job_searcher.mjs +++ b/job_searcher.mjs @@ -204,7 +204,7 @@ async function main() { platformsRun.push('LinkedIn'); // Classify unknown_external jobs using the existing LinkedIn browser session - const unclassified = getJobsByStatus('new').filter(j => j.apply_type === 'unknown_external'); + const unclassified = getJobsByStatus('new').filter(j => j.apply_type === 'unknown_external' && !j.apply_url); if (unclassified.length > 0) { console.log(`\nšŸ” Classifying ${unclassified.length} external jobs...`); const { classified, remaining } = await classifyExternalJobs(liBrowser.page, unclassified, (job, applyType, applyUrl) => {