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.
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
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 reposbrew install python
- Install Python3python -m ensurepip --upgrade
- Make sure pip exists/install it
# 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
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
Aleksey Karelin 💻 |
arturskovrigo 🐛 💻 |
Reinis Mednis 📖 🐛 💻 |
This project is under the MIT license