Repository navigation
Adaptive show crawler + Refresh button (0.5.0) - #78
Merged
Merged
Conversation
The directory's newest-episode dates came only from the Podcast Index dump, so every list lagged by days (TWiT showed 10-19 on 10-29). The daemon now reads every listed show's feed on its own rhythm via @profullstack/scraper-daemon 0.3.0 daemon.feeds(): 15 min for an hourly show, ~6 h around a weekly show's release day, up to a week when quiet; silent 180 days = archived (read once a quarter). Hot tiers first, 4 per host, conditional GETs, error ladder, 429 holds the host. - feed_state (keyed by feed_url, survives reloads); shows-seed job every 30 min adds new shows, drops delisted ones, re-applies crawl dates after a reload - each read moves podcasts.newest_pubdate / latest_audio / episode_count forward - POST /api/episodes/<slug>/refresh + Refresh button: fresh episodes now, show to the front of the crawler queue Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sh1pt-actions-fleet
Bot
force-pushed
the
feat/adaptive-crawl
branch
from
October 29, 2026 01:20
e9ea579 to
8fee581
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every list on p0dcasters sorted by the dump's newest-episode date, which lagged days (TWiT showed 10-19 on 10-29). The daemon now crawls every listed show on its own rhythm with the shared cadence from
@profullstack/scraper-daemon@0.3.0(daemon.feeds()), same module as rssamplifier.com:feed_statekeyed by feed_url survives the dump reload; ashows-seedjob (30 min) adds new shows, drops delisted ones and re-applies crawl dates onto freshly loaded rows.POST /api/episodes/<slug>/refresh: drops the cached episodes, reads the feed, moves the show to the front of the crawler queue.CRAWL_CONCURRENCY(default 24, 0 turns the crawler off).Tests: 89 pass (incl. a real-Postgres feed_state suite with TEST_DATABASE_URL), tsc clean.
🤖 Generated with Claude Code