Skip to content

Conversation

@YuriNachos
Copy link

Summary

  • Added GoogleSearchCrawler's script.js to package distribution
  • Fixes FileNotFoundError when using GoogleSearchCrawler from installed package

Fixes

Fixes #1711

Details

The crawl4ai/crawlers/google_search/script.js file was not included in the
Python package distribution, causing this error when using GoogleSearchCrawler:

```
FileNotFoundError: '/tmp/windmill/cache/python_3_12/crawl4ai==0.7.8/crawl4ai/crawlers/google_search/script.js'
```

Fixed by adding crawl4ai/crawlers/google_search/*.js to the setuptools
package-data configuration in pyproject.toml.

Test plan

  • Verified script.js exists in the source tree
  • Added to package-data pattern in pyproject.toml
  • File will now be included in wheel distributions

🤖 Generated with Claude Code

Fixes unclecode#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>
@YuriNachos YuriNachos force-pushed the fix/issue-1711-google-search-script-js branch from 5a9e61b to ef8f0c6 Compare January 17, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: GoogleSearchCrawler cannot be used

1 participant