Skip to content

feat(auth): support Vivaldi cookie extraction - #92

Open
RiriAgent wants to merge 1 commit into
jackwener:mainfrom
RiriAgent:feat/vivaldi-cookie-support
Open

RiriAgent wants to merge 1 commit into
jackwener:mainfrom
RiriAgent:feat/vivaldi-cookie-support

Conversation

@RiriAgent

Copy link
Copy Markdown
Contributor

Add Vivaldi to browser cookie extraction (in-process + subprocess fallback), TWITTER_BROWSER allowlist, and platform cookie paths (macOS ~/Library/Application Support/Vivaldi, Linux ~/.config/vivaldi, Windows %LOCALAPPDATA%/Vivaldi/User Data). Profile auto-discovery (Default first, then Profile *) and TWITTER_CHROME_PROFILE override keep working. Docs updated (README.md EN/CN, SKILL.md).

Why: browser-cookie3 already ships vivaldi(), but twitter-cli never wired it in, so logged-in Vivaldi users hit No Twitter cookies found.

Evidence:

  • uv run ruff check . — All checks passed
  • uv run pytest -q — 245 passed, 6 deselected
  • New tests: TWITTER_BROWSER=vivaldi ordering, Vivaldi in-process extraction, Vivaldi Linux cookie path (tests/test_auth.py)
  • Manual runtime check on macOS against a real Vivaldi Default/Cookies DB: TWITTER_BROWSER=vivaldi twitter status/whoami → ok: true, and auto-detection logs Found cookies in vivaldi profile 'Default' (in-process)

Add vivaldi to browser cookie extraction (in-process + subprocess),
TWITTER_BROWSER allowlist, platform cookie paths
(macOS ~/Library/Application Support/Vivaldi, Linux ~/.config/vivaldi,
Windows %LOCALAPPDATA%/Vivaldi/User Data), and docs.
Verified against local Vivaldi Default profile Cookies DB.

This branch has not been deployed

No deployments
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