0+git.5407681507.9 MB
MIT
strict
core20
Wayback Machine API command-line interface
Waybackpy is a CLI tool that interfaces with the Internet Archive's Wayback Machine APIs.
Wayback Machine has three client-side public APIs; Save API( aka SavePageNow), Availability API, and the CDX API.
These three APIs can be accessed via the waybackpy from the terminal.
Repository: https://github.com/akamhy/waybackpy
Demo video on asciinema.org, you can copy the commands from the video: https://asciinema.org/a/469890
Usage
_Saving a webpage:
_Retrieving the oldest archive and also printing the JSON response of the availability API:
_Archive close to a time, minute level precision is supported:
Documentation is at https://github.com/akamhy/waybackpy/wiki/CLI-docs
Wayback Machine has three client-side public APIs; Save API( aka SavePageNow), Availability API, and the CDX API.
These three APIs can be accessed via the waybackpy from the terminal.
Repository: https://github.com/akamhy/waybackpy
Demo video on asciinema.org, you can copy the commands from the video: https://asciinema.org/a/469890
Usage
_Saving a webpage:
waybackpy --save --url "https://en.wikipedia.org/wiki/Socialmedia" --useragent "my-unique-user-agent"Archive URL:
https://web.archive.org/web/20220121193801/https://en.wikipedia.org/wiki/Socialmedia
Cached save:
False_Retrieving the oldest archive and also printing the JSON response of the availability API:
waybackpy --oldest --url "https://en.wikipedia.org/wiki/Humanoid" --useragent "my-unique-user-agent"Archive URL:
https://web.archive.org/web/20040415020811/http://en.wikipedia.org:80/wiki/Humanoid_Archive close to a time, minute level precision is supported:
waybackpy --url google.com --useragent "my-unique-user-agent" --near --year 2008 --month 8 --day 8Archive URL:
https://web.archive.org/web/20080808014003/http://www.google.com:80/Documentation is at https://github.com/akamhy/waybackpy/wiki/CLI-docs
Update History
0+git.5407681 (50)13 Dec 2025, 09:47 UTC
25 Jan 2022, 15:22 UTC
15 Mar 2022, 15:06 UTC
13 Dec 2025, 09:47 UTC



