Claude/reddit ai relationships scraper ugh g8#10
Merged
Conversation
- Hot returned same results as New since PullPush lacks Reddit's hot algorithm - Added retry logic when PullPush returns HTML instead of JSON (the cause of "Unexpected token '<'" errors after long scrapes) https://claude.ai/code/session_01JS12oCAdiNAGoSr7NhmNzU
PullPush API is unreliable/down. Replace with Reddit's public .json endpoints which require no authentication and work reliably. Uses the same approach as the Python scraper.py (browser User-Agent, cursor-based pagination, recursive comment tree parsing). https://claude.ai/code/session_01JS12oCAdiNAGoSr7NhmNzU
✅ Deploy Preview for redditscrapersbe ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
jheller1212
pushed a commit
that referenced
this pull request
Mar 11, 2026
…re, academic fields Critical fixes: - #1 Thread-level scraping: paste a post URL and get the post + all comments instantly. Auto-detected from input — no new UI needed - #2 Add Hot, Controversial, Rising sort modes (Controversial is key for polarization research) - #3 Time filter greys out when neither Top nor Controversial is active - #5 Partial data on Stop: always shows download buttons with message "Stopped at X posts. Partial data available below." Academic data fields added (#7): - Posts: edited, distinguished, is_crosspost, crosspost_subreddit, total_awards_received, gilded - Comments: depth (nesting level), edited, distinguished, controversiality UX improvements: - #10 Progressive disclosure: options panel hidden until Analyze completes. No more wall of options on first load - #11 Keyword analysis moved under "Advanced" collapsible section - #12 Single primary download button "Download for R/Python (Combined CSV)" with other formats under collapsible - #13 CTA renamed to "Squeeze Data" for clarity - #4 Post limit capped at 1000 with visible note - #8 Specific error messages for 404/403 (not found, private) - #9 Input accepts post URLs, subreddit URLs, r/prefix, plain names https://claude.ai/code/session_01JS12oCAdiNAGoSr7NhmNzU
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.
No description provided.