From 704bd66b63f16211537df264de5308b18e63f66c Mon Sep 17 00:00:00 2001 From: UncleCode Date: Wed, 1 Jan 2025 15:23:16 +0800 Subject: [PATCH] Uphrade plawyright installation command to install dependencies --- crawl4ai/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl4ai/install.py b/crawl4ai/install.py index e54f0850..eb4ede7c 100644 --- a/crawl4ai/install.py +++ b/crawl4ai/install.py @@ -17,7 +17,7 @@ def post_install(): def install_playwright(): logger.info("Installing Playwright browsers...", tag="INIT") try: - subprocess.check_call([sys.executable, "-m", "playwright", "install"]) + subprocess.check_call([sys.executable, "-m", "playwright", "install", "--with-deps"]) logger.success("Playwright installation completed successfully.", tag="COMPLETE") except subprocess.CalledProcessError as e: logger.error(f"Error during Playwright installation: {e}", tag="ERROR")