Skip to content

Bug: Use correct edition on import #26

@PhilippMundhenk

Description

@PhilippMundhenk

When looking up ISBN numbers via Open Library, the base entry title, ISBN, etc. are added, instead of the exact edition. Take ISBN 9783404232215 as example.
This is found in Open Library at https://openlibrary.org/search.json?isbn=9783404232215&fields=title,author_name,first_publish_year,publish_date,isbn,publisher,key,subtitle,subject,format,editions,series,series_name,number_of_pages,notes,work_titles,alternative_title,edition_notes,lcc,ddc,number_of_pages_median&limit=1

Fuzzy Catalog correctly resolves this to the edition at URL https://openlibrary.org/books/OL9025667M.json
However, it seems the ISBNs (10 & 13), as well as title, etc. have been taken from the first page.

This makes little difference in the same language (though ISBN might still be stored incorrectly), but with books in multiple languages, this leads to a wrong book in a different language to be added to the library.
I suggest resolving all relevant data from the Open Library book URL, rather than the search result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions