From 5eb0b1a8f49a279d59a020f8f71d328b07bd0694 Mon Sep 17 00:00:00 2001 From: Ali Aldhamen Date: Mon, 9 Mar 2026 21:02:21 +0300 Subject: [PATCH] feat: add arc browser support --- twitter_cli/auth.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/twitter_cli/auth.py b/twitter_cli/auth.py index 170807b..c403398 100644 --- a/twitter_cli/auth.py +++ b/twitter_cli/auth.py @@ -130,6 +130,7 @@ def _extract_in_process(): return None browsers = [ + ("arc", browser_cookie3.arc), ("chrome", browser_cookie3.chrome), ("edge", browser_cookie3.edge), ("firefox", browser_cookie3.firefox), @@ -161,6 +162,7 @@ except ImportError: sys.exit(1) browsers = [ + ("arc", browser_cookie3.arc), ("chrome", browser_cookie3.chrome), ("edge", browser_cookie3.edge), ("firefox", browser_cookie3.firefox), @@ -279,7 +281,7 @@ def get_cookies() -> Dict[str, str]: raise RuntimeError( "No Twitter cookies found.\n" "Option 1: Set TWITTER_AUTH_TOKEN and TWITTER_CT0 environment variables\n" - "Option 2: Make sure you are logged into x.com in your browser (Chrome/Edge/Firefox/Brave)" + "Option 2: Make sure you are logged into x.com in your browser (Arc/Chrome/Edge/Firefox/Brave)" ) # Verify only for explicit auth failures; transient endpoint issues are tolerated.