Skip to content

A1bhishekk/Flipkart---Scraper

Repository files navigation

Flipkart Scraper (E-Commerce 🛍️ Website)

This is a Python script that scrapes product details from Flipkart.com. It uses the Beautiful Soup library to parse the HTML of the website and extract the required information.

Web Scraping

Sample data :

Download Sample Data

Features :

  • Scrapes product details from Flipkart.com
  • Saves the data in a CSV file

Prerequisites :

Before running the script, make sure you have the following installed:

Setup :

1. Clone the Repository

If you haven't already, clone this repository to your local machine:

git clone https://github.com/A1bhishekk/Flipkart---Scraper.git

2. Create and Activate Virtual Environment (optional)

It is recommended that you create a virtual environment for this project before installing any dependencies. To create and activate a virtual environment, run the following commands:

cd your-repo
python -m venv venv

Activate the virtual environment:

For Windows (Command Prompt):

venv\Scripts\activate

For Windows (Powershell):

.\venv\Scripts\Activate

For Linux/MacOS:

source venv/bin/activate

3. Install Dependencies

Install the required Python packages:

pip install -r requirements.txt

4. Run the Script

Run the script using the following command:

python main.py

if you are beginner then you can run the script flipkart_scraper.py using the following command:

python flipkart_scraper.py

Follow any instructions or prompts provided by the script.

5. Deactivate the Virtual Environment

When you're done, deactivate the virtual environment:

deactivate

Author :

Contributing :

Contributions are welcome ! 🙏🙏 Please feel free to submit a Pull Request.

License :

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages