Assists the searching of new entries for a specific search in Airbnb
Python PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
crawlAirbnb
db_schema
presentation
.gitignore
README
scrapy.cfg
settings.cfg.example

README

###Airbnb alerts###

This mini project aims to assist the searching of new entries for a specific search in airbnb

Requirements
------------
-Python 2.7 
-Scrapy (get it from http://scrapy.org/)
-MySQL
-Server that supports PhP, like Apache Tomcat.

Code package usage
------------------
1.Run the .sql dump file on the MySQL instance in order to create the appropriate schema and tables. 
2.Put the .php file located at the presentation folder on the server (e.g. Tomcat).
3.Navigate in the airbnb website and formulate the search that you want to monitor.
4.Setup the config.php.example and the settings.cfg.example with the database credentials. In the settings.cfg add the search URL of step 3.
5.Remove the .example suffix from the config.php and settings.cfg files.
6.Run the Python script. It crawls the search page and pushes the results in the db.
7.Open the airbnb_alerts.php and see the collected results.

Notes
-----
When you want to check about new entries you have to re-run the steps 6 and 7.

#EOF