I recently happened upon the most magical piece of tech—a FREE browser extension that checks to see whether a book you are perusing online is available via your library as a hard copy or an ebook. And it works for multiple libraries at one time in case you have borrowing privileges at more than one library!
You simply install the extension on your browser & select your library (or libraries) from a list which includes the US, Australia, Canada, New Zealand, the UK & others. Anytime thereafter that you view a book (e.g., on Amazon, Goodreads, Audible, Barnes & Noble, etc.), the extension will show you whether your library has it in their collection & whether it’s available! With a touch of a button, you can then snag the book from your library.