Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To archive the pages listed in a sitemap with ArchiveBox, extract the sitemap’s page URLs into a plain-text file with one URL per line, then run archivebox add < urls.txt from your ArchiveBox data directory. ArchiveBox documents URL-list imports and XML/feed input, but its documentation does not guarantee that every sitemap format or nested sitemap index will be expanded automatically.

Prepare the sitemap URL list

  1. Find the site’s sitemap, often linked from its robots.txt. If it is a sitemap index, identify its child sitemaps and include the page URLs from those files too.
  2. Use a sitemap-aware XML tool or script to extract each page’s <loc> value into a plain-text file. Put one complete URL on each line.
  3. Review the list before importing: preserve the URLs as listed, remove entries you do not want to archive, and check for duplicates if needed.

These discovery and extraction steps are a general XML workflow; they are not a claim that ArchiveBox automatically finds a sitemap or expands every sitemap index.

Import the URLs with ArchiveBox

From the ArchiveBox data directory, pass the prepared list on standard input:

archivebox add < urls.txt

The same input can be piped directly:

cat urls.txt | archivebox add

ArchiveBox’s quickstart documents piping input to archivebox add. See the ArchiveBox usage documentation and project overview for the documented import mechanisms and parser context.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Run the import in Docker

When piping into a Docker container, pass standard input through with -i and mount the ArchiveBox data directory at /data:

cat urls.txt | docker run --rm -v "$PWD:/data" -i archivebox/archivebox:dev add

Run the import with Docker Compose

The documented Compose example uses -T when piping the URL list:

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
cat urls.txt | docker compose run --rm -T archivebox add

Can ArchiveBox read sitemap XML directly?

ArchiveBox guidance says it accepts RSS, XML, Netscape, and other supported import formats through standard input, and the repository overview illustrates an XML feed parser plugin. That establishes some XML/feed import support, not guaranteed parsing for every sitemap format, namespace variant, sitemap index, or very large file in every release. Check the help output and parser plugins for your installed version if you want to pass XML directly.

If ArchiveBox imports the XML document as a single page instead of expanding its listed locations, extract the sitemap’s <loc> entries to a one-URL-per-line text file and import that list as shown above. Avoid assuming that supplying a remote sitemap URL as an ordinary page argument will archive all of its listed pages: input behavior depends on the documented import path and compatible parser.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Verify what was archived

Importing URLs submits them to ArchiveBox; it does not guarantee that each target page can be reached or captured. After the command finishes, inspect the resulting archive and its failures or omissions. Pages may require authentication, block automated retrieval, redirect, or have been removed.

Troubleshooting and scale

  • The sitemap appears as one archived page: Extract the <loc> values first, or confirm that a compatible parser is enabled for your installed ArchiveBox version.
  • Docker receives no URLs: Include -i so Docker forwards piped standard input into the container.
  • Compose receives no URLs: Use the documented -T option for the piped command.
  • Some pages are missing or fail: Inspect the archive output. Importing a URL cannot overcome removed pages, access requirements, redirects, or automated-request blocks.
  • The sitemap is very large: The documentation cited here establishes no universal batch size, throughput, or timeout. Test a representative sample, monitor failures, and tune the import to your deployment rather than relying on a fixed limit.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

For capturing individual pages as images or PDFs rather than importing a sitemap into ArchiveBox, ScreenshotNeo offers a one-request screenshot API and an MCP server for AI agents. Its API is not a substitute for extracting and bulk-importing a sitemap into ArchiveBox.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.89
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
SaleBestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$159.99
Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.
Rank #4
Sale
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Example request:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for setup and options. ScreenshotNeo removes cookie banners, popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed; and its MCP server lets AI agents take screenshots. The Free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000.

Sign up for ScreenshotNeo’s free plan.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.