From ef8f0c6096bf5564bf56ea4a92601c7eddd7b49b Mon Sep 17 00:00:00 2001 From: Yurii Chukhlib Date: Sat, 17 Jan 2026 11:15:30 +0100 Subject: [PATCH] fix: Include GoogleSearchCrawler script.js in package distribution Fixes #1711 The GoogleSearchCrawler's script.js file was not included in the package distribution, causing FileNotFoundError when using the crawler. Added crawl4ai/crawlers/google_search/*.js to setuptools package-data in pyproject.toml to ensure the JavaScript file is bundled with the package. Co-Authored-By: Claude --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 06d1e4ab0..fed04b778 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,7 +86,7 @@ crwl = "crawl4ai.cli:main" packages = {find = {where = ["."], include = ["crawl4ai*"]}} [tool.setuptools.package-data] -crawl4ai = ["js_snippet/*.js"] +crawl4ai = ["js_snippet/*.js", "crawlers/google_search/*.js"] [tool.setuptools.dynamic] version = {attr = "crawl4ai.__version__.__version__"}