This is simple scraper that uses Playwright to extract data from Booking.com
This example is made for educational purposese.
This scrapit is easy to customize.
check both Excel & CSV files (hotels_list) to see how final data will look like.
-
(Optional: create & activate a virtual environment)
virtualenv venv, thensource venv/bin/activate -
pip install -r requirements.txt -
playwright install chromium
python3 booking_scraper.py
- Set
checkin_dateandcheckout_datein the future.