Skip to content

Python scraper based on AI

fix(SmartScraper): pass llm_model to ParseNode

Federico Aguzzi524216657590
diff --git a/scrapegraphai/graphs/smart_scraper_graph.py b/scrapegraphai/graphs/smart_scraper_graph.py
index 0167103e..4a8416c8 100644
--- a/scrapegraphai/graphs/smart_scraper_graph.py
+++ b/scrapegraphai/graphs/smart_scraper_graph.py
@@ -74,6 +74,7 @@ class SmartScraperGraph(AbstractGraph):
input="doc",
output=["parsed_doc"],
node_config={
+ "llm_model": self.llm_model,
"chunk_size": self.model_token
}
)