-
-
Save molecyll/77bbb23ed37dfee0dd73 to your computer and use it in GitHub Desktop.
blackboard grade checker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOST=http://blackboard.uva.nl/webapps/portal/frameset.jsp | |
COURSE="$1" #go to "course-exam information" and select everything after ../frameset.jsp | |
while [ 1 ]: | |
do | |
count =`curl -s "$HOST$COURSE" | grep -c "uitslag" | |
if [ "$count" != "0" ] | |
then | |
say "good news" "Grades are online!" | |
exit 0 | |
fi | |
sleep 60 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment