Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
fix: detect Linux arch for cloudflared download (amd64 vs arm64)
ShawnPana7132935aa0cc
diff --git a/browser_use/skill_cli/commands/setup.py b/browser_use/skill_cli/commands/setup.pyindex aeea82173..2944b8d98 100644--- a/browser_use/skill_cli/commands/setup.py+++ b/browser_use/skill_cli/commands/setup.py@@ -213,9 +213,11 @@ def _install_cloudflared() -> bool:return result.returncode == 0else:# Linux: download binary+ import platformimport urllib.request- url = 'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64'+ arch = 'arm64' if platform.machine() in ('aarch64', 'arm64') else 'amd64'+ url = f'https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-{arch}'dest = Path('/usr/local/bin/cloudflared')if not os.access('/usr/local/bin', os.W_OK):dest = Path.home() / '.local' / 'bin' / 'cloudflared'