internetarchive / internetarchive/openlibrary
Reinstate Bookworm Cover Imports
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
### Problem
The Open Library affiliate server ("Bookworm") already fetches book metadata for books on Open Library when a patron visits a book page. Currently, cover URLs from Amazon are available, but if a book page is missing a cover, the cover URL should be changed to the Amazon URL and an import of the cover should be triggered.
### Reproducing the bug
Go to a book page on Open Library that currently lacks a cover. Observe that the cover is missing, despite the existence of an Amazon cover URL in Bookworm. The expected behavior is for the cover to be automatically updated and imported from Amazon.
### Context
This relates to improving the patron experience by ensuring all books have covers, leveraging existing affiliate server infrastructure and Amazon cover resources.
### Breakdown
1. Detect when a book page on Open Library is missing a cover.
2. If an Amazon cover URL exists in Bookworm, update the Open Library cover URL to the Amazon cover.
3. Trigger an import process for the cover image.
4. Confirm the cover appears correctly on Open Library.
Contributor guide
Assessment
This issue has not been assessed yet.