This web scraper finds the cheapest hotel prices in Vegas
pip3 install bs4
pip3 install flask
pip3 install sqlalchemy
pip3 install selenium
You'll need Chrome Drivers installed somewhere or Selenium will fail. just follow this stack overflow page https://stackoverflow.com/questions/13724778/how-to-run-selenium-webdriver-test-cases-in-chrome
First run the database script to create a sqlite db to store the data in
python3 database_setup.py
Next run the vegas script, this will scrape each of the supported hotels. While this is running chrome will open in the background.
python3 hotel/vegas.py
Last run the webpage scrip
python3 webpage.py
Cheapest for a month -- In the example below 11 = the month (November), and the 4 is the number of day you want to stay.
localhost:5000/cheapest/11/4
Cheapest for all months -- In the example below 4 = the number of days, this will look though every data in the database
localhost:5000/all/4