Skip to content

NK278/web_Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

web_Scrapper


Flask Web Scraping Application

This Flask application performs web scraping on Flipkart to retrieve product reviews based on user input. It utilizes the Flask web framework, Beautiful Soup for web scraping, and requests for making HTTP requests.

Getting Started

Prerequisites

Make sure you have the following dependencies installed:

  • Flask
  • Flask-CORS
  • requests
  • BeautifulSoup4

You can install them using the following command:

pip install -r requirements.txt

Running the Application

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repo.git
  2. Navigate to the project directory:

    cd your-repo
  3. Run the Flask application:

    python your_app_file.py

    Replace your_app_file.py with the name of your Flask application file.

  4. Open your web browser and go to http://localhost:5000/ to access the application.

Usage

  1. Access the homepage by visiting http://localhost:5000/.

  2. Enter the product or content you want to search for in the provided input field.

  3. Click the "Search" button.

  4. The application will fetch reviews from Flipkart based on the provided input and display the results.

Features

  • Homepage: Provides a simple user interface with an input field to enter the search query.

  • Review Page: Retrieves reviews from Flipkart for the specified product and displays them on the results page.

  • Logging: The application logs relevant information, including any errors encountered during the scraping process, into a log file (scrapper.log).

Issues and Contributions

Feel free to open issues or contribute to the project by submitting pull requests. Your feedback and contributions are welcome!


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published