Skip to content

Commit 79c8046

Browse files
authored
Fix issue: Burr integration by updating fetch_node.py
Before Burr integration would cause an error in fetch: ValueError: Action Fetch attempted to write to keys {'original_html'} that it did not declare. It declared: (['doc'])!
1 parent fbb9893 commit 79c8046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapegraphai/nodes/fetch_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def handle_web_source(self, state, source):
356356
compressed_document = [
357357
Document(page_content=parsed_content, metadata={"source": "html file"})
358358
]
359-
state["original_html"] = document
359+
state["doc"] = document
360360
state.update(
361361
{
362362
self.output[0]: compressed_document,

0 commit comments

Comments
 (0)