Scrap fresh rent ads from https://www.otodom.pl/ and https://www.olx.pl/ and send updates into Telegram private chat.
Installed Docker
- Register new bot with BotFather: https://core.telegram.org/bots#3-how-do-i-create-a-bot
- Write msg to bot to identify chat_id
- Setup OTODOM_SEARCH_URL
Line 8 in c2ed417
Line 9 in c2ed417
- Setup TELEGRAM_BOT_ID and TELEGRAM_BOT_TOKEN for TELEGRAM_SEND_MSG_URL
Line 10 in ca56ff6
- Setup TELEGRAM_CHAT_ID
Line 11 in ca56ff6
- Build and run container with scrapper:
docker run --rm -it $(docker build -q .)