Naukri Automation Bot
100% automated profile updates bypassing OTPs with session reuse. Zero cold starts on Render free tier.
Before
Manual daily logins & uploads
After
Fully automated 2x daily uploads
Authentication
Session Cookies (OTP Bypass)
The Problem
Keeping a Naukri profile active and visible to recruiters requires daily manual resume uploads. It's an easy-to-forget, repetitive task. Previous automation attempts failed due to frequent OTP challenges and bot detection mechanisms on the platform.
The Solution
Developed an automated Python bot that runs 24/7 on Render's free tier. It performs headless browser automation to update the resume on a scheduled basis, effectively bypassing bot detection.
- Session Persistence: Exported established session cookies to an environment variable, completely bypassing future login screens and OTP prompts.
- Always-On Mechanism: Combined a background HTTP server and an external cron job ping to prevent the free Render instance from sleeping.
Architecture
The system consists of a Python headless browser navigating the site and a background HTTP daemon keeping the container alive.
Key Incidents & Learnings
OOM (Out-Of-Memory) Crashes
Issue: Chrome WebDriver crashing on Render's 512MB RAM cap.
Resolution: Configured memory-saving Chrome flags and added exponential backoff on transient failures. Headless browsers are highly memory-intensive—catching driver exceptions gracefully is critical in constrained cloud instances.
Unexpected OTP Prompts
Issue: Job uploads failing due to automated browser detection.
Resolution: Engineered session extraction and base64 cookie injection. Repeated automated logins inevitably face bot detection—session persistence is mandatory for reliable long-term headless tasks.