Skip to content

A Python script to check which books from a Goodreads "to-read" shelf are currently available to borrow from UC Berkeley's library.

Notifications You must be signed in to change notification settings

joshuapjacob/goodreads-berkeley-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Goodreads Berkeley Library

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!

Installation

pip install -r requirements.txt

Selenium uses Chrome as a driver so make sure you have that installed as well.

Usage

  1. Goodreads no longer has a public API so you need to sign in and export your library to a CSV file on this page.
  2. Run the script as follows.
python search.py goodreads_library_export.csv

Example Output

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

About

A Python script to check which books from a Goodreads "to-read" shelf are currently available to borrow from UC Berkeley's library.

Topics

Resources

Stars

Watchers

Forks

Languages