This script automatically updates your Naukri profile resume using a PDF stored on Google Drive.
- Login to Naukri
- Download resume from Google Drive
- Upload resume to Naukri
- Update profile automatically
- Can be used with cron jobs
pip install requestsOpen the script and fill:
username = "your_email"
password = "your_password"
file_id = "your_google_drive_file_id"
form_key = "your_form_key"
filename = "" # optional- Go to Google Drive
- Upload your resume PDF
- Right click β Get Link
- Make it Anyone with the link can view
- Copy the link
Example link:
https://drive.google.com/file/d/1ABCxyz123/view?usp=sharing
π Your file_id is:
1ABCxyz123
This is required for upload to work.
-
Open Naukri and login
-
Open DevTools (F12)
-
Go to Network tab
-
Upload resume manually once
-
Look for a request named:
filevalidation.naukri.com/file -
Click it β go to Payload / Form Data
-
Find:
formKey: Fxxxxxxxxxxxx
π Copy that value and paste into:
form_key = "Fxxxxxxxxxxxx"Run the script:
python script.pyRun every day at 10 AM:
0 10 * * * python /path/to/script.py- Resume must be PDF
- Google Drive file must be public
- Do not share your credentials
On success:
{
"success": true,
"message": "Resume updated successfully"
}