mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-06-25 21:11:11 +08:00
add paths
This commit is contained in:
parent
674e64222e
commit
3eacc6fbc3
@ -30,7 +30,7 @@ class JsonScraperGraph(AbstractGraph):
|
||||
Creates the graph of nodes representing the workflow for web scraping.
|
||||
"""
|
||||
fetch_node = FetchNode(
|
||||
input="url | local_dir",
|
||||
input="json | json_dir",
|
||||
output=["doc"],
|
||||
)
|
||||
parse_node = ParseNode(
|
||||
|
||||
@ -30,7 +30,7 @@ class XmlScraperGraph(AbstractGraph):
|
||||
Creates the graph of nodes representing the workflow for web scraping.
|
||||
"""
|
||||
fetch_node = FetchNode(
|
||||
input="url | local_dir",
|
||||
input="xml | xml_dir",
|
||||
output=["doc"],
|
||||
)
|
||||
parse_node = ParseNode(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user