Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
add example
Marco Vinciguerra5dc616588138
diff --git a/examples/anthropic/pdf_scraper_graph_haiku.py b/examples/anthropic/pdf_scraper_graph_haiku.pyindex cf7e8326..5715382a 100644--- a/examples/anthropic/pdf_scraper_graph_haiku.py+++ b/examples/anthropic/pdf_scraper_graph_haiku.py@@ -28,28 +28,10 @@ source = """the Beatrice of his earlier poetry, through the celestial spheres of Paradise."""-schema = """- {- "type": "object",- "properties": {- "summary": {- "type": "string"- },- "topics": {- "type": "array",- "items": {- "type": "string"- }- }- }- }-"""-pdf_scraper_graph = PDFScraperGraph(prompt="Summarize the text and find the main topics",source=source,config=graph_config,- schema=schema,)result = pdf_scraper_graph.run()diff --git a/examples/anthropic/smart_scraper_haiku.py b/examples/anthropic/smart_scraper_haiku.pyindex 8d2cf05c..f0bb2a57 100644--- a/examples/anthropic/smart_scraper_haiku.py+++ b/examples/anthropic/smart_scraper_haiku.py@@ -9,7 +9,6 @@ from scrapegraphai.utils import prettify_exec_info# required environment variables in .env-# HUGGINGFACEHUB_API_TOKEN# ANTHROPIC_API_KEYload_dotenv()