A powerful Dify datasource plugin that integrates with Watercrawl to recursively crawl websites and extract clean, LLM-ready content for AI applications.
- Get API Key: Sign up at Watercrawl and get your API key
- Install Plugin: Add the Watercrawl datasource in your Dify workspace
- Configure: Enter your API key and start crawling websites
- Extract: Get clean, structured content ready for your AI models
| Feature | Description |
|---|---|
| π·οΈ Recursive Crawling | Automatically discover and crawl linked pages |
| β‘ Fast Mode | Skip rendering for 3x faster crawling |
| π Depth Control | Limit crawl depth to control scope |
| π― Smart Extraction | Extract main content, skip navigation/ads |
| π URL Filtering | Include/exclude specific URL patterns |
| π Progress Tracking | Real-time crawl status monitoring |
| π Clean Output | Markdown-formatted, LLM-optimized content |
| π Self-Hosted | Use cloud service or your own instance |
Before using this plugin, you need:
- A Watercrawl API key (for cloud service) or self-hosted Watercrawl instance
- Target URLs ready for crawling
- Understanding of your crawling requirements (depth, limits, patterns)
# 1. Get your API key from Watercrawl dashboard
https://app.watercrawl.dev/dashboard/api-keys
# 2. Configure in Dify
Base URL: https://api.watercrawl.dev # (or leave empty)
API Key: wc_your_api_key_here# 1. Deploy your Watercrawl instance
# Follow: https://docs.watercrawl.dev/self-hosted/overview
# 2. Configure in Dify
Base URL: https://your-watercrawl-instance.com
API Key: any-value # (required but can be arbitrary)Extract content from one specific page:
Start URL: https://example.com/article
Maximum crawl depth: 1
Maximum pages to crawl: 1
Only main content: trueCrawl an entire website systematically:
Start URL: https://example.com
Maximum crawl depth: 2
Maximum pages to crawl: 50
URL patterns to include: # (optional)
URL patterns to exclude: admin/*, login/*Focus on specific website sections:
Start URL: https://docs.example.com
Maximum crawl depth: 3
Maximum pages to crawl: 100
URL patterns to include: api/*, guides/*, tutorials/*
URL patterns to exclude: archive/*, changelog/*| Parameter | Type | Default | Description |
|---|---|---|---|
| Start URL | string |
required | Base URL to begin crawling |
| Ignore rendering | boolean |
false |
Skip page rendering for faster crawling |
| URL patterns to exclude | string |
- | Comma-separated exclude patterns: blog/*, about/* |
| URL patterns to include | string |
- | Comma-separated include patterns: docs/*, api/* |
| Maximum crawl depth | number |
1 |
How deep to crawl (1 = start URL only) |
| Maximum pages to crawl | number |
1 |
Total page limit for the crawl job |
| Only main content | boolean |
false |
Extract main content, skip nav/footer |
| Proxy Server Slug | string |
- | Proxy server identifier (optional) |
Depth 1: [Start URL] β Direct links
Depth 2: [Start URL] β Direct links β Links from those pages
Depth 3: [Start URL] β Direct links β 2nd level β 3rd level pages
Include Only Specific Sections:
blog/*, docs/api/*, products/*/specs
Exclude Unwanted Areas:
admin/*, login/*, tag/*, category/*
Each crawled page returns structured data:
{
"source_url": "https://example.com/page",
"title": "Page Title",
"description": "Meta description",
"content": "# Clean Markdown Content\n\nParagraph text..."
}- Job Creation β Submit crawl request to Watercrawl API
- Processing β Watercrawl crawls pages based on your parameters
- Monitoring β Plugin polls job status every 5 seconds
- Extraction β Content is cleaned and formatted as Markdown
- Delivery β Structured results returned to Dify
π Documentation Indexing
Perfect for creating AI-powered knowledge bases:
Start URL: https://docs.example.com
Maximum crawl depth: 3
Maximum pages to crawl: 200
URL patterns to include: api/*, guides/*, tutorials/*
URL patterns to exclude: changelog/*, archive/*
Only main content: trueπ Content Analysis
Extract blog posts and articles for analysis:
Start URL: https://blog.example.com
Maximum crawl depth: 2
Maximum pages to crawl: 100
URL patterns to include: posts/*, articles/*
URL patterns to exclude: tag/*, author/*, comments/*
Only main content: trueποΈ E-commerce Data
Gather product information systematically:
Start URL: https://shop.example.com/products
Maximum crawl depth: 2
Maximum pages to crawl: 50
URL patterns to include: products/*
URL patterns to exclude: cart/*, checkout/*, account/*
Only main content: trueπ Competitor Research
Monitor competitor websites for changes:
Start URL: https://competitor.com
Maximum crawl depth: 2
URL patterns to include: products/*, pricing/*, features/*
URL patterns to exclude: blog/*, news/*, support/*- π§ͺ Start Small: Test with low limits first (
depth: 1,limit: 5) - π― Use Filters: Focus crawling with include/exclude patterns
- π€ Respect Robots: Check
robots.txtbefore large crawls - β‘ Fast Mode: Use
ignore_rendering: truefor speed - π Main Content: Enable for cleaner, AI-ready content
- π Monitor: Watch crawl progress for large jobs
- π Iterate: Refine patterns based on results
| Scenario | Typical Time | Recommendation |
|---|---|---|
| Single page | < 5 seconds | Use for quick extractions |
| Small site (< 20 pages) | 30-60 seconds | Good for testing patterns |
| Medium site (50-100 pages) | 2-5 minutes | Monitor progress |
| Large site (> 200 pages) | 5-15 minutes | Use during off-hours |
π‘ Tip: Deep crawling (depth > 3) can exponentially increase page count. Use cautiously!
β Authentication Errors
"API key is required" error:
- β Verify API key in Dify plugin settings
- β
Check Base URL is correct (
https://api.watercrawl.dev) - β
Ensure API key starts with
wc-
π« Crawl Failures
"Failed to crawl" error:
- β Test URL accessibility in browser
- β Check if site blocks bots (robots.txt)
- β Verify API key is valid and has credits
- β
Try with
ignore_rendering: true
π Incomplete Results
Missing expected pages:
- β Verify URL patterns with pattern tester
- β Check crawl depth covers target pages
- β Increase page limit if needed
- β Review site's internal linking structure
π Performance Issues
Crawling too slow:
- β
Enable
ignore_renderingfor 3x speed boost - β Use more specific URL patterns
- β Reduce crawl depth and page limits
- β Check your internet connection
- Free Plan: 1000 pages/month
- Startup Plan: 10,000 pages/month
- Pro Plan: 30,000 pages/month
- Enterprise: Custom limits
- Check pricing for more details
- Monitor usage: Dashboard
- No external rate limits
- Performance depends on your server resources
- π Secure: All API calls use HTTPS encryption
- π API Keys: Store securely, never in client-side code
- π Self-Hosted: Full data control for sensitive content
- π Review: Always check crawled content before use
- π¬ Plugin Issues: support@watercrawl.dev
- π Documentation: docs.watercrawl.dev
- π Bug Reports: GitHub Issues
Made with β€οΈ by the Watercrawl Team
Website β’ Documentation β’ Dashboard