Skip to content

Commit 8cf9685

Browse files
committed
feat: update parse node
1 parent 2c0b459 commit 8cf9685

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scrapegraphai/nodes/parse_node.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def execute(self, state: dict) -> dict:
7878
self.logger.info(f"--- Executing {self.node_name} Node ---")
7979

8080
input_keys = self.get_input_keys(state)
81-
8281
input_data = [state[key] for key in input_keys]
8382
docs_transformed = input_data[0]
8483
source = input_data[1] if self.parse_urls else None
@@ -121,6 +120,9 @@ def execute(self, state: dict) -> dict:
121120
)
122121

123122
state.update({self.output[0]: chunks})
123+
state.update({"parsed_doc": chunks})
124+
state.update({"content": chunks})
125+
124126
if self.parse_urls:
125127
state.update({self.output[1]: link_urls})
126128
state.update({self.output[2]: img_urls})

0 commit comments

Comments
 (0)