Skip to content

Commit 65b8675

Browse files
committed
Update smart_scraper_multi_concat_graph.py
1 parent ec9f8ff commit 65b8675

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

scrapegraphai/graphs/smart_scraper_multi_concat_graph.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,13 @@ def _create_graph(self) -> BaseGraph:
6060
BaseGraph: A graph instance representing the web scraping and searching workflow.
6161
"""
6262

63-
smart_scraper_instance = SmartScraperGraph(
64-
prompt="",
65-
source="",
66-
config=self.copy_config,
67-
schema=self.copy_schema
68-
)
69-
7063
graph_iterator_node = GraphIteratorNode(
7164
input="user_prompt & urls",
7265
output=["results"],
7366
node_config={
74-
"graph_instance": smart_scraper_instance,
67+
"graph_instance": SmartScraperGraph,
68+
"scraper_config": self.copy_config,
69+
"scraper_schema": self.copy_schema,
7570
}
7671
)
7772

0 commit comments

Comments
 (0)