Telegram bot for check prices on apple products in several shops SpB and Moscow
1.Prepare environment variable
APPLEPRICEPARCER_TELEGRAMUSERNAME - telegram bot name username;
APPLEPRICEPARCER_TELEGRAMTOKEN - telegram bot token;
APPLEPRICEPARCER_DBPATH - path to DB file.
2.Print docker commands
$ docker build -t applepricesbot:latest .
Do not forget insert values for APPLEPRICEPARCER_TELEGRAMTOKEN and APPLEPRICEPARCER_DBPATH:
$ docker run --rm \
-e APPLEPRICEPARCER_TELEGRAMUSERNAME='' \
-e APPLEPRICEPARCER_TELEGRAMTOKEN='' \
-e APPLEPRICEPARCER_DBPATH='/app/data/database.db' \
--mount=type=bind,source="$(pwd)"/data,target=/app/data \
--name applepricesbot applepricesbot:latest
Print /start command after running bot service.
http://localhost:8080/swagger-ui.html
- internalization;
- more providers;
- concurrent screening.
Welcome!