We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c5a59b commit e72de2eCopy full SHA for e72de2e
scrapegraph-js/README.md
@@ -107,6 +107,26 @@ const schema = z.object({
107
})();
108
```
109
110
+### Search Scraping
111
+
112
+Search and extract information from multiple web sources using AI.
113
114
+```javascript
115
+import { searchScraper } from 'scrapegraph-js';
116
117
+const apiKey = 'your-api-key';
118
+const prompt = 'What is the latest version of Python and what are its main features?';
119
120
+(async () => {
121
+ try {
122
+ const response = await searchScraper(apiKey, prompt);
123
+ console.log(response.result);
124
+ } catch (error) {
125
+ console.error('Error:', error);
126
+ }
127
+})();
128
+```
129
130
### Scraping local HTML
131
132
Extract structured data from local HTML content
0 commit comments