# Crawl One Authorized Page to Markdown

**Use case:** 

Extract one authorized public HTML page into clean Markdown with source-linked chunks. Replace the sandbox URL with a page you may process and declare the correct rights basis. Use the PAGE row in your RAG or docs pipeline; run again after the page changes.

## Input

```json
{
  "sources": [
    {
      "url": "https://books.toscrape.com/",
      "scope": "page",
      "rightsBasis": "permission",
      "rightsReference": "https://books.toscrape.com/",
      "attribution": "Scraping practice sandbox (books.toscrape.com)"
    }
  ],
  "sitemapUrls": [],
  "discoverSitemaps": false,
  "includeUrlGlobs": [],
  "excludeUrlGlobs": [],
  "maxPages": 1,
  "maxDepth": 0,
  "renderingMode": "http",
  "removeSelectors": [],
  "includeChunks": true,
  "chunkMaxChars": 6000,
  "chunkOverlapChars": 300,
  "maxDownloadMiB": 100
}
```

## Output

```json
{
  "source_url": {
    "label": "Final source URL",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "markdown": {
    "label": "Markdown",
    "format": "string"
  },
  "content_hash": {
    "label": "Content hash",
    "format": "string"
  },
  "fingerprint": {
    "label": "Semantic fingerprint",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Website Content Crawler: Markdown for AI and RAG](https://apify.com/automa-flow/website-content-crawler.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automa-flow/website-content-crawler.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/automa-flow/website-content-crawler.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
