# n8n Web Scraper Tool

**Version:** 1.2.0 (Markdown Edition)

## Endpoints

- `POST /scrape` - Scrape a website and return markdown
- `GET /health` - Health check
- `GET /` - This info page

## Usage

**Method:** POST  
**URL:** `/scrape`  
**Content-Type:** application/json

### Request Body Example

```json
{
  "url": "https://example.com",
  "render_js": false,
  "wait_selector": "#main",
  "scroll_to_bottom": false,
  "wait_time_ms": 0,
  "timeout": 30
}
```

### Response Format

Returns structured markdown with:
- Page title and metadata
- HTTP status and rendering method
- Page structure (headings)
- Content preview
- Any errors or warnings
