Skip to content

Recover blocked new and rising subreddit feeds - #6

Merged
jeffstephens merged 1 commit into
mainfrom
fix/blocked-feed-sorts
Nov 4, 2026
Merged

jeffstephens merged 1 commit into
mainfrom
fix/blocked-feed-sorts

Conversation

@jeffstephens

Copy link
Copy Markdown
Owner

Reddit now blocks anonymous single-subreddit new/rising JSON listings, including encoded path variants. Existing top/controversial routes still work. Fall back only for explicit HTML 403s on supported new/rising feeds.

Fetch Reddit's logged-out community feed fragment for post IDs, ordering and forward pagination, then retrieve normal metadata through individual /by_id lookups. Batch metadata is also blocked. Preserve rendering, media handling, filters and NSFW checks. Bound fallback pages to 25 posts, metadata concurrency to two globally, metadata time to 30 seconds, and result caching to 32 entries/30 seconds. Reuse the existing bounded anonymous web transport and restrict the additional redirect path prefix.

Forward pagination is supported. Hide PREV for fallback pages because the web endpoint ignores reverse cursors; browser Back works. Combined feeds and all/popular are not covered. API JSON errors and other sorts retain their behavior. Generic limits and tradeoffs are documented in FORK.md.

Validation: formatting and Clippy pass; 70 offline tests pass, including ordering/deduplication, pagination conversion, allowed paths and both observed fragment layouts. Local live checks cover Rust/Pics new with distinct next pages, rising, top and controversial. No new dependencies or deployment details are included.

@jeffstephens
jeffstephens merged commit 9233e4e into main Nov 4, 2026
2 checks passed
@jeffstephens
jeffstephens deleted the fix/blocked-feed-sorts branch November 4, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant