A Python web scraper for extracting real estate agent information from Zillow.
pip install -r requirements.txtStep 1: Get Agent URLs
python agent.py- Enter ZIP code
- Enter starting page number
- Output:
agents_{zipcode}.csv
Step 2: Get Agent Details
python agent_item.py- Enter CSV filename (without .csv)
- Output:
agents_data.csv
- Headshot URL
- Sales statistics
- Rental information
- License number
Update proxy credentials in both scripts if needed:
proxy_host = 'us-pr.oxylabs.io'
proxy_port = 10000
username = 'your_username'
password = 'your_password'For educational purposes only. Review Zillow's Terms of Service before use.