Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Minor typo fix for clarity
Eric Page67d8fec6b3ff
diff --git a/examples/openai/script_generator_openai.py b/examples/openai/script_generator_openai.pyindex e731f852..78750a37 100644--- a/examples/openai/script_generator_openai.py+++ b/examples/openai/script_generator_openai.py@@ -27,19 +27,19 @@ graph_config = {# Create the ScriptCreatorGraph instance and run it# ************************************************-smart_scraper_graph = ScriptCreatorGraph(- prompt="List me all the news with their description.",+script_creator_graph = ScriptCreatorGraph(+ prompt="List me all the projects with their description.",# also accepts a string with the already downloaded HTML codesource="https://perinim.github.io/projects",config=graph_config)-result = smart_scraper_graph.run()+result = script_creator_graph.run()print(result)# ************************************************# Get graph execution info# ************************************************-graph_exec_info = smart_scraper_graph.get_execution_info()+graph_exec_info = script_creator_graph.get_execution_info()print(prettify_exec_info(graph_exec_info))