Last active
February 9, 2019 14:10
-
-
Save khunreus/3274a24095c6a16aafcdc1d45753d995 to your computer and use it in GitHub Desktop.
airbnb scraping sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Command line | |
pip install scrapy | |
pip install selenium | |
#cd your/desired/project/path/ | |
scrapy startproject airbnb #will create a project "airbnb" in the folder you are in | |
cd airbnb/ #need to cd to a folder with a scrapy.cfg file | |
#this is the test address to kick off the project | |
#homes.py created in airbnb/airbnb/spiders/ | |
scrapy genspider homes 'https://www.airbnb.ae' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment