Python Prompts Free Prompt

Python Script to Scrape Job Listings from LinkedIn

Write a Python script to scrape job listings from LinkedIn using Selenium
☆ Save
Prompt
You are a Python developer. Write a script that scrapes job postings from LinkedIn based on keywords and location. Use Selenium to handle dynamic content. The script must: 1) Accept search terms and location as input, 2) Log in to LinkedIn (credentials required), 3) Extract job title, company, location, description, date, 4) Handle pagination, 5) Save data to CSV, 6) Respect robots.txt and add delays, 7) Handle anti-scraping measures (rotate user agents, proxies). Add comments and instructions.

How to use this prompt

1
Click Copy Prompt above to copy to your clipboard.
2
Open ChatGPT, Claude, Gemini, or any AI assistant and paste the prompt.
3
Replace any [PLACEHOLDER] values with your specific details.
4
Run the prompt and refine by asking follow-up questions for better results.