From 064ebfcdb4dea3e40014443f0de6389afbc1f385 Mon Sep 17 00:00:00 2001 From: SwapnilSonker Date: Sat, 21 Dec 2024 09:05:10 +0530 Subject: [PATCH] #710 - just a check added for the detailed logging --- scrapegraphai/graphs/smart_scraper_graph.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scrapegraphai/graphs/smart_scraper_graph.py b/scrapegraphai/graphs/smart_scraper_graph.py index 404bdcd9..e032eadd 100644 --- a/scrapegraphai/graphs/smart_scraper_graph.py +++ b/scrapegraphai/graphs/smart_scraper_graph.py @@ -55,6 +55,9 @@ def __init__( super().__init__(prompt, config, source, schema) self.input_key = "url" if source.startswith("http") else "local_dir" + + # for detailed logging of the SmartScraper API set it to True + self.verbose = config.get("verbose", False) def _create_graph(self) -> BaseGraph: """