Update fetch_node.py
Some checks failed
CodeQL / Analyze (python) (push) Has been cancelled
Python application / build (push) Has been cancelled
Release / Build (push) Has been cancelled
Release / Release (push) Has been cancelled

This commit is contained in:
Marco Vinciguerra 2024-07-11 18:03:10 +02:00 committed by GitHub
parent f2260ce705
commit c19d83f994
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)