Rate limit only stops LinkedIn, continues other platforms

Don't break the entire run when LinkedIn rate limits — skip LinkedIn
jobs and continue to Wellfound and other platforms.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 17:55:02 -08:00
parent 331408be41
commit 374b2e6640

View File

@@ -243,8 +243,8 @@ async function main() {
await browser?.browser?.close().catch(() => {}); await browser?.browser?.close().catch(() => {});
} }
if (results.rate_limited) { if (results.rate_limited) {
await sendTelegram(settings, `⚠️ *LinkedIn Easy Apply daily limit reached* — stopping all applications until tomorrow.`).catch(() => {}); await sendTelegram(settings, `⚠️ *LinkedIn Easy Apply daily limit reached* — skipping LinkedIn, continuing other platforms.`).catch(() => {});
break; results.rate_limited = false; // Reset so other platforms can proceed
} }
} }