# Crawl the first 5 pages of the stripe API documentation
stripe_crawl_result = app.crawl_url(
    url="https://docs.stripe.com/api",
    params={
        "limit": 5,
        "scrapeOptions": {
            "formats": ["markdown", "html"],
            "includeTags": ["code", "#page-header"],
            "excludeTags": ["h1", "h2", ".main-content"],
        },
    },
)

```

Crawling large websites can take a long time and when appropriate, these small tweaks can have a big impact on the runtime.

### URL Control

Apart from scraping configurations, you have four options to specify URL patterns to include or exclude during crawling:

- `includePaths` \- targeting specific sections
- `excludePaths` \- avoiding unwanted content
- `allowBackwardLinks` \- handling cross-references
- `allowExternalLinks` \- managing external content

Here is a sample request that uses these parameters:

```python