Python based script scrapes hotel data from Booking.com and saves it into an Excel file. It uses BeautifulSoup for parsing HTML and colorama for colored terminal output.
- Scrapes hotel name, location, and price from Booking.com
- Saves the data into an Excel file
- Displays the progress in a user-friendly manner in the terminal
- Python 3.x
- Requests
- BeautifulSoup4
- Pandas
- Colorama
- Clone the repository:
git clone https://github.com/yourusername/booking-scraper.git
cd booking-scraper- Install the required packages:
pip install -r requirements.txtRun the script using Python:
python scraper.pyThe script will scrape the hotel data and save it into hotels.xlsx.