mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-06-12 21:01:54 +08:00
Update fetch_node.py
This commit is contained in:
parent
f2260ce705
commit
c19d83f994
@ -9,7 +9,7 @@ from scrapegraphai.nodes import FetchNode
|
||||
# ************************************************
|
||||
|
||||
|
||||
robots_node = FetchNode(
|
||||
fetch_node = FetchNode(
|
||||
input="url | local_dir",
|
||||
output=["doc"],
|
||||
node_config={
|
||||
@ -25,6 +25,6 @@ state = {
|
||||
"url": "https://twitter.com/home"
|
||||
}
|
||||
|
||||
result = robots_node.execute(state)
|
||||
result = fetch_node.execute(state)
|
||||
|
||||
print(result)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user