Skip to content

A Flask App which compares the price of a product on Amazon and Snapdeal

Notifications You must be signed in to change notification settings

nishitanand/Amazon_Snapdeal_Price_Comparison_Flask_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon Snapdeal Price Comparison Flask App

This is a Flask App for Comparing the price of a product on Amazon and Snapdeal.

First open localhost:8000/search and then enter the name of the product which you want to search.

The program then uses BeautifulSoup library and Requests Library and does web scrapping on the Snapdeal and Amazon website.

Then the program scrapes the websites of Snapdeal and Amazon and finds the top results from the website and stores them using Lists and Dictionary data structure of Python

The program then redirects you to localhost:8000/result and displays the results of Snapdeal and then of Amazon in a table.

The program also uses routing to to redirect you to different web pages of the app like home page, search page and results page

To use it, first write this command in the command line

pip install -r requirements.txt

or (for Mac)

pip3 install -r requirements.txt

and then to run the file write

python app.py

or (for Mac)

python3 app.py

Then open any web browser and go to localhost:8000/search and enter name of the product that you want to search. You will be redirected to localhost:8000/result and Snapdeal and Amazon search results will be shown to you for that product.

About

A Flask App which compares the price of a product on Amazon and Snapdeal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published