Add dedicated 'closed' status for listings no longer accepting applications

Distinguishes closed listings from missing apply buttons. Shows in summary
as a separate line item.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 13:23:39 -08:00
parent 97aa8472aa
commit 094824abb2
4 changed files with 11 additions and 3 deletions

View File

@@ -304,6 +304,13 @@ async function handleResult(job, result, results, settings, profile, apiKey) {
break;
}
case 'closed':
console.log(` 🚫 Closed — no longer accepting applications`);
updateJobStatus(job.id, 'closed', { title, company });
appendLog({ ...job, title, company, status: 'closed' });
results.closed = (results.closed || 0) + 1;
break;
case 'no_modal':
case 'skipped_no_apply':
case 'skipped_easy_apply_unsupported':