Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ScrapeGraphAI/Scrapegraph-ai
/ test_fetch_txt
Function
test_fetch_txt
tests/nodes/fetch_node_test.py:69–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
67
68
69
def
test_fetch_txt():
70
node = FetchNode(
71
input=
"txt"
,
72
output=[
"doc"
,
"links"
,
"images"
],
73
)
74
with
open(
"inputs/plain_html_example.txt"
)
as
f:
75
result = node.execute({
"txt"
: f.read()})
76
assert result is not None
Callers
nothing calls this directly
Calls
2
execute
Method · 0.95
FetchNode
Class · 0.90
Tested by
no test coverage detected