Skip to content

Scraping timetable generated by optivum vulcan and exporting it to ical format for easy use everywhere.

Notifications You must be signed in to change notification settings

mab122/optivum2ical

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

optivum2ical

optivum2ical scrapes a timetable from website generated with optivum vulcan and exports it to iCal format for easy use everywhere.

Installation

Install optivum2ical by running:

git clone [email protected]:mab122/optivum2ical.git	# clone git repo
cd optivum2ical/
pip install -r requirements.txt	# install python deps

And run it like this

[mab122@macchiato optivum2ical]$ ./convert.py
Enter URL with auth info (ex: http://user:[email protected]/path_to/schedule.html):
http://mab122:[email protected]/timetables/group01.html

[mab122@macchiato optivum2ical]$ head schedule.ical
BEGIN:VCALENDAR
BEGIN:VEVENT
SUMMARY:Random lecture Group 01 room 91
DTSTART;VALUE=DATE-TIME:20180205T085000
DTEND;VALUE=DATE-TIME:20180205T093500
RRULE:FREQ=DAILY;INTERVAL=7
END:VEVENT

What still needs to be done

  • Definitely implementing argument parser
  • Option to choose recurrence end date
  • Also to choose starting date (and default to nearest or last monday relative to now)

Contribute

  • Issue Tracker: github.com/optivum2ical/optivum2ical/issues
  • Source Code: github.com/optivum2ical/optivum2ical

Support

There is no support. If you are having issues, please issue a issue on github issue tracker or let me know, but I don't promise anything.

About

Scraping timetable generated by optivum vulcan and exporting it to ical format for easy use everywhere.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages