Proposal
Add a no-login RSS fallback for public Reddit read-only commands when browser cookie extraction is unavailable.
This would make rdt useful for public Reddit discovery even when rdt login cannot read browser cookies on modern Windows Chrome/Edge setups.
Context
On Windows Chrome/Edge, Reddit cookies can be stored with Chrome v20 app-bound encryption. In that case, browser_cookie3 may fail to decrypt cookies even when the user is already logged into reddit.com.
Observed symptoms:
rdt login prints No Reddit cookies found
- the browser actually has Reddit cookies such as
reddit_session / token_v2
browser_cookie3 fails with Unable to get key for cookie decryption
Related issues:
Benchmark
A useful benchmark is insane-search, which handles Reddit public reads by trying .rss first and unauthenticated .json second.
References:
In phase0.py, the Reddit route currently follows this shape:
- Build a Reddit
.rss URL from the subreddit or post URL
- Try RSS first
- Try
.json second because unauthenticated JSON is often blocked
- Return the successful public read route
This is a good fit for rdt because public read-only commands do not always need authenticated cookies.
Candidate endpoints
https://www.reddit.com/r/{subreddit}/hot.rss?limit=25
https://www.reddit.com/r/{subreddit}/new.rss?limit=25
https://www.reddit.com/r/{subreddit}/search.rss?q={query}&restrict_sr=1
https://www.reddit.com/user/{username}.rss
https://www.reddit.com/r/{subreddit}/comments/{post_id}.rss
Suggested scope
RSS fallback is suitable for:
- subreddit listing
- public user posts
- public post/comment reading
- public discovery/search fallback
RSS fallback should not replace authenticated features such as:
- home feed
- saved posts
- upvoted posts
- voting
- commenting
- private, quarantined, age-gated, or otherwise login-gated content
Why this helps
This keeps the authenticated rdt-cli flow intact for features that truly require login, while giving users a robust public Reddit read path when browser cookie extraction fails.
It also avoids asking users to switch browsers just so browser_cookie3 can read cookies, which adds operational complexity for an otherwise simple read-only research task.
Proposal
Add a no-login RSS fallback for public Reddit read-only commands when browser cookie extraction is unavailable.
This would make
rdtuseful for public Reddit discovery even whenrdt logincannot read browser cookies on modern Windows Chrome/Edge setups.Context
On Windows Chrome/Edge, Reddit cookies can be stored with Chrome
v20app-bound encryption. In that case,browser_cookie3may fail to decrypt cookies even when the user is already logged into reddit.com.Observed symptoms:
rdt loginprintsNo Reddit cookies foundreddit_session/token_v2browser_cookie3fails withUnable to get key for cookie decryptionRelated issues:
reddit_sessioncookie + only scans default browser profile #9Benchmark
A useful benchmark is
insane-search, which handles Reddit public reads by trying.rssfirst and unauthenticated.jsonsecond.References:
In
phase0.py, the Reddit route currently follows this shape:.rssURL from the subreddit or post URL.jsonsecond because unauthenticated JSON is often blockedThis is a good fit for
rdtbecause public read-only commands do not always need authenticated cookies.Candidate endpoints
Suggested scope
RSS fallback is suitable for:
RSS fallback should not replace authenticated features such as:
Why this helps
This keeps the authenticated
rdt-cliflow intact for features that truly require login, while giving users a robust public Reddit read path when browser cookie extraction fails.It also avoids asking users to switch browsers just so
browser_cookie3can read cookies, which adds operational complexity for an otherwise simple read-only research task.