chore: organize + clean up

This commit is contained in:
Cory Dransfeldt 2023-07-07 13:37:27 -07:00
parent ddc2e30375
commit 95581a079c
No known key found for this signature in database
27 changed files with 172 additions and 15 deletions

View file

@ -6,7 +6,8 @@ module.exports = async function () {
title: read.title,
author: read.authors.length > 1 ? read.authors.join(', ') : read.authors.pop(),
cover: read.thumbnail.replace('https://books.google.com', 'https://books.coryd.dev'),
link: `https://duckduckgo.com/?q=!olib%20${read.isbn}`,
link: `https://openlibrary.org/search?q=${read.isbn}`,
finished: read.dateFinished
}
})
}