drapek / olx_monitor

Monitor olx offers and send email on new offer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This project is for monitoring olx offers lists specified by input url with search queryname. See .config.example file for the example usage. This is a little messy Python code (written in 3h).

Important notices

This is tested only on polish versions of portals like olx, otomoto, otodom

Version

This code needs at least Python 3.6 because it uses f-strings.

Start project

Before starting the project you need to fill required variables.

  1. Create .env file based on provided example .env.example
  2. Update persistent/searchconfig.yaml according to your needs

Option 1

Install docker and docker-compose and run:

docker-compose up

Option 2

  1. create virtualenv
pyton3 -m venv .venv
  1. source to the virtualenv
source .venv/bin/active
  1. start the project
cd src
python3 main.py

About

Monitor olx offers and send email on new offer.


Languages

Language:HTML 94.4%Language:Python 3.0%Language:JavaScript 2.6%Language:Dockerfile 0.0%Language:Shell 0.0%