Flask-based Python application which allows browsing the advertisements directly from OLX.
Currently, category filtration and keyword search + pagination of the results are implemented.
Previously discovered results are stored in PostgreSQL database, so that they are not repeatedly pulled from OLX when searching by the same category/keyword.
- Python;
- Flask;
- requests;
- BeautfilSoup4;
- PostgreSQL;
- Docker
- Git CLI;
- Docker/Docker Desktop installed on your local machine.
- Clone this repo to the desired directory:
git clone <repo_link>
; - Navigate to the
flaskOlx
subdirectoryLcd flaskOlx
; - Copy the contents of
src/.env.example
to.src/.env
; also copydb.env.example
todb.env
; - Build the project with
docker-compose build
; - Run the project with
docker-compose up
; - Open your browser and go to
localhost:5000
; - Enjoy!