Skip to content

Commit ef8f0c6

Browse files
YuriNachosclaude
andcommitted
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 <noreply@anthropic.com>
1 parent c85f56b commit ef8f0c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ crwl = "crawl4ai.cli:main"
8686
packages = {find = {where = ["."], include = ["crawl4ai*"]}}
8787

8888
[tool.setuptools.package-data]
89-
crawl4ai = ["js_snippet/*.js"]
89+
crawl4ai = ["js_snippet/*.js", "crawlers/google_search/*.js"]
9090

9191
[tool.setuptools.dynamic]
9292
version = {attr = "crawl4ai.__version__.__version__"}

0 commit comments

Comments
 (0)