This is a short Ruby script I created for the Monroe County Public Library website
. To use it, run the script, passing your library card number and site password as parameters.
The script outputs the relevant iCal file text, suitable for importing to Outlook or Google Calendar or whatever. Pipe it to a file like this:
ruby book2calendar.rb 21400003414203 1234 >temp.ics
The script is Here