GijsTimmers / kotnetcli

An easy automated way to log in on Kotnet.
GNU General Public License v3.0
5 stars 4 forks source link

Add valid kotnet institution choices #87

Closed jovanbulck closed 8 years ago

jovanbulck commented 9 years ago

We should figure out and add all valid kotnet institution choices, so the user can login to the institution of his/her choice via kotnetcli --institution=CHOICE

This is probably possible by manually choosing each institution in the list on netlogin.kuleuven.be and then looking at the inst= value in the URL (?) I cannot do this, as my browser gets redirected to ?inst=kuleuven-campusnet, without being offered an institution choice...

Add the relevant names in the array on line 116 in kotnetcli.py on dev branch:

        choices=[ 'kuleuven', 'kuleuven-campusnet'],
GijsTimmers commented 8 years ago

Associatie KU Leuven: https://netlogin.kuleuven.be/cgi-bin/wayf2.pl?inst=kuleuven&lang=nl&submit=Ga+verder+%2F+Continue

Kotnet Extern: https://netlogin.kuleuven.be/cgi-bin/wayf2.pl?inst=kotnetext&lang=nl&submit=Ga+verder+%2F+Continue

I don't see any other institutions. Are there any?

jovanbulck commented 8 years ago

I don't see any other institutions. Are there any?

No idea. Maybe you could ask around for KH Leuven?

GijsTimmers commented 8 years ago

I will just close this one until other institutions appear.