From d36ef3d424e88d4760a00c262708509d6e22649d Mon Sep 17 00:00:00 2001 From: UncleCode Date: Wed, 1 Jan 2025 17:19:54 +0800 Subject: [PATCH] refactor(install): use chromium as default browser - Remove Chrome installation to reduce setup time - Keep Chromium as default browser for better cross-platform compatibility --- crawl4ai/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl4ai/install.py b/crawl4ai/install.py index 7f80fd2c..7efb6800 100644 --- a/crawl4ai/install.py +++ b/crawl4ai/install.py @@ -16,7 +16,7 @@ def post_install(): def install_playwright(): logger.info("Installing Playwright browsers...", tag="INIT") try: - subprocess.check_call([sys.executable, "-m", "playwright", "install", "--with-deps", "--force", "chrome"]) + # subprocess.check_call([sys.executable, "-m", "playwright", "install", "--with-deps", "--force", "chrome"]) subprocess.check_call([sys.executable, "-m", "playwright", "install", "--with-deps", "--force", "chromium"]) logger.success("Playwright installation completed successfully.", tag="COMPLETE") except subprocess.CalledProcessError as e: