Skip to content

Instantly share code, notes, and snippets.

View gajoseph's full-sized avatar

George @ Joseph gajoseph

View GitHub Profile
@gajoseph
gajoseph / zillow.py
Created September 29, 2018 16:14 — forked from scrapehero/zillow.py
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
def parse(zipcode,filter=None):
if filter=="newest":
url = "https://www.zillow.com/homes/for_sale/{0}/0_singlestory/days_sort".format(zipcode)
elif filter == "cheapest":