Skip to content

Instantly share code, notes, and snippets.

@scrapehero
scrapehero / zillow.py
Last active August 12, 2026 19:59
Python 3 script to find real estate listings of properties up for sale on zillow.com
from lxml import html
import requests
import unicodecsv as csv
import argparse
import json
def clean(text):
if text:
return ' '.join(' '.join(text).split())