Skip to content

Commit

Permalink
Merge pull request #849 from SwapnilSonker/extract/SmartScraperGraph
Browse files Browse the repository at this point in the history
#710 - just a check added for the detailed logging
  • Loading branch information
VinciGit00 authored Jan 5, 2025
2 parents bc7ae85 + 064ebfc commit 927c99b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scrapegraphai/graphs/smart_scraper_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down

0 comments on commit 927c99b

Please sign in to comment.