A Python automation toolkit for managing browser sessions and automating various website interactions using Playwright/Selenium.
- Requirements
- Installation
- Available Modules
- General Usage
- Module-Specific Instructions
- Testing
- Scheduling Using Task Scheduler
- Troubleshooting
- Coming Soon
- Python 3.7+ - Download and install if not already installed
- pip - Package installer (usually comes with Python)
- Chrome browser
- Internet connection
- Clone the repository:
git clone https://github.com/Syedmahmood777/Scripts.git
- Navigate to the scripts directory:
cd scripts
- Install the required dependencies:
pip install -r requirements.txt
- Install Playwright browsers:
python -m playwright install
Automatically updates your resume on Naukri.com at scheduled intervals to improve visibility and ranking.
Status: ✅ Available
Cookie Collector saves all your browser sessions, so automation doesn't require you to log in every time it runs. This makes the process seamless and efficient.
-
Create Browser Profile: You must log in to all accounts you want to use on every website. Your session data will be saved under
.profiles
directory using the profile name you specify. -
Run the Cookie Collector:
python cookie_collector.py your_profile_name https://www.naukri.com
- Login Process: After running the script, log in to your account through the automated browser window.
-
Get Your Profile URL:
-
Navigate to the page where you can see your profile and the "Update Resume" button
-
Copy the complete URL from the address bar (it should be like 'https://www.naukri.com/mnjuser/profile?id=&altresid' )
-
Configure the Script: Open
update_naukri.py
and update the following 4 fields:
# 1. Profile Directory Path
PROFILE_DIR = Path("YOUR_ABSOLUTE_PROFILE_PATH_HERE")
# 2. Your Naukri Profile URL
await page.goto("https://www.naukri.com/mnjuser/profile?id=&altresid", timeout=60_000)
# Replace with the profile URL you copied from your Naukri profile
# 3. Resume File Paths
resume_files = [
rf"C:\Users\syedm\Downloads\Syed_NCV.pdf",
rf"C:\Users\syedm\Downloads\Syed_SE.pdf"
]
# Add your resume paths here. You can have multiple resumes to choose from,
# or just keep one path in the list
# 4. Log File Path
log_path = rf"C:\Users\syedm\OneDrive\Desktop\Scripts\log.txt"
# Path to your log file. Should be in the same folder as the script.
# Copy the path to your root folder and add 'log.txt' at the end
Important: Make sure all paths are absolute (full paths) rather than relative paths.
Run the following command to test the Naukri module:
python update_naukri.py
- Click on the Start Menu
- Type "Task Scheduler" in the search bar
- Click on "Task Scheduler" when it appears
- Press Win + R to open the Run dialog
- Type
taskschd.msc
and press Enter
- In the Task Scheduler window, look at the Actions panel on the right side
- Click on "Create Task" (not "Create Basic Task")
- In the General tab, enter a descriptive name for your task (e.g., "Naukri Profile Updater")
- Add a description (optional but recommended)
- Click on the "Triggers" tab
- Click "New..." button to create a new trigger
- In the New Trigger dialog:
- Set "Begin the task" to "On a schedule"
- Choose "Daily" for daily execution
- Set your Start date and time
- Under Advanced settings, check "Repeat task every"
- Set the interval (e.g., 1 hour, 2 hours, etc.)
- Click "OK" to save the trigger
- Click on the "Actions" tab
- Click "New..." to create a new action
- In the New Action dialog:
- Keep Action as "Start a program"
- Click "Browse..." next to Program/script field
-
Navigate to your Python installation directory:
C:\Python313\python.exe
C:\Users\[YourUsername]\AppData\Local\Programs\Python\Python313\python.exe
-
Select
python.exe
and click "Open"
-
In the "Add arguments (optional)" field, enter the full path to your Python script:
"C:\path\to\your\update_naukri.py"
-
In the "Start in (optional)" field, enter the directory containing your script:
C:\path\to\your\
- Click "OK" to save the action
- Click "OK" to create the task
- In the Task Scheduler Library, find your newly created task
- Click on the task name
- Select "Run" to test immediately
- Check the "log.txt" to verify success
- Login Issues: If you're prompted to log in repeatedly, ensure your profile was saved correctly during the initial setup
- Path Errors: Double-check that all file paths are absolute and the files exist
- Browser Issues: Make sure Chrome is installed and up to date
- Network Issues: Ensure stable internet connection during automation
- LinkedIn Job Scrape 🔄
- Job Classifier 🔄
This project is for educational and personal use only. Please respect the terms of service of the websites you're automating.
Note: Always ensure you comply with the terms of service of the websites you're automating. This tool is intended for legitimate personal use only.