Skip to content

Commit b21f61b

Browse files
authored
Merge pull request #976 from flst01/patch-1
Fix for Issue #975. Reennabling Burr compatibilty for SmartScraperGraph
2 parents a1cfa98 + e660914 commit b21f61b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
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,

scrapegraphai/nodes/parse_node.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def execute(self, state: dict) -> dict:
121121

122122
state.update({self.output[0]: chunks})
123123
state.update({"parsed_doc": chunks})
124-
state.update({"content": chunks})
125124

126125
if self.parse_urls:
127126
state.update({self.output[1]: link_urls})

0 commit comments

Comments
 (0)