fix: additional errors and notes

This commit is contained in:
Cory Dransfeldt 2023-05-06 20:28:46 -07:00
parent b0aa0d6948
commit 84768cc888
No known key found for this signature in database
6 changed files with 6 additions and 5 deletions

View file

@ -3,6 +3,7 @@ const { AssetCache } = require('@11ty/eleventy-fetch')
module.exports = async function () {
const url = 'https://oku.club/rss/collection/POaRa'
// noinspection JSCheckFunctionSignatures
const asset = new AssetCache('books_data')
if (asset.isCacheValid('1h')) return await asset.getCachedValue()
const res = await extract(url)