Scrapegraph-ai/examples
2025-06-13 12:41:21 +02:00
..
code_generator_graph codebeaver/pre/beta-963 - . 2025-04-14 07:50:46 +00:00
csv_scraper_graph run pre commit 2025-01-12 16:35:31 +01:00
custom_graph codebeaver/pre/beta-963 - . 2025-04-14 07:50:46 +00:00
depth_search_graph run pre commit 2025-01-12 16:35:31 +01:00
document_scraper_graph feat: update terms 2025-03-10 11:27:33 +01:00
extras codebeaver/pre/beta-963 - . 2025-04-14 07:50:46 +00:00
json_scraper_graph run pre commit 2025-01-12 16:35:31 +01:00
markdownify feat: add markdownify endpoint 2025-06-13 12:41:21 +02:00
omni_scraper_graph run pre commit 2025-01-12 16:35:31 +01:00
script_generator_graph codebeaver/pre/beta-963 - . 2025-04-14 07:50:46 +00:00
search_graph feat: add scrapegraphai integration 2025-06-13 11:12:09 +02:00
smart_scraper_graph feat: add scrapegraphai integration 2025-06-13 11:12:09 +02:00
speech_graph run pre commit 2025-01-12 16:35:31 +01:00
xml_scraper_graph run pre commit 2025-01-12 16:35:31 +01:00
readme.md run pre commit 2025-01-12 16:35:31 +01:00
ScrapegraphAI_cookbook.ipynb codebeaver/pre/beta-963 - . 2025-04-14 07:50:46 +00:00

🕷️ Scrapegraph-ai Examples

This directory contains various example implementations of Scrapegraph-ai for different use cases. Each example demonstrates how to leverage the power of Scrapegraph-ai for specific scenarios.

Note: While these examples showcase implementations using OpenAI and Ollama, Scrapegraph-ai supports many other LLM providers! Check out our documentation for the full list of supported providers.

📚 Available Examples

  • 🧠 smart_scraper/ - Advanced web scraping with intelligent content extraction
  • 🔎 search_graph/ - Web search and data retrieval
  • ⚙️ script_generator_graph/ - Automated script generation
  • 🌐 depth_search_graph/ - Deep web crawling and content exploration
  • 📊 csv_scraper_graph/ - Scraping and processing data into CSV format
  • 📑 xml_scraper_graph/ - XML data extraction and processing
  • 🎤 speech_graph/ - Speech processing and analysis
  • 🔄 omni_scraper_graph/ - Universal web scraping for multiple data types
  • 🔍 omni_search_graph/ - Comprehensive search across multiple sources
  • 📄 document_scraper_graph/ - Document parsing and data extraction
  • 🛠️ custom_graph/ - Custom graph implementation examples
  • 💻 code_generator_graph/ - Code generation utilities
  • 📋 json_scraper_graph/ - JSON data extraction and processing
  • 📋 colab example: Open In Colab

🚀 Getting Started

  1. Choose the example that best fits your use case
  2. Navigate to the corresponding directory
  3. Follow the README instructions in each directory
  4. Configure any required environment variables using the provided .env.example files

Quick Setup

pip install scrapegraphai

playwright install

# choose an example
cd examples/smart_scraper_graph/openai

# run the example
python smart_scraper_openai.py

📋 Requirements

Each example may have its own specific requirements. Please refer to the individual README files in each directory for detailed setup instructions.

📚 Additional Resources

🤔 Need Help?


Don't forget to star our repository if you find these examples helpful!