This is a script to get schedule from kundalik.com, save to PostgreSQL database and send schedule for today in telegram bot
Google Chrome (required)
sudo apt update
sudo apt install chromium
Required libraries for the project
sudo pip3 install -r requirements.txt
Google Chrome (required)
https://www.google.com/intl/en/chrome/
Required libraries for the project
pip install -r requirements.txt
To import data create an .env file and write this data
# Kundalik settings
LOGIN=kundalikcomloginFORPUPILACCOUNT
PASSWORD=kundalikcompasswordFORPUPILACCOUNT
# Database settings
DATABASE_NAME=DATABASE_NAME
DATABASE_USER=DATABASE_USER
DATABASE_PASS=DATABASE_PASS
DATABASE_HOST=DATABASE_HOST
# Telegram bot token
TOKEN=TELEGRAMBOTTOKEN
Add script.py to crontab for update database every N time!
python3 main.py
python main.py
- Easier to manage
- No need to open an online diary: kundalik.com
- Without advertising
- Works fast
If you have any feedback, please reach out to us at [email protected]