feat: capture external ATS URLs + analyze_ats.mjs to rank platforms by job count

This commit is contained in:
2026-03-06 00:26:28 +00:00
parent 57232a2565
commit 58c2ad5295
3 changed files with 105 additions and 5 deletions

View File

@@ -170,12 +170,15 @@ async function handleResult(job, result, results, settings) {
results.skipped_recruiter++;
break;
case 'skipped_external_unsupported':
console.log(` ⏭️ Skipped — external ATS (not yet supported)`);
updateJobStatus(job.id, 'skipped_external_unsupported', { title, company });
appendLog({ ...job, title, company, status: 'skipped_external_unsupported' });
case 'skipped_external_unsupported': {
const atsUrl = result.externalUrl || '';
const atsDomain = atsUrl ? (new URL(atsUrl).hostname.replace('www.', '').split('.')[0]) : 'unknown';
console.log(` ⏭️ Skipped — external ATS: ${atsDomain || 'unknown'}`);
updateJobStatus(job.id, 'skipped_external_unsupported', { title, company, ats_url: atsUrl, ats_platform: atsDomain });
appendLog({ ...job, title, company, status: 'skipped_external_unsupported', ats_url: atsUrl, ats_platform: atsDomain });
results.skipped_external++;
break;
}
case 'skipped_easy_apply_unsupported':
case 'no_easy_apply':