Skip to content

feat: improve reddit session reliability#4

Open
777genius wants to merge 1 commit into
m13v:mainfrom
777genius:feat/reddit-session-reliability
Open

feat: improve reddit session reliability#4
777genius wants to merge 1 commit into
m13v:mainfrom
777genius:feat/reddit-session-reliability

Conversation

@777genius

Copy link
Copy Markdown

Summary:

  • Add Reddit whoami and headed login helper commands
  • Allow REDDIT_HEADLESS, REDDIT_PROFILE_DIR, and REDDIT_BROWSER_EXECUTABLE overrides
  • Validate the logged-in account through Reddit API state before posting
  • Add an old Reddit API fallback for top-level comments when the UI login state is unreliable
  • Add public visibility checks for newly posted comments

Tests:

  • python3 -m py_compile scripts/reddit_browser.py
  • git diff --check
  • staged diff reviewed for local config, accounts, tokens, cookies, and product-specific data

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