Python, Html & CSS web scraping project to compare products on different e-commerce websites and display them on our own website.
In setup, you have to install Flask & BeautifulSoup. Set up a virtual environment having all the required dependencies. Everything is explained on the Flask website ⬇️
Here is quick setup in Windows and Linux/Mac os . First go to any desired directory :
git clone https://github.com/kosspbl/comparatea
cd comparatea
Now we have successfully cloned the directory on our local system. After this let's create a virtual environment to install all the python libraries.
- On Linux/ Mac OS:
python3 -m venv venv
. venv/bin/activate
- On Windows
py -3 -m venv venv
venv\Scripts\activate
Now we can install all the dependencies / libraries.
pip install Flask bs4 requests lxml
Or
pip install -r requirements.txt
- Running : Simply run the app.py python file...
python3 app.py
Or
flask run
That's it! Now the web application would be deployed on your local server.