iamnbutler/shelfgoblinPublic

Shelf Goblin — discover LitRPG audiobooks, follow series, and track your library.

Add best-of-3 retry for flaky API, cache past year data

- Series searches now retry 3 times and merge results by ASIN
- Past years are cached in static/data/ and committed to repo
- Only current year + future are re-fetched on each build
- Significantly faster builds for the weekly cron

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CCNBNate Butler and Claude Opus 4.6 (1M context) authored
2f2d877Patch
Parent3a4791a
5 files changed+37-7
StackedSplit
.gitignore+0 −3
scripts/fetch-data.js+34 −4
static/data/2025.json+1 −0
static/data/2026.json+1 −0
static/data/2027.json+1 −0