OSINTverse

otinstaller · Websites

Install waybackpy on Windows, macOS, or Linux in one command

waybackpy is a command-line interface to the Internet Archive's Wayback Machine. It finds the oldest, newest or nearest snapshot of a page, lists every URL archived for a site, and can ask the archive to save a page now.

waybackpy in three lines

curl -fsSL https://otinstaller.com/install.sh | sh
ot install waybackpy
ot run waybackpy --url https://example.com --oldest

On Windows, replace the first line with irm https://otinstaller.com/install.ps1 | iex in PowerShell.

Runs akamhy/waybackpy (MIT, ★ 617, otinstaller 0.3.0). otinstaller installs it as a Python package, pinned to version 3.0.6; it does not change or audit the tool itself.

What waybackpy is for

  • The oldest or newest archived copy of a page.
  • Asking the Wayback Machine to save a page now.
  • Every URL the archive holds for a site (--known_urls).

Run waybackpy with ot

ot run waybackpy passes everything after the tool's name to waybackpy unchanged, with input and output passed through, so the project's own documentation applies and tools pipe into each other.

Find the oldest archived copy of a page.
ot run waybackpy --url https://example.com --oldest
Ask the Wayback Machine to archive the page now.
ot run waybackpy --url https://example.com --save
List the URLs the archive holds for a site.
ot run waybackpy --url example.com --known_urls

Where the results go

ot run saves nothing itself: waybackpy's output goes to your terminal, a pipe, or wherever its own output option writes it. Results can hold personal data, so store and share them accordingly.

Before you run it

  • The last release is from 2022. It still works against the archive's public interfaces, which can be slow.
  • The Internet Archive rate limits saves.

Update, remove, inspect

ot info waybackpy              # details, and how it installs on this system
ot update waybackpy            # move to the version the registry pins
ot update waybackpy --latest   # take the newest upstream release instead
ot remove waybackpy            # remove it

Full reference: the otinstaller docs, waybackpy on otinstaller.com, and the tool's own project page.

Pairs with

gau (get all URLs) lists every URL of a domain that the Wayback Machine, Common Crawl, AlienVault OTX and urlscan have on record.
HTTrack copies a website to your disk, following its links and rewriting them so that the copy can be browsed offline.
gowitness opens web pages in headless Chrome and saves a screenshot of each, with the response headers and page title.

FAQ

waybackpy with otinstaller, answered

How do I install waybackpy on Windows, macOS, or Linux?

Install ot once with the one-line script on the otinstaller page, then run ot install waybackpy. Ot puts it in a Python environment of its own under ~/.ot/uv, apart from your system Python, at version 3.0.6. ot itself needs no administrator rights, and ot doctor checks that every installed tool starts.

How do I run waybackpy through ot?

With ot run waybackpy followed by waybackpy's own arguments, for example: ot run waybackpy --url https://example.com --oldest. ot passes everything after the tool's name straight through and exits with the tool's exit code, so the project's own documentation applies unchanged. Add ~/.ot/bin to your PATH to call the tool by its own name.

Is waybackpy part of ot scan?

No. ot scan takes a username, an email address, a domain, or a phone number and runs the tools the registry assigns to that kind of target. Run waybackpy on its own with ot run waybackpy.

Does waybackpy need an API key or a login?

ot stores no key for it. The basic run needs neither a key nor a login.

Does waybackpy send traffic to the target?

The registry lists waybackpy as passive: it does not probe the target's own systems. Options that do contact the target, where the tool has them, are named under "Before you run it".