mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-01 21:00:48 +08:00
fix(FetchNode): handling of missing browser_base key
This commit is contained in:
parent
f8ad616e10
commit
07720b6e0c
@ -75,7 +75,9 @@ class FetchNode(BaseNode):
|
|||||||
False if node_config is None else node_config.get("cut", True)
|
False if node_config is None else node_config.get("cut", True)
|
||||||
)
|
)
|
||||||
|
|
||||||
self.browser_base = node_config.get("browser_base")
|
self.browser_base = (
|
||||||
|
None if node_config is None else node_config.get("browser_base", None)
|
||||||
|
)
|
||||||
|
|
||||||
def execute(self, state):
|
def execute(self, state):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user