diff --git a/bookwyrm/templates/import/import.html b/bookwyrm/templates/import/import.html
index 314a6861..fdeb0e55 100644
--- a/bookwyrm/templates/import/import.html
+++ b/bookwyrm/templates/import/import.html
@@ -31,6 +31,9 @@
+
diff --git a/bookwyrm/templates/import/import_status.html b/bookwyrm/templates/import/import_status.html
index 9b437969..b3d20987 100644
--- a/bookwyrm/templates/import/import_status.html
+++ b/bookwyrm/templates/import/import_status.html
@@ -105,6 +105,11 @@
{% trans "ISBN" %}
|
+ {% if job.source == "OpenLibrary" %}
+
+ {% trans "Openlibrary key" %}
+ |
+ {% endif %}
{% trans "Author" %}
|
@@ -145,6 +150,11 @@
{{ item.isbn|default:'' }}
|
+ {% if job.source == "OpenLibrary" %}
+
+ {{ item.openlibrary_key }}
+ |
+ {% endif %}
{{ item.normalized_data.authors }}
|
diff --git a/bookwyrm/views/imports/import_data.py b/bookwyrm/views/imports/import_data.py
index 80386b3d..6e50a14c 100644
--- a/bookwyrm/views/imports/import_data.py
+++ b/bookwyrm/views/imports/import_data.py
@@ -14,6 +14,7 @@ from bookwyrm.importers import (
LibrarythingImporter,
GoodreadsImporter,
StorygraphImporter,
+ OpenLibraryImporter,
)
# pylint: disable= no-self-use
@@ -49,6 +50,8 @@ class Import(View):
importer = LibrarythingImporter()
elif source == "Storygraph":
importer = StorygraphImporter()
+ elif source == "OpenLibrary":
+ importer = OpenLibraryImporter()
else:
# Default : Goodreads
importer = GoodreadsImporter()