Add genres to books

This commit is contained in:
2023-07-25 14:55:50 -04:00
parent 8a597ef1b0
commit b7e15da87a
4 changed files with 116 additions and 9 deletions

View File

@ -129,4 +129,5 @@ def lookup_book_from_openlibrary(
"pages": top.get("number_of_pages_median", None),
"cover_url": COVER_URL.format(id=ol_id),
"ol_author_id": ol_author_id,
"subject_key_list": top.get("subject_key", []),
}