Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
rename graph name
roryhaung28dda2b476e1
diff --git a/tests/graphs/smart_scraper_multi_parse_merge_first_graph_openai_test.py b/tests/graphs/smart_scraper_multi_lite_graph_openai_test.pysimilarity index 70%rename from tests/graphs/smart_scraper_multi_parse_merge_first_graph_openai_test.pyrename to tests/graphs/smart_scraper_multi_lite_graph_openai_test.pyindex 506ce5da..0a0e0a69 100644--- a/tests/graphs/smart_scraper_multi_parse_merge_first_graph_openai_test.py+++ b/tests/graphs/smart_scraper_multi_lite_graph_openai_test.py@@ -6,7 +6,7 @@ import osimport pytestimport pandas as pdfrom dotenv import load_dotenv-from scrapegraphai.graphs import SmartScraperMultiParseConcatFirstGraph+from scrapegraphai.graphs import SmartScraperMultiLiteGraphfrom scrapegraphai.utils import prettify_exec_infoload_dotenv()@@ -27,7 +27,7 @@ def graph_config():def test_scraping_pipeline(graph_config):"""Start of the scraping pipeline"""- smart_scraper_multi_parse_concat_first_graph = SmartScraperMultiParseConcatFirstGraph(+ smart_scraper_multi_lite_graph = SmartScraperMultiLiteGraph(prompt="Who is Marco Perini?",source= ["https://perinim.github.io/",@@ -36,14 +36,14 @@ def test_scraping_pipeline(graph_config):config=graph_config,)- result = smart_scraper_multi_parse_concat_first_graph.run()+ result = smart_scraper_multi_lite_graph.run()assert result is not Noneassert isinstance(result, dict)def test_get_execution_info(graph_config):"""Get the execution info"""- smart_scraper_multi_parse_concat_first_graph = SmartScraperMultiParseConcatFirstGraph(+ smart_scraper_multi_lite_graph = SmartScraperMultiLiteGraph(prompt="Who is Marco Perini?",source= ["https://perinim.github.io/",@@ -52,8 +52,8 @@ def test_get_execution_info(graph_config):config=graph_config,)- smart_scraper_multi_parse_concat_first_graph.run()+ smart_scraper_multi_lite_graph.run()- graph_exec_info = smart_scraper_multi_parse_concat_first_graph.get_execution_info()+ graph_exec_info = smart_scraper_multi_lite_graph.get_execution_info()assert graph_exec_info is not None