doke93 / Product_review_scraping

The goal of this project is to scrap customer reviews from amazon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Output Screenshot

App Screenshot

Objectives 🎯

The goal of this project is to scrap customer reviews from amazon

Problem Statement ❓

  • You can use this data to analyze the product
  • Discover insights into consumer reviews

Programming Language 🐍

Python

Python Libraries πŸ“€

  • Splash
  • BeautifulSoup
  • Requests
  • Pandas

Domain πŸ₯

Python Development

Tools πŸ› 

  • Visual Studio Code

Steps

  • Splash is a lightweight browser, has a HTTP API built in where we can send our request and it returns the information

  • Install docker sudo apt install docker*

  • Install Splash sudo docker pull scrapinghub/splash

  • Start Splah service in docker sudo docker run -p 8050:8050 -p 5023:5023 scrapinghub/splash

  • Import Python Libraries

import requests
from bs4 import BeautifulSoup
import pandas as pd

Parse Data Review Function Loop

  • Save the data into DataFrame
df = pd.DataFrame(reviewlist)
df.to_excel('Maono AU-MH601 Professional.xlsx', index=False)

About

The goal of this project is to scrap customer reviews from amazon


Languages

Language:Python 100.0%