Finding the best place to stay with Price/Review from Booking.com using web-scraping via a local web-app.
Aim to provide Price/Review Score of the places located in the specified city, when finding a place to stay in that city during a trip.
A lower Price/Review Score indicates that the place is not expensive, yet, with a great review score.
- Download docker-compose.yml file and place it in any directory of your choice.
- Find your User Agent:
- Go to https://www.whatismybrowser.com/detect/what-is-my-user-agent/
- Enter your User Agent into USER_AGENT environment variable inside docker-compose.yml
- Execute:
docker-compose up
- Navigate to http://localhost:5000/
- Press Ctrl + C in the terminal or stop the Docker container to stop the web app.
When filling the form, please use an abbreviation for currency
- For example, If the wanted currency is US Dollar, then enter USD in the currency tab.
Ticking Scrape Hotel Properties Only box in the form means that the scraper will scrape only places that are hotels. If not ticked, the scraper will scrape all places available through Booking.com in the specified city.
When filling the country part in the form, please enter the full name of the country. Don't use abbreviation.
Click here to read a brief docs of this codebase.