Skip to content

yobro2033/coursework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Price Checker
A web application to search for input products across several supermarkets' e-commerce to return price, detail of products.

Preview

PriceChecker
Due to the limited of the web server hosted, some modules will not be available including Asda, Ocado etc

Chromedriver

ChromeDriver
You will need to download corresponding Chromedriver to your chrome version by checking this link chrome://version. After installed, you will need to get the path of that ChromeDriver and replace it to the current path inside following file:

- modules folder, ocado.py;
- offers folder, ocadooffers.py and asdaoffers.py;

Dependencies

Requirements
Please make sure to install the following packages in order to run this application:

Flask
pyrebase
Wekzeug
requests
beautifulsoup4
urllib3
selenium

pip install -r requirements.txt

Features

Store Modules
An application will attempt to search input products across 6 main supermarkets' in the UK including Sainsburys, Tesco, Iceland, Morrisons, Asda and Ocado.

Offers
The application will also attempt to scrape various offers from supermarkets.

Wishlist
Wishlist module will provide an option for users to save favourite items in a list that temporarily saved in a json file. Within this module, the application will also perform a calculation to sum up the total price within the list.

HotDeals
Attempt to scrape the deals from third party (HotdealsUK) and filter with keywords from user input. Compatible with multiple inputs.

Databse

Authentication API
Applying the REST API of pyrebase from Firebase to integrate the authentication to this application.

Notes

VPN/ IP address
Ensure you do not use any VPN or proxy as some website get blocked from using proxy such as Sainsburys or Iceland.

About

A web application to search for input products across several supermarkets' e-commerce to return price, detail of products running on Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published