fix: parse node

This commit is contained in:
Marco Vinciguerra 2024-07-22 16:15:38 +02:00
parent 23b923c18e
commit 09256f7b11
2 changed files with 3 additions and 3 deletions

View File

@ -28,8 +28,8 @@ graph_config = {
# ************************************************
smart_scraper_graph = SmartScraperGraph(
prompt="List me all the titles",
source="https://perinim.github.io/projects",
prompt="List me all the titles of the website",
source="https://sport.sky.it/nba?gr=www",
config=graph_config
)

View File

@ -41,7 +41,7 @@ class ParseNode(BaseNode):
False if node_config is None else node_config.get("verbose", False)
)
self.parse_html = (
True if node_config is None else node_config.get("parse_html", False)
True if node_config is None else node_config.get("parse_html", True)
)
def execute(self, state: dict) -> dict: