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: """