A Python script to check which books from a Goodreads "to-read" shelf are currently available to borrow from UC Berkeley's library. Built with Selenium and Beautiful Soup to save me from manually checking which books on my reading list are currently available.
Also worth checking out The Library Extension!
pip install -r requirements.txt
Selenium uses Chrome as a driver so make sure you have that installed as well.
- Goodreads no longer has a public API so you need to sign in and export your library to a CSV file on this page.
- Run the script as follows.
python search.py goodreads_library_export.csv
Searching and streaming results...
The pragmatic programmer : from journeyman to master
https://berkeley.primo.exlibrisgroup.com/discovery/fulldisplay?docid=alma991080851389706532&context=L&vid=01UCS_BER:UCB&lang=en&search_scope=DN_and_CI&adaptor=Local
Trust me, I'm lying : the tactics and confessions of a media manipulator
https://berkeley.primo.exlibrisgroup.com/discovery/fulldisplay?docid=alma991000883859706532&context=L&vid=01UCS_BER:UCB&lang=en&search_scope=DN_and_CI&adaptor=Local
Rosencrantz & Guildenstern are dead
https://berkeley.primo.exlibrisgroup.com/discovery/fulldisplay?docid=alma991071720859706532&context=L&vid=01UCS_BER:UCB&lang=en&search_scope=DN_and_CI&adaptor=Local