In this project, I have done web scraping on Flipkart website using Python. I have used BeautifulSoup and requests libraries to scrape the data. I have extracted the product name, price, rating, and reviews of the product. I have also stored the data in a CSV file.
- BeautifulSoup
- requests
- pandas
- flipkart_web_scraping.ipynb This file contains the code for web scraping on Flipkart website.
- laptop_data.csv This file contains the data extracted from the Flipkart website.
- cleaning_data.ipynb This file contains the code for cleaning the data.
- cleaned_data.csv This file contains the cleaned data.
- Send an HTTP request to the URL of the webpage you want to access.
- Parse the HTML content of the page to extract the data.
- Store the data in a CSV file.
- Clean the data by doing some preprocessing.
- Save the cleaned data in a CSV file.
Use the package manager pip to install the required libraries.
pip install requests
pip install BeautifulSoup4
pip install pandas