Skip to content
Scrape apartments from websites searches and upload them in a google spreadsheet
Python
Latest commit ae8360d Sep 16, 2012 @pomber add Iccaweb scraper
Failed to load latest commit information.
deptoscraper add Iccaweb scraper Sep 16, 2012
.gitignore
README.md updated readme Sep 16, 2012
config.py local cache for already saved ids Sep 16, 2012
requirements.txt missing files Sep 9, 2012
scrap.py add Iccaweb scraper Sep 17, 2012

README.md

This is a script for scraping apartments for rent from different websites and put them in a google docs spreadsheet. It takes a search url as a parameter and upload the new apartments (compared with previous runs) to the spreadsheet.

The code may be a bit messy and with some spanglish words ("depto" means apartment) but some people asked me to see the code so here it is.

It uses the following libraries:
Beautiful Soup 4
mechanize
gspread

For using it, first you need to have a google docs spreadsheet like this, then set your google account info in config.py. Then you only need to pass a search url as a parameter to scrap.py, for example:
python scrap.py http://propiedades.zonaprop.com.ar/alquiler-departamentos-4-amb/ncZ1_tdZtipo-departamento-otro_opZtipo-operacion-alquiler_caZcantidad-ambientes-4_agZ1+3_formatZlist_soZempdesc

The current version only supports two argentinian websites, www.argenprop.com and zonaprop.com.ar, but it can be easily modified to support other websites.

Something went wrong with that request. Please try again.