这是indexloc提供的服务,不要输入任何密码
Skip to content

This Python script scrapes hotel bulkdata from Booking.com and saves it into an Excel file. It uses BeautifulSoup for parsing HTML and colorama for colored terminal outpu

Notifications You must be signed in to change notification settings

tr4m0ryp/Booking.com_Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Booking.com Hotel Scraper

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.

Features

  • 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

Requirements

  • Python 3.x
  • Requests
  • BeautifulSoup4
  • Pandas
  • Colorama

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/booking-scraper.git
cd booking-scraper
  1. Install the required packages:
pip install -r requirements.txt

Usage

Run the script using Python:

python scraper.py

The script will scrape the hotel data and save it into hotels.xlsx.

About

This Python script scrapes hotel bulkdata from Booking.com and saves it into an Excel file. It uses BeautifulSoup for parsing HTML and colorama for colored terminal outpu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages