Honestly, considering all the services that libraries provide, and how in danger they are, I would always say you should support the library. It might not seem like a big distinction, since you are getting the book for free either way, but every can help the library get more funding.