Script

These Bash scripts interact with the Internet Archive Wayback Machine Save Page Now service to archive live webpages.

github.com/overcast07/wayback-machine-spn-scri…
Script homepage screenshot

About Script

spn.sh is a Bash script that asks the Internet Archive Wayback Machine's Save Page Now service to save live web pages. It accepts a URL or a file of URLs, runs capture jobs in parallel, automatically retries failed captures, can recursively save outlinks with inclusion and exclusion rules, and can resume an aborted session. Logs and data are stored in a new folder under ~/spn-data, with dates and times in UTC.

The project states it is not affiliated with the Internet Archive. Server-side changes to Save Page Now can make the script outdated quickly, and older revisions are not supported and may not work.

Key features

  • Run multiple Save Page Now capture jobs in parallel
  • Automatically retry failed captures with error handling
  • Recursively save outlinks with inclusion and exclusion filters
  • Resume an aborted archiving session
  • Support optional API authentication for requests
  • Store logs and data in ~/spn-data with UTC timestamps
Best for: People comfortable running Bash scripts who need to archive multiple live pages to the Wayback Machine.
Good for
  • Works on Linux, macOS, BSD, and Windows 10 WSL
  • Uses POST requests that return more capture data than non-authenticated GET requests
  • Available as an Arch Linux AUR package
Watch out for
  • Not affiliated with the Internet Archive and can become outdated quickly from server-side changes
  • Older revisions are not supported and may not work
  • Captures can still fail for some content, such as slow-loading pages

Script at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Platforms
Linux, macOS, Windows
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Script alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

wayback

github.com/wabarc/wayback

An archiving tool with an IM-style interface that prioritizes privacy and accessibility, integrated with various archival services including Internet Archive, archive.today, Ghostarchive, IPFS, Telegraph, and file systems.

Open source
24 alternatives

Popular in Web Archives

Well-known listings from the same topic.

All 46

Script FAQ

How do I install and run spn.sh?
Download the script and make it executable with chmod a+x spn.sh, then run it directly without compiling. On Arch Linux it can also be installed with yay -S wayback-spn-script-git.
What input does the script require?
The first argument as a file name or URL. If the file does not exist or more than one argument is given, the input is treated as a set of URLs. A previous session can also be resumed.
Where does the script store output?
It creates a sub-subfolder of ~/spn-data for logs and data, sends some information to standard output, and uses UTC for dates and times.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing