Skip to content

[BUG] Cannot import BrightDataWebUnlockerTool, BrightDataSearchTool #3544

@Cian-Prendergast

Description

@Cian-Prendergast

Description

Hello there!

I cannot install from crewai_tools import BrightDataWebUnlockerTool, BrightDataSearchTool

When I check all availbe tools

from crewai_tools import *
print(dir())

I dont see BrightData listed, despite being mentioned in docs

AIMindTool', 'Agent', 'ApifyActorsTool', 'ArxivPaperTool', 'BedrockInvokeAgentTool', 'BedrockKBRetrieverTool', 'BraveSearchTool', 'BrowserbaseLoadTool', 'CSVSearchTool', 'CodeDocsSearchTool', 'CodeInterpreterTool', 'ComposioTool', 'CouchbaseFTSVectorSearchTool', 'Crew', 'CrewBase', 'CrewaiEnterpriseTools', 'DOCXSearchTool', 'DallETool', 'DatabricksQueryTool', 'DirectoryReadTool', 'DirectorySearchTool', 'EXASearchTool', 'EnterpriseActionTool', 'FileCompressorTool', 'FileReadTool', 'FileWriterTool', 'FirecrawlCrawlWebsiteTool', 'FirecrawlScrapeWebsiteTool', 'FirecrawlSearchTool', 'GithubSearchTool', 'HyperbrowserLoadTool', 'JSONSearchTool', 'LinkupSearchTool', 'LlamaIndexTool', 'MCPServerAdapter', 'MDXSearchTool', 'MongoDBVectorSearchConfig', 'MongoDBVectorSearchTool', 'MultiOnTool', 'MySQLSearchTool', 'NL2SQLTool', 'OxylabsAmazonProductScraperTool', 'OxylabsAmazonSearchScraperTool', 'OxylabsGoogleSearchScraperTool', 'OxylabsUniversalScraperTool', 'PDFSearchTool', 'PGSearchTool', 'PatronusEvalTool', 'PatronusLocalEvaluatorTool', 'PatronusPredefinedCriteriaEvalTool', 'Process', 'QdrantVectorSearchTool', 'RagTool', 'S3ReaderTool', 'S3WriterTool', 'ScrapeElementFromWebsiteTool', 'ScrapeWebsiteTool', 'ScrapegraphScrapeTool', 'ScrapegraphScrapeToolSchema', 'ScrapflyScrapeWebsiteTool', 'SeleniumScrapingTool', 'SerpApiGoogleSearchTool', 'SerpApiGoogleShoppingTool', 'SerperDevTool', 'SerperScrapeWebsiteTool', 'SerplyJobSearchTool', 'SerplyNewsSearchTool', 'SerplyScholarSearchTool', 'SerplyWebSearchTool', 'SerplyWebpageToMarkdownTool', 'SnowflakeConfig', 'SnowflakeSearchTool', 'SpiderTool', 'StagehandTool', 'TXTSearchTool', 'Task', 'TavilyExtractorTool', 'TavilySearchTool', 'VisionTool', 'WeaviateVectorSearchTool', 'WebsiteSearchTool', 'XMLSearchTool', 'YoutubeChannelSearchTool', 'YoutubeVideoSearchTool', 'ZapierActionTool', 'ZapierActionTools',

The latest version came out 11 hours ago, however changing the crewai-tools version doesnt change much, I assume they keep a list of tools not linked to specific library version? But havent test older versions of crewai

crewai                                   0.186.1
crewai-tools                             0.73.0

Steps to Reproduce

Following installation guide for https://github.com/brightdata/geo-ai-agent

Expected behavior

expected brightData scrapers to scrape websites

Screenshots/Code snippets

see description

Operating System

Ubuntu 20.04

Python Version

3.10

crewAI Version

0.186.1

crewAI Tools Version

0.73.0

Virtual Environment

Venv

Evidence

Traceback (most recent call last):
File "/Users/cianprendergast/Downloads/geo-ai-agent-main/.venv/bin/run_crew", line 4, in
from ai_content_optimization_agent.main import run
File "/Users/cianprendergast/Downloads/geo-ai-agent-main/src/ai_content_optimization_agent/main.py", line 4, in
from ai_content_optimization_agent.crew import AiContentOptimizationAgent
File "/Users/cianprendergast/Downloads/geo-ai-agent-main/src/ai_content_optimization_agent/crew.py", line 10, in
from crewai_tools import BrightDataWebUnlockerTool, BrightDataSearchTool
ImportError: cannot import name 'BrightDataWebUnlockerTool' from 'crewai_tools' (/Users/cianprendergast/Downloads/geo-ai-agent-main/.venv/lib/python3.12/site-packages/crewai_tools/init.py)
/Users/cianprendergast/Downloads/geo-ai-agent-main/.venv/lib/python3.12/site-packages/litellm/llms/custom_httpx/async_client_cleanup.py:66: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()

Possible Solution

Has BrightData been removed from tools?

Additional context

brightdata/geo-ai-agent#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions