Loading repository data…
Loading repository data…
AdityaGhate29 / repository
Web Scraper for Amazon Product Data Extraction 📊 Jupyter Notebook for iPhone search results to extract product names, prices, and ratings. Data is structured and saved into a CSV file. Includes Python code using BeautifulSoup, requests, and pandas for data extraction and processing.
This project is a Jupyter Notebook designed to scrape product information, including names, prices, and ratings, from Amazon's search results page for "iPhone." The extracted data is then stored in a structured format (CSV file) for easy analysis and use.
Web Scraping: Uses BeautifulSoup and requests to extract product data from Amazon. Data Storage: Extracted data is stored in a CSV file for easy access and analysis. Data Processing: Data is organized using pandas for further processing and manipulation.
Before running the notebook, ensure you have the following Python packages installed:
bash pip install requests beautifulsoup4 pandas
cd amazon-product-scraper
Open the Jupyter Notebook in your preferred environment (e.g., Jupyter Notebook, JupyterLab, VSCode, etc.) and run each cell step-by-step.
The notebook will fetch the first page of search results for "iPhone" on Amazon and extract product names, prices, and ratings.
The extracted data is saved in a CSV file named amazon_products.csv.
Disclaimer: Web scraping should be done responsibly and in compliance with the website's terms of service. This notebook is intended for educational purposes only. Amazon’s Anti-Scraping Measures: Amazon has measures in place to prevent automated scraping. If you encounter issues like CAPTCHAs or blocks, you may need to adjust your scraping strategy or use a service that handles these challenges.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! If you have any ideas, suggestions, or improvements, please create an issue or submit a pull request.
Inspired by the need to analyze product data from e-commerce websites. Thanks to the Python community for their excellent tools and libraries.