You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated requirements.txt to use scrapegraph-py instead of scrapegraphai
- Updated .env.example with SGAI_API_KEY
- Updated config.py to use sgai_api_key
- Rewrote scraper.py to use scrapegraph-py SDK with Client API
- Added close() method to scraper for proper cleanup
- Updated all example files to call scraper.close()
- Updated quickstart.py with SDK-aware messaging
- Updated tests to work with SDK-based implementation
- Updated README.md with SDK documentation and instructions
Co-authored-by: lurenss <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+60-19Lines changed: 60 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,25 @@
1
1
# ScrapeGraphAI Elasticsearch Demo
2
2
3
-
A comprehensive demo project showcasing the integration of **ScrapeGraphAI SDK** with **Elasticsearch** for intelligent marketplace product scraping, storage, and comparison.
3
+
A comprehensive demo project showcasing the integration of **ScrapeGraphAI API (via scrapegraph-py SDK)** with **Elasticsearch** for intelligent marketplace product scraping, storage, and comparison.
4
+
5
+
> **Note**: This demo uses the `scrapegraph-py` SDK which provides API-based scraping through ScrapeGraphAI's cloud service. This means simpler setup, no local LLM requirements, and managed infrastructure.
4
6
5
7
## 🚀 Features
6
8
7
-
-**Web Scraping with ScrapeGraphAI**: Leverage AI-powered scraping to extract structured product data from marketplace websites
9
+
-**Web Scraping with ScrapeGraphAI API**: Leverage cloud-based AI scraping to extract structured product data from marketplace websites
10
+
-**Simple SDK Integration**: Use the `scrapegraph-py` SDK for easy API-based scraping
8
11
-**Elasticsearch Integration**: Store and index product data for powerful search and analytics
9
12
-**Multi-Marketplace Support**: Scrape and compare products across different marketplaces (Amazon, eBay, etc.)
10
13
-**Product Comparison**: Advanced features to compare products by price, ratings, and specifications
11
14
-**Flexible Search**: Full-text search with filters for marketplace, price range, and more
12
15
-**Data Analytics**: Aggregations and statistics on product data
16
+
-**No Local LLM Setup**: All AI processing happens in the cloud - just use your API key
13
17
14
18
## 📋 Prerequisites
15
19
16
20
- Python 3.8 or higher
17
21
- Docker and Docker Compose (for Elasticsearch)
18
-
-OpenAI API key (optional, for AI-powered scraping)
22
+
-ScrapeGraphAI API key (get one at [scrapegraphai.com](https://scrapegraphai.com))
0 commit comments