internetarchive / internetarchive/openlibrary

Import failing to match on amazon ASIN

Open
#12,356 1 comment 1 reaction 2 assignees Claimed by @mekarpeles View on GitHub
Lead: @cdrini Module: Import Needs: Breakdown Needs: Triage Theme: Affiliate API Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

### Problem

Trying to import a book with an ASIN fails to match the edition in the catalog that has that ASIN.

### Reproducing the bug

1. Go to https://openlibrary.org/import/preview?source=amazon:B0G8L18P9N
2. Click "Preview Import"

* Expected behavior: It should match to https://openlibrary.org/books/OL61375499M/I%E2%80%99m_Done_But_My_Heart_Still_Whispers_Your_Name , which has that exact ASIN
* Actual behavior: It creates a new work, author, and edition

### Context

NA

### Breakdown

Implementation Details (for maintainers)

#### Requirements Checklist
* [ ]

#### Related files

*

#### Stakeholders

*


#### Instructions for Contributors

- Please [run these commands](https://docs.openlibrary.org/developers/tools/git.html#working-on-your-branch) to ensure your repository is up to date **before** [creating a new branch](https://docs.openlibrary.org/developers/tools/git.html#making-changes-and-creating-a-pull-request) to work on this issue and **each time after** pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.