Skip to content
//Sitemap Extractor example\\

URLs from a sitemap.xml file, 15 URLs

Reads a sitemap file directly.

Updated October 21, 2026

Input

The input this example runs Sitemap Extractor with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Websites or sitemap URLsstartUrls
https://playwright.dev/sitemap.xml
Max URLsmaxUrls
15
Only URLs on the same domainsameDomainOnly
Yes
.json
{
  "startUrls": [
    {
      "url": "https://playwright.dev/sitemap.xml"
    }
  ],
  "sameDomainOnly": true,
  "maxUrls": 15
}

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.

No credit card. No setup calls.