/bazaraki-scrapper-bot

Bazaraki ads scrapper & notifier, written on python

Primary LanguagePython

Bazaraki Scrapper Bot

A simple Telegram bot, which automates search routine in Cyprus by polling www.bazaraki.com for new ads every 5 minutes.


Features

  • Cars advertisements in Cyprus;
  • Properties to rent advertisements in Cyprus;

Usage

Telegram

Deployment

Build docker image

$ docker build -t bazaraki-scrapper-bot .

Create .env file

token=<Telegram Bot Token> # obtain it from @botfather
port=<PORT> # opened port on your machine for webhook
url=<URL> # public url of host machine (e.g. https://37.139.43.8
cert=<CERT_PATH> # path to .pem file with certificates
key=<KEY_PATH> # path to .key secret

Run

$ docker run --rm -d --env-file your-env-file.env -p <port>:<port> bazaraki-scrapper-bot