From 7f03ec15de20fc2d6c2aad2655cc5348cced1951 Mon Sep 17 00:00:00 2001 From: aziz-ullah-khan Date: Fri, 11 Oct 2024 16:58:37 +0500 Subject: [PATCH] Fix: search_on_web paremter --- scrapegraphai/nodes/search_internet_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapegraphai/nodes/search_internet_node.py b/scrapegraphai/nodes/search_internet_node.py index 5688518e..e318f923 100644 --- a/scrapegraphai/nodes/search_internet_node.py +++ b/scrapegraphai/nodes/search_internet_node.py @@ -94,7 +94,7 @@ def execute(self, state: dict) -> dict: self.logger.info(f"Search Query: {search_query}") - answer = search_on_web(query=search_query, num_results=self.max_results, + answer = search_on_web(query=search_query, max_results=self.max_results, search_engine=self.search_engine, proxy=self.proxy) if len(answer) == 0: