Looks for new flats in Odessa and notify in the telegram through the bot
Simple python script which can be running by crontab every 30 minutes for instance, looking up about new flats in Odessa and notifying in the telegram through the bot. The script is looking for apartments that were added yesterday and today only.
python 3.6 or higher
pipenv
sqlite3
git clone https://github.com/digitalashes/olx-parser.git
cd olx-parser
cp env.example ./config/.env
config/.env
also if you want, you can uncomment and change others constants.pipenv install
pipenv shell main.py
and waiting messages.Crontab rule (every 30 minutes) - 0/30 * * * * <path to python interpritator> <path to file main.py>
https://www.olx.ua/
nedvizhimost
arenda-kvartir
dolgosrochnaya-arenda-kvartir
odessa
85
(Киевский), 199
(Коминтерновский), 87
(Малиновский), 89
(Приморский), 91
(Суворовский)2500
5000
1
1
True
False
['сегодня', 'вчера']