mirror of
https://github.com/browser-use/browser-use
synced 2026-05-13 17:56:35 +02:00
fix formatting: line length in profile_use.py, missing blank line in tunnel.py
This commit is contained in:
@@ -48,7 +48,9 @@ def download_profile_use() -> Path:
|
||||
)
|
||||
|
||||
if result.returncode != 0:
|
||||
raise RuntimeError('Failed to download profile-use. Try installing manually:\n curl -fsSL https://browser-use.com/profile/cli/install.sh | sh')
|
||||
raise RuntimeError(
|
||||
'Failed to download profile-use. Try installing manually:\n curl -fsSL https://browser-use.com/profile/cli/install.sh | sh'
|
||||
)
|
||||
|
||||
binary = get_profile_use_binary()
|
||||
if binary is None:
|
||||
|
||||
@@ -26,6 +26,7 @@ logger = logging.getLogger(__name__)
|
||||
# Pattern to extract tunnel URL from cloudflared output
|
||||
_URL_PATTERN = re.compile(r'(https://\S+\.trycloudflare\.com)')
|
||||
|
||||
|
||||
def _tunnels_dir() -> Path:
|
||||
"""Get tunnel metadata directory (lazy to respect BROWSER_USE_HOME)."""
|
||||
from browser_use.skill_cli.utils import get_tunnel_dir
|
||||
|
||||
Reference in New Issue
Block a user