Comment 1 for bug 1306823

Revision history for this message
Galen Charlton (gmc) wrote :

An experimental patch is available at the tip of the user/gmcharlt/lp1306823_fetch_more_covers_from_ol branch in the working/Evergreen repository:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1306823_fetch_more_covers_from_ol

A few notes about this:

- It's entirely possible that this works only by accident
- A better approach may be using the Read API's multiple option and scanning through the results to find the first edition that has a cover link
- The cover image URLs returned by the Read API look like this - https://covers.openlibrary.org/b/id/3343096-L.jpg. This may be a problem: these are Covers API URLs, and the OL documentation says that they are rate-limited to a maximum of 100 requests every five minutes. This suggests that the Read API may not be suitable as a way of getting past that limit for cover images.