File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 17
17
from .base_node import BaseNode
18
18
19
19
20
+ """"
21
+ FetchNode Module
22
+ """
20
23
class FetchNode (BaseNode ):
21
24
"""
22
25
A node responsible for fetching the HTML content of a specified URL and updating
@@ -68,14 +71,16 @@ def __init__(
68
71
False if node_config is None else node_config .get ("script_creator" , False )
69
72
)
70
73
self .openai_md_enabled = (
71
- False if node_config is None else node_config .get ("script_creator " , False )
74
+ False if node_config is None else node_config .get ("openai_md_enabled " , False )
72
75
)
73
76
74
77
self .cut = (
75
78
False if node_config is None else node_config .get ("cut" , True )
76
79
)
77
80
78
- self .browser_base = node_config .get ("browser_base" )
81
+ self .browser_base = (
82
+ None if node_config is None else node_config .get ("browser_base" )
83
+ )
79
84
80
85
def execute (self , state ):
81
86
"""
You can’t perform that action at this time.
0 commit comments