|
1 |
| -# Scrapegraph-ai Examples |
| 1 | +# 🕷️ Scrapegraph-ai Examples |
2 | 2 |
|
3 |
| -This directory contains various example implementations of Scrapegraph-ai for different use cases. |
| 3 | +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. |
4 | 4 |
|
5 |
| -If you want more specific examples, visit [this](https://github.com/ScrapeGraphAI/ScrapegraphLib-Examples). |
| 5 | +> **Note:** While these examples showcase implementations using OpenAI and Ollama, Scrapegraph-ai supports many other LLM providers! Check out our [documentation](https://docs-oss.scrapegraphai.com/examples) for the full list of supported providers. |
6 | 6 |
|
7 |
| -## Available Examples |
| 7 | +## 📚 Available Examples |
8 | 8 |
|
9 |
| -- `smart_scraper/` - Advanced web scraping with intelligent content extraction |
10 |
| -- `depth_search_graph/` - Deep web crawling and content exploration |
11 |
| -- `csv_scraper_graph/` - Scraping and processing data into CSV format |
12 |
| -- `xml_scraper_graph/` - XML data extraction and processing |
13 |
| -- `speech_graph/` - Speech processing and analysis |
14 |
| -- `omni_scraper_graph/` - Universal web scraping for multiple data types |
15 |
| -- `omni_search_graph/` - Comprehensive search across multiple sources |
16 |
| -- `document_scraper_graph/` - Document parsing and data extraction |
17 |
| -- `script_generator_graph/` - Automated script generation |
18 |
| -- `custom_graph/` - Custom graph implementation examples |
19 |
| -- `code_generator_graph/` - Code generation utilities |
20 |
| -- `json_scraper_graph/` - JSON data extraction and processing |
21 |
| -- `search_graph/` - Web search and data retrieval |
| 9 | +- 🧠 `smart_scraper/` - Advanced web scraping with intelligent content extraction |
| 10 | +- 🔎 `search_graph/` - Web search and data retrieval |
| 11 | +- ⚙️ `script_generator_graph/` - Automated script generation |
| 12 | +- 🌐 `depth_search_graph/` - Deep web crawling and content exploration |
| 13 | +- 📊 `csv_scraper_graph/` - Scraping and processing data into CSV format |
| 14 | +- 📑 `xml_scraper_graph/` - XML data extraction and processing |
| 15 | +- 🎤 `speech_graph/` - Speech processing and analysis |
| 16 | +- 🔄 `omni_scraper_graph/` - Universal web scraping for multiple data types |
| 17 | +- 🔍 `omni_search_graph/` - Comprehensive search across multiple sources |
| 18 | +- 📄 `document_scraper_graph/` - Document parsing and data extraction |
| 19 | +- 🛠️ `custom_graph/` - Custom graph implementation examples |
| 20 | +- 💻 `code_generator_graph/` - Code generation utilities |
| 21 | +- 📋 `json_scraper_graph/` - JSON data extraction and processing |
22 | 22 |
|
23 |
| -## Getting Started |
| 23 | +## 🚀 Getting Started |
24 | 24 |
|
25 | 25 | 1. Choose the example that best fits your use case
|
26 | 26 | 2. Navigate to the corresponding directory
|
27 | 27 | 3. Follow the README instructions in each directory
|
28 | 28 | 4. Configure any required environment variables using the provided `.env.example` files
|
29 | 29 |
|
30 |
| -## Requirements |
| 30 | +## ⚡ Quick Setup |
| 31 | + |
| 32 | +```bash |
| 33 | +pip install scrapegraphai |
| 34 | + |
| 35 | +playwright install |
| 36 | + |
| 37 | +# choose an example |
| 38 | +cd examples/smart_scraper_graph/openai |
| 39 | + |
| 40 | +# run the example |
| 41 | +python smart_scraper_openai.py |
| 42 | +``` |
| 43 | + |
| 44 | +## 📋 Requirements |
31 | 45 |
|
32 | 46 | Each example may have its own specific requirements. Please refer to the individual README files in each directory for detailed setup instructions.
|
| 47 | + |
| 48 | +## 📚 Additional Resources |
| 49 | + |
| 50 | +- 📖 [Full Documentation](https://docs-oss.scrapegraphai.com/examples) |
| 51 | +- 💡 [Examples Repository](https://github.com/ScrapeGraphAI/ScrapegraphLib-Examples) |
| 52 | +- 🤝 [Community Support](https://github.com/ScrapeGraphAI/scrapegraph-ai/discussions) |
| 53 | + |
| 54 | +## 🤔 Need Help? |
| 55 | + |
| 56 | +- Check out our [documentation](https://docs-oss.scrapegraphai.com) |
| 57 | +- Join our [Discord community](https://discord.gg/scrapegraphai) |
| 58 | +- Open an [issue](https://github.com/ScrapeGraphAI/scrapegraph-ai/issues) |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +⭐ Don't forget to star our repository if you find these examples helpful! |
0 commit comments