mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-26 19:21:39 +00:00
Merge 4828b093f9 into 67db41a525
This commit is contained in:
commit
f0275aa66a
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ class GoogleBooks {
|
||||||
publisher,
|
publisher,
|
||||||
publishedYear: publisherDate ? publisherDate.split('-')[0] : null,
|
publishedYear: publisherDate ? publisherDate.split('-')[0] : null,
|
||||||
description,
|
description,
|
||||||
cover: imageLinks && imageLinks.thumbnail ? imageLinks.thumbnail : null,
|
cover: imageLinks && imageLinks.extraLarge ? imageLinks.extraLarge : null,
|
||||||
genres: categories && Array.isArray(categories) ? [...categories] : null,
|
genres: categories && Array.isArray(categories) ? [...categories] : null,
|
||||||
isbn: this.extractIsbn(industryIdentifiers)
|
isbn: this.extractIsbn(industryIdentifiers)
|
||||||
}
|
}
|
||||||
|
|
@ -51,4 +51,4 @@ class GoogleBooks {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = GoogleBooks
|
module.exports = GoogleBooks
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue