Spaces:
Build error
Build error
Upload folder using huggingface_hub
Browse files
app/api/scrape-url-enhanced/route.ts
CHANGED
|
@@ -44,8 +44,8 @@ export async function POST(request: NextRequest) {
|
|
| 44 |
body: JSON.stringify({
|
| 45 |
url,
|
| 46 |
formats: ['markdown', 'html', 'screenshot'],
|
| 47 |
-
waitFor:
|
| 48 |
-
timeout:
|
| 49 |
blockAds: true,
|
| 50 |
maxAge: 3600000, // Use cached data if less than 1 hour old (500% faster!)
|
| 51 |
actions: [
|
|
|
|
| 44 |
body: JSON.stringify({
|
| 45 |
url,
|
| 46 |
formats: ['markdown', 'html', 'screenshot'],
|
| 47 |
+
waitFor: 10000,
|
| 48 |
+
timeout: 60000,
|
| 49 |
blockAds: true,
|
| 50 |
maxAge: 3600000, // Use cached data if less than 1 hour old (500% faster!)
|
| 51 |
actions: [
|