Skip to content

accelerate-dm/apply-naukri-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apply Naukri Bot

This project automates the job application process on Naukri.com using Puppeteer and Cypress.

Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/apply-naukri-bot.git
    cd apply-naukri-bot
  2. Install dependencies:

    npm install
  3. Create a .env file in the root of the project directory and add your credentials and job search parameters:

    NAUKRI_USERNAME=your-email@example.com
    NAUKRI_PASSWORD=yourpassword
    JOB_KEYWORDS=your-job-keywords
    JOB_LOCATION=your-job-location
    
  4. Ensure the .env file is added to .gitignore to prevent sensitive information from being pushed to the repository:

    # .gitignore
    .env
    
  5. Fetch job links using Cypress:

    npx cypress open
    • Run the fetchJobs.js script to save job URLs to cypress/fixtures/internalSiteJobs.json.
  6. Apply for jobs using Puppeteer:

    node applyJobs.js

Usage

  • The script logs in to Naukri.com using the credentials provided in the .env file.
  • It fetches job URLs based on the specified keywords and location.
  • It then navigates to each job URL and applies for the job.

Scripts

fetchJobs.js

This script logs in to Naukri.com and fetches job links based on the keywords and location specified in the .env file. The job links are saved to cypress/fixtures/internalSiteJobs.json.

applyJobs.js

This script reads the job links from cypress/fixtures/internalSiteJobs.json, logs in to Naukri.com, and applies for each job.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published