# Print the total number of pages crawled
print(f"Total pages crawled: {url_control_result['total']}")

```

```out
Total pages crawled: 134

```

In this example, we’re crawling the Stripe documentation website with specific URL control parameters:

- The crawler starts at [https://docs.stripe.com/](https://docs.stripe.com/) and only crawls pages under the `"/payments/*"` path
- It explicitly excludes the `"/terminal/*"` and `"/financial-connections/*"` sections
- By setting allowBackwardLinks to false, it won’t revisit already crawled pages
- External links are ignored ( `allowExternalLinks: false`)
- The scraping is configured to only capture HTML content

This targeted approach helps focus the crawl on relevant content while avoiding unnecessary pages, making the crawl more efficient and focused on the specific documentation sections we need.

Another critical parameter is `maxDepth`, which lets you control how many levels deep the crawler will traverse from the starting URL. For example, a `maxDepth` of 2 means it will crawl the initial page and pages linked from it, but won’t go further.

Here is another sample request on the Stripe API docs:

```python