internetarchive / internetarchive/openlibrary

ISBN Endpoint Not Redirecting to book with ISBN

Open
#8,120 4 comments 0 reactions 0 assignees View on GitHub
Lead: @mekarpeles Needs: Investigation Priority: 3 Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

### Evidence / Screenshot (if possible)

### Relevant url?

https://openlibrary.org/isbn/9783906484754

This book has that ISBN: https://openlibrary.org/books/OL32964770M/

### Steps to Reproduce

1. Go to above url

* Actual: 404 page
* Expected: Redirects to the book that has this ISBN.

### Details

- **Logged in (Y/N)?** Y
- **Browser type/version?** FF
- **Operating system?** Mac
- **Environment (prod/dev/local)?** prod

This is annoying because I often use the ISBN url to quickly get to books by copying isbn and pasting it into the isbn url.

### Proposal & Constraints

### Related files

### Stakeholders

Contributor guide

Open the contributing guide

Research direction

Start by reproducing https://openlibrary.org/isbn/9783906484754 and tracing the ISBN endpoint's lookup and redirect behavior. Compare the result with book OL32964770M and identify why the ISBN resolves to a 404. Done means the endpoint redirects to the matching book and the behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.