ποΈπ Simplify Amazon product review extraction with this Python script. By utilizing the requests
, pandas
, bs4
, and lxml
modules, the script effortlessly retrieves and parses HTML content from review pages.
The exported data follows this format:
Name | Stars | Title | Date | Description |
---|---|---|---|---|
Jeff | 4.0 | Rugged, good look and nice fit | 02/10/2018 | The short answer to if you should go down from... |
M. Burke | 5.0 | My Favorite Jacket | 19/04/2023 | I went through the most recent winter with thi... |
Jake | 4.0 | Decent shirt jacket | 27/04/2023 | Iβve been wearing this regularly for about an m... |
joe j | 4.0 | Not bad. It's a good light... | 05/04/2023 | It's not really a jacket and not really a overs... |
Jorge Risco | 5.0 | Muy buen material, abriga... | 24/05/2023 | Muy buen material, para mi que vivo en el sur . |
... |
- Python 3.9
- requests 2.31.0
- pandas 1.2.0
- bs4 0.0.1
- lxml 4.9.2
Before running the Funda Scraper, ensure that you have Python 3.9.7 installed on your system. To check the Python version, open a terminal (or command prompt) and enter the following command:
python --version
If Python 3.9.7 is not installed, you can download it from the official Python website: Python Downloads
Make sure to add Python to your system's PATH variable during the installation. Here's a helpful image to guide you:
- Clone the repository:
git clone https://github.com/kawsarlog/amazon-reviews-extraction.git
- Navigate to the project directory:
cd amazon-reviews-extraction
- Install the required dependencies:
pip install -r requirements.txt
-
Modify the script to specify the Amazon product URL and desired parameters.
-
Run the script by executing the following command:
python amazon_reviews_extraction.py
-
The extracted reviews will be saved in a CSV file.
For a detailed tutorial on how to use this script, please refer to the Amazon Reviews Extraction Tutorial.
For any questions or feedback, feel free to reach out:
- Email: [email protected]
- Website: kawsarlog.com
Note: This script should be used responsibly and in compliance with Amazon's Terms of Service. The script is for educational purposes only.