---
title: "CrawlResult"
description: "One fetched path and the response the router produced for it."
url: "https://pitlane.tools/package/crawler/interface/CrawlResult"
---

# CrawlResult

```ts
import type { CrawlResult } from "@pitlane/crawler";
```

One fetched path and the response the router produced for it.

## Properties

### filepath

```ts
filepath: string;
```

Where the response belongs on disk. HTML lands at `<pathname>/index.html` so a static host serves it for the original path; everything else keeps its own path.

---

### pathname

```ts
pathname: string;
```

The path that was requested, exactly as it was queued.

---

### response

```ts
response: Response;
```

The router's response. Unconsumed: the body is still readable.
