A Ruby Mechanize scraper + Angular app for auto-creating course schedule of Kyoto Univ Kulasis.
Now support Science and Engineering courses.
-
Fill in your username and password of 学生アカウント(ECS-ID) in the file login.txt (just as you would fill in for 京都大学統合認証システム).
-
Fill in urls that direct to courses you would like to pick up in course_urls.txt. You may check the file for examples.
-
Run
ruby mechanize/main.rb
in your commandline. Make sure Mechanize is installed in your gems. -
go to assets (
cd assets
) and run the Angular application (for example, on your local host). You can run it in anyway you like, and simple command such aspython -m SimpleHTTPServer
is enough. -
Go to the app (your local host) and check your course schedule! (
http://0.0.0.0:8000/
if you are using SimpleHTTPServer)
To update, change the urls and go through steps 3~5.