webpeel 0.21.21 → 0.21.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,6 +150,7 @@ export function createSearchRouter(authStore) {
150
150
  }
151
151
  }
152
152
  // Enrich top N results in parallel with timeout (fast alternative to scrapeResults)
153
+ // IMPORTANT: forceBrowser=false, stealth=false to prevent OOM on 512MB containers
153
154
  if (enrichCount > 0 && !shouldScrape) {
154
155
  const ENRICH_TIMEOUT = 4000; // 4s hard timeout per URL
155
156
  const toEnrich = results.slice(0, enrichCount);
@@ -157,6 +158,8 @@ export function createSearchRouter(authStore) {
157
158
  const fetchPromise = peel(result.url, {
158
159
  format: 'markdown',
159
160
  maxTokens: 1500,
161
+ render: false,
162
+ stealth: false,
160
163
  }).then(peelResult => ({
161
164
  url: result.url,
162
165
  content: peelResult.content?.substring(0, 1500) || null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpeel",
3
- "version": "0.21.21",
3
+ "version": "0.21.22",
4
4
  "description": "Fast web fetcher for AI agents - stealth mode, crawl mode, page actions, structured extraction, PDF parsing, smart escalation from simple HTTP to headless browser",
5
5
  "author": "Jake Liu",
6
6
  "license": "AGPL-3.0-only",