Skip to content

For those who are tired of going to the online diary and looking at the schedule, I made a parser that saves the schedule to the database and sends today's schedule via telegram

Notifications You must be signed in to change notification settings

Saidalo1/kundalik_jadval_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kundalik Parser (selenium)

This is a script to get schedule from kundalik.com, save to PostgreSQL database and send schedule for today in telegram bot

Installation for Linux & MacOS

Google Chrome (required)

  sudo apt update
  sudo apt install chromium

Required libraries for the project

  sudo pip3 install -r requirements.txt

Installation for Windows

Google Chrome (required)

  https://www.google.com/intl/en/chrome/

Required libraries for the project

  pip install -r requirements.txt

Create .env file

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

Script.py to crontab

Add script.py to crontab for update database every N time!

How to Run for Linux & MacOS

python3 main.py

How to Run for Windows

python main.py

Features

  • Easier to manage
  • No need to open an online diary: kundalik.com
  • Without advertising
  • Works fast

Feedback

If you have any feedback, please reach out to us at [email protected]

Screenshots

App Screenshot

App Screenshot

If schedule not found: App Screenshot

About

For those who are tired of going to the online diary and looking at the schedule, I made a parser that saves the schedule to the database and sends today's schedule via telegram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages