From 3eacc6fbc372b5b26c46afa5c2b0fac4db1368ab Mon Sep 17 00:00:00 2001 From: VinciGit00 Date: Mon, 29 Apr 2024 16:07:11 +0200 Subject: [PATCH] add paths --- scrapegraphai/graphs/json_scraper_graph.py | 2 +- scrapegraphai/graphs/xml_scraper_graph.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapegraphai/graphs/json_scraper_graph.py b/scrapegraphai/graphs/json_scraper_graph.py index 7f24da6d..456f5e56 100644 --- a/scrapegraphai/graphs/json_scraper_graph.py +++ b/scrapegraphai/graphs/json_scraper_graph.py @@ -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( diff --git a/scrapegraphai/graphs/xml_scraper_graph.py b/scrapegraphai/graphs/xml_scraper_graph.py index 5b1e3282..07e407ce 100644 --- a/scrapegraphai/graphs/xml_scraper_graph.py +++ b/scrapegraphai/graphs/xml_scraper_graph.py @@ -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(