https://github.com/bendereg/slots-checker
Telegram bot checks if slots are availible
https://github.com/bendereg/slots-checker
apscheduler beutifulsoup dependency-injection docker-compose pydantic python redis
Last synced: 2 months ago
JSON representation
Telegram bot checks if slots are availible
- Host: GitHub
- URL: https://github.com/bendereg/slots-checker
- Owner: BenderEg
- Created: 2024-02-14T13:45:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-17T19:21:29.000Z (over 2 years ago)
- Last Synced: 2025-10-07T22:52:05.687Z (9 months ago)
- Topics: apscheduler, beutifulsoup, dependency-injection, docker-compose, pydantic, python, redis
- Language: Python
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
This bot helps to check availible slots on kdmid website.
Technology stack:
1. Python;
2. Aiogram3;
3. Redis;
4. Pydantic;
5. Docker-Compose;
6. Apsheduler;
7. BeutifulSoup
8. Dependency-injector
I used Dependency-injector for easy application configuration.
All dependecies are initialised in one place and nicely injected wherever needed.
The logic behind application is pretty strightforward: you need to check every day if slots
are availible which might be annoying.
This bot helps to make things smooth.
BeutifulSoup handles form submition, the only thing user is forced to do - to solve captcha.
Captcha is send as photo in chat, bot awaits user answer and proceed to the next step.
At the and user get info whether slots are availible or not
(and the link in case slots croped up). Cron job is handled by apcheduler.
To launch application:
1. create .env file using env_example;
2. run docker compose up -d.