Skip to content

Discover 'Yelp Review Scraper', a smart tool that takes your favorite restaurants and serves up insightful summaries based on Yelp reviews. This automated solution goes beyond simple data collection by generating comprehensive summary reports that help you make more informed dining choices.

License

Notifications You must be signed in to change notification settings

panagiotisgia/Yelp_Review_Summarization

Repository files navigation

Yelp | Web Scrape | Automated Report Creation

This repository contains two Python scripts that allow you to scrape Yelp for restaurant reviews and generate a report in the form of a PDF. These scripts are written in Jupyter notebook and are intended for personal use.

Table of Contents

  1. About The Project
  2. Installation
  3. Usage
  4. License

About The Project

This project consists of two parts:

  1. Yelp Scrape Function.ipynb - This script is used to scrape Yelp for the top 10 restaurants based on your specified food and city. The script then generates a CSV file containing metadata for the first restaurant on the list along with all its reviews.

  2. Yelp Summarize Function.ipynb - This script reads the previously generated CSV file and creates a PDF report based on the restaurant metadata and its reviews.

Installation

To get started, clone the repository using this command:

git clone https://github.com/panagiotisgia/Yelp_Review_Summarization.git

Usage

Run Yelp Scrape Function.ipynb in Jupyter Notebook. This script will prompt you to enter your desired food and city. Upon execution, it will create a CSV file with metadata of the top-rated restaurant regarding the input food and city along with all its reviews.

After the CSV is created, run Yelp Summarize Function.ipynb. This script will read the CSV file and generate a PDF report containing metadata about the restaurant and its reviews.

Here is a sample output of the PDF report:
(Food: Indian Food, City: London)

Sample Output

To download the full PDF report, click here.

License

This project is licensed under the Apache License 2.0. This is a permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.

For more information, see the LICENSE file in this repository or visit Apache License 2.0.

About

Discover 'Yelp Review Scraper', a smart tool that takes your favorite restaurants and serves up insightful summaries based on Yelp reviews. This automated solution goes beyond simple data collection by generating comprehensive summary reports that help you make more informed dining choices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages