Skip to content

Scrape TripAdvisor for reviews of Italian hotels.

Notifications You must be signed in to change notification settings

gabridego/tripadvisor-scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

TripAdvisor scraper for Italian hotels

Scrape TripAdvisor for reviews of Italian hotels with rating labels. Marks a review as positive if it has at least three stars, negative otherwise.
Updated on January 2020.

Dependencies

Usage

Open the file and specify the path to your webdriver.
To run:

python tripAdvisorScraper.py

To change hotel, open the file and change the url in main().
To limit the number of scraped reviews, edit max_rev.
Augment the sleep time if you have a slow internet connection.

The .csv file contains an output example.

About

Scrape TripAdvisor for reviews of Italian hotels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%