Skip to content

RMednis/rtu-calendar-scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTU Calendar Scraper

All Contributors

Exports timetable data from RTU Nodarbibas to .ical and .csv formats for importing into calendar apps.

The .csv is only supported on Google Calendar, while .ical is supported by most calendar apps, including Outlook.

Currently only exports events until January - semester selection may be added later.

Usage

Tested on:

  • Python version 3.10.2 and Windows 10
  • MacOS X 12 Monterey and Python 3.10.7
  • Ubuntu 22.04 and Python 3.10.7

1. Install Python:

Any system with Python 3.10 or newer should be compatible!

Windows

Download and install from here.

Ubuntu

Run the following:

  • apt update - Update your repository's

  • apt install python3 - Install Python

MacOS

Install homebrew from here. Then run the following commands:

  • brew update - Update homebrew repos
  • brew install python - Install Python3
  • python -m ensurepip --upgrade - Make sure pip exists/install it

2. Run all of this shit in a command prompt

# Clone the repository with git (or just download it as a zip file and extract)
git clone https://github.com/tomszir/rtu-calendar-scraper

# Navigate to the project directory
cd rtu-calendar-scraper

# Install python requirements
pip install -r requirements.txt

# Run the scraper tool and follow prompts
python3 ./main.py

3. There should be a .csv file into Google Calendar for other apps, a .ics file is also available!

Proof

In case you don't believe this shit works here's the schedule I imported for myself. The only reason I made this shit was so I could get a reminder when I might actually have to do something

proof

Contributors


Aleksey Karelin

💻

arturskovrigo

🐛 💻

Reinis Mednis

📖 🐛 💻

License

This project is under the MIT license

About

Scrapes the RTU calendar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%