From 41cec25ad9885b69047a713871373b7738a589f4 Mon Sep 17 00:00:00 2001 From: Lorenze Jay Date: Fri, 10 Jan 2025 14:26:03 -0800 Subject: [PATCH] fix client init on scrapegraph tool --- .../tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crewai_tools/tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py b/src/crewai_tools/tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py index 92623e3e0..56fe0360a 100644 --- a/src/crewai_tools/tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py +++ b/src/crewai_tools/tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py @@ -167,7 +167,7 @@ class ScrapegraphScrapeTool(BaseTool): try: # Make the SmartScraper request - response = self.client.smartscraper( + response = self._client.smartscraper( website_url=website_url, user_prompt=user_prompt, )