Kembali ke Crawler
Sambungkan Knoon AI dengan Crawler (Web Intelligence) untuk mengotomatisasi alur kerja AI.
Fetch a web page and return extracted content with high chances of succeeding and not being blocked.
webIntelligenceCrawlerScrapeUrl
Beta
Izin
Tidak ada item untuk ditampilkan.
Izin opsional
Tidak ada item untuk ditampilkan.
Parameter
| Nama | Tipe | Deskripsi | Wajib |
|---|---|---|---|
| url | mustache | Public URL to scrape (e.g. "https://example.com/article"). | Ya |
| formats | array (mustache) | Optional list of formats to return (e.g. ["markdown","html"]). Defaults to ["markdown"]. | Tidak |
| onlyMainContent | boolean | If true, attempts to return only the primary page content. | Tidak |
| waitFor | mustache | Optional wait time in milliseconds before scraping (e.g. "2000"). | Tidak |
| timeout | mustache | Optional timeout in milliseconds for the scrape request. | Tidak |
Pengembalian
| Nama | Tipe | Deskripsi |
|---|---|---|
| status | string | OK or ERROR. |
| url | string | The scraped URL. |
| content.markdown | string | Markdown content when available. |
| content.html | string | HTML content when available. |
| content.text | string | Plain text content when available. |
| metadata | object | Metadata when available. |
| links | array | Extracted links when available (shape may vary by source; commonly URL strings). |