mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-06 21:11:37 +08:00
fix: parse node
This commit is contained in:
parent
23b923c18e
commit
09256f7b11
@ -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
|
||||
)
|
||||
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user