This is a Python script that scrapes product information from Amazon.com using Selenium and requests libraries. It can extract the following data for any product:
- Title
- Price
- Rating
- Number of reviews
- Availability
To run this script, you need to have Python 3 installed on your system. You also need to install the following packages:
- Pandas:
pip install pandas
- Selenium:
pip install selenium
- Tqdm:
pip install tqdm
- You can alternatively install the requirements.txt file containing all three packages:
pip install requirements.txt
To use this script, you need to provide a valid csv file containing Amazon Product Page URLs.
The script will then scrape the product information and save it as a CSV file in the same directory.
This script is for educational purposes only. Please do not use it for commercial or malicious purposes. Please respect the terms of service and robots.txt of Amazon.com. I am not responsible for any consequences of using this script.