Skip to content

Commit 4c8becc

Browse files
committed
overwrite common params to affect nodes config
1 parent 0c5d6e2 commit 4c8becc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scrapegraphai/graphs/abstract_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def __init__(self, prompt: str, config: dict,
103103
"cache_path": self.cache_path,
104104
}
105105

106-
self.set_common_params(common_params, overwrite=False)
106+
self.set_common_params(common_params, overwrite=True)
107107

108108
# set burr config
109109
self.burr_kwargs = config.get("burr_kwargs", None)

scrapegraphai/nodes/fetch_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(
4343
node_config: Optional[dict] = None,
4444
node_name: str = "Fetch",
4545
):
46-
super().__init__(node_name, "node", input, output, 1)
46+
super().__init__(node_name, "node", input, output, 1, node_config)
4747

4848
self.headless = (
4949
True if node_config is None else node_config.get("headless", True)

0 commit comments

Comments
 (0)