journey-finder

Description

A python script that allows the user to scrape 150+ Points of Interest and Restaurant data from Tripadvisor.com through the use of Chrome Driver. Once the location is confirmed, the automated driver will go to Trip Advisor and scrape and compile data, outputting an Excel file in the files directory.

Requirements

Python 3, Google Chrome Browser, Chrome Driver, Selenium and Openpyxl libraries for Python

Installation

Use pip install selenium and pip install openpyxl to download packages.

ChromeDriver is also required. For installation, click HERE for instructions.
After ChromeDriver installation, navigate to journeyFinder.py and change the PATH variable to the filepath where ChromeDriver is installed on your local machine

Execution

Webscraper

To run, input python3 journeyFinder.py in terminal.
The script will then prompt you to input a city name followed by a country or state. Following this input format is optional, but will provide more accurate results.

CSV Converter

To run, input python3 excel_to_csv.py in terminal. You will need to provide the name of the file to convert, which will be in files.